@Entity(name="COM_PERSON") public abstract class Person extends EntityJPA<Long>
| Modifier and Type | Field and Description |
|---|---|
static int |
EMAIL_MAX_LENGTH
Taille max d'une adresse mail.
|
static String |
ENTITY_NAME |
static int |
NOM_MAX_LENGTH
Taille max du nom d'une personne.
|
DEFAULT_STRING_LENGTH, ID| Constructor and Description |
|---|
Person()
Constructeur par defaut.
|
Person(String name,
String mail)
Constructeur d'une personne.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
.
|
String |
getEmail()
Getter de email.
|
Long |
getId()
Getter de l'ID technique.
|
String |
getNom() |
int |
hashCode()
.
|
void |
setEmail(String email)
Setter de l'email.
|
void |
setId(Long id)
Setter de l'ID technique.
|
void |
setNom(String nom)
Setter de nom.
|
public static final String ENTITY_NAME
public static final int NOM_MAX_LENGTH
public static final int EMAIL_MAX_LENGTH
public Long getId()
public void setId(Long id)
public String getEmail()
public void setEmail(String email)
email - adresse mail à setter.public String getNom()
public void setNom(String nom)
nom - nom de la personne.Copyright © 2012. All Rights Reserved.