Class Usuario
java.lang.Object
poo.javaevents.model.Usuario
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Administrador,Cliente
- Author:
- Pablo García Hernández * Clase abstracta que contiene los atributos comúnes de todos los Usuarios de la App
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetClave()Get the value of claveGet the value of correoGet the value of nombrebooleaniniciarSesion(String clave) Método con el que un usuario inicia sesiónvoidSet the value of clavevoidSet the value of correovoidSet the value of nombre
-
Constructor Details
-
Usuario
-
-
Method Details
-
iniciarSesion
Método con el que un usuario inicia sesión- Parameters:
clave-- Returns:
- booleano que indica si la sesión está iniciada
-
getClave
-
setClave
-
getCorreo
-
setCorreo
Set the value of correo- Parameters:
correo- new value of correo
-
getNombre
-
setNombre
Set the value of nombre- Parameters:
nombre- new value of nombre
-