|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fr.cnes.sitools.inscription.model.Inscription
public class Inscription
Class for user registration cpassword is not mapped / not persistent. It is sent by the client. TODO à voir : faut-il ignorer toutes les properties inconnues pour eviter les exceptions de mapping json > java...
Constructor Summary | |
---|---|
Inscription()
Default constructor |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getComment()
Gets the comment value |
java.lang.String |
getDescription()
Resource description |
java.lang.String |
getEmail()
Gets the email value |
java.util.List<Event> |
getEvents()
Gets the events value |
java.lang.String |
getFirstName()
Gets the firstName value |
java.lang.String |
getId()
Gets the id value |
java.lang.String |
getIdentifier()
Gets the identifier value |
java.lang.String |
getLastName()
Gets the lastName value |
java.lang.String |
getName()
Resource name |
java.lang.String |
getPassword()
Gets the password value |
java.util.List<Property> |
getProperties()
Gets the properties value |
java.lang.String |
getStatus()
Gets the status value |
int |
hashCode()
|
static boolean |
isValid(Inscription inscription)
Check l'inscription TODO EVO : validator qui retourne une liste de codes d'anomalies. |
void |
setComment(java.lang.String comment)
Sets the value of comment |
void |
setEmail(java.lang.String email)
Sets the value of email |
void |
setEvents(java.util.List<Event> events)
Sets the value of events |
void |
setFirstName(java.lang.String firstName)
Sets the value of firstName |
void |
setId(java.lang.String id)
Sets the value of id |
void |
setIdentifier(java.lang.String identifier)
Sets the value of identifier |
void |
setLastName(java.lang.String lastName)
Sets the value of lastName |
void |
setPassword(java.lang.String password)
Sets the value of password |
void |
setProperties(java.util.List<Property> properties)
Sets the value of properties |
void |
setStatus(java.lang.String status)
Sets the value of status |
User |
wrapToUser()
wrapper to Sitools.model.User |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Inscription()
Method Detail |
---|
public final java.lang.String getIdentifier()
public final void setIdentifier(java.lang.String identifier)
identifier
- the identifier to setpublic final java.lang.String getId()
getId
in interface IResource
public final void setId(java.lang.String id)
setId
in interface IResource
id
- the id to setpublic final java.lang.String getFirstName()
public final void setFirstName(java.lang.String firstName)
firstName
- the firstName to setpublic final java.lang.String getLastName()
public final void setLastName(java.lang.String lastName)
lastName
- the lastName to setpublic final java.lang.String getPassword()
public final void setPassword(java.lang.String password)
password
- the password to setpublic final java.lang.String getComment()
public final void setComment(java.lang.String comment)
comment
- the comment to setpublic final java.lang.String getEmail()
public final void setEmail(java.lang.String email)
email
- the email to setpublic final java.util.List<Property> getProperties()
public final void setProperties(java.util.List<Property> properties)
properties
- the properties to setpublic final java.util.List<Event> getEvents()
public final void setEvents(java.util.List<Event> events)
events
- the events to setpublic final java.lang.String getStatus()
public final void setStatus(java.lang.String status)
status
- the status to setpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public User wrapToUser()
public static final boolean isValid(Inscription inscription)
inscription
- object to check
public final java.lang.String getName()
IResource
getName
in interface IResource
public final java.lang.String getDescription()
IResource
getDescription
in interface IResource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |