|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.uoc.tfc.dbmodel.security.User
public abstract class User
Classe que representa un usuari al model de base de dades
Nested Class Summary | |
---|---|
static class |
User.Factory
Constructs new instances of User . |
Constructor Summary | |
---|---|
User()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if the argument is an User instance and all identifiers for this entity
equal the identifiers of the argument entity. |
java.lang.Boolean |
getActive()
Indicador per representar si l'usuari es troba actiu/inactiu |
java.lang.String |
getAdress()
Adreça de correu electrònic |
java.lang.Long |
getId()
|
java.lang.String |
getNom()
Nom de l'usuari |
java.lang.String |
getPassword()
Paraula de pas de l'usuari |
java.lang.String |
getPrimerCognom()
Primer cognom de l'usuari |
Role |
getRol()
|
java.lang.String |
getSegonCognom()
Segon cognom de l'usuari |
java.lang.String |
getUserId()
Identificador de l'usuari |
int |
hashCode()
Returns a hash code based on this entity's identifiers. |
void |
setActive(java.lang.Boolean active)
|
void |
setAdress(java.lang.String adress)
|
void |
setId(java.lang.Long id)
|
void |
setNom(java.lang.String nom)
|
void |
setPassword(java.lang.String password)
|
void |
setPrimerCognom(java.lang.String primerCognom)
|
void |
setRol(Role rol)
|
void |
setSegonCognom(java.lang.String segonCognom)
|
void |
setUserId(java.lang.String userId)
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public User()
Method Detail |
---|
public java.lang.String getUserId()
Identificador de l'usuari
public void setUserId(java.lang.String userId)
public java.lang.String getPassword()
Paraula de pas de l'usuari
public void setPassword(java.lang.String password)
public java.lang.String getAdress()
Adreça de correu electrònic
public void setAdress(java.lang.String adress)
public java.lang.Boolean getActive()
Indicador per representar si l'usuari es troba actiu/inactiu
public void setActive(java.lang.Boolean active)
public java.lang.String getNom()
Nom de l'usuari
public void setNom(java.lang.String nom)
public java.lang.String getPrimerCognom()
Primer cognom de l'usuari
public void setPrimerCognom(java.lang.String primerCognom)
public java.lang.String getSegonCognom()
Segon cognom de l'usuari
public void setSegonCognom(java.lang.String segonCognom)
public java.lang.Long getId()
public void setId(java.lang.Long id)
public Role getRol()
public void setRol(Role rol)
public boolean equals(java.lang.Object object)
true
if the argument is an User instance and all identifiers for this entity
equal the identifiers of the argument entity. Returns false
otherwise.
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |