public abstract class Department extends Object implements Serializable
Service d'appartenance d'une personne.
Il peut s'agir des départements et service de l'Ifremer, ou bien des entreprises, services extérieurs (sous-traitants, etc.).
REMARQUE : nous en aurons besoin en v2, pour l'administration des personnes (rechercher une personne, gérer les sous-traitants, etc.), mais aussi pour identifier le service effectuant l’analyse d’un résultat de mesure.
Nombre de lignes : 60
| Modifier and Type | Class and Description |
|---|---|
static class |
Department.Factory
Constructs new instances of
Department. |
| Constructor and Description |
|---|
Department() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
This entity does not have any identifiers
and is not extending any other entity,
so this method will only return
true if the argument reference and this
refer to the same object. |
String |
getAddress() |
String |
getCode() |
Date |
getCreationDate() |
Collection<Department> |
getDepartments() |
String |
getEmail() |
Integer |
getId()
Identifiant interne.
|
Boolean |
getIsLdap() |
String |
getName() |
Department |
getParentDepartment() |
String |
getPhone() |
Collection<Program2Department> |
getProgram2Departments() |
Status |
getStatus() |
Timestamp |
getUpdateDate() |
int |
hashCode()
Returns a hash code based on this entity's identifiers.
|
void |
setAddress(String address) |
void |
setCode(String code) |
void |
setCreationDate(Date creationDate) |
void |
setDepartments(Collection<Department> departments) |
void |
setEmail(String email) |
void |
setId(Integer id) |
void |
setIsLdap(Boolean isLdap) |
void |
setName(String name) |
void |
setParentDepartment(Department parentDepartment) |
void |
setPhone(String phone) |
void |
setProgram2Departments(Collection<Program2Department> program2Departments) |
void |
setStatus(Status status) |
void |
setUpdateDate(Timestamp updateDate) |
public Integer getId()
Identifiant interne. généré par le système.
public void setId(Integer id)
public String getCode()
public void setCode(String code)
public String getName()
public void setName(String name)
public String getEmail()
public void setEmail(String email)
public String getAddress()
public void setAddress(String address)
public String getPhone()
public void setPhone(String phone)
public Boolean getIsLdap()
public void setIsLdap(Boolean isLdap)
public Date getCreationDate()
public void setCreationDate(Date creationDate)
public Timestamp getUpdateDate()
public void setUpdateDate(Timestamp updateDate)
public Status getStatus()
public void setStatus(Status status)
public Collection<Department> getDepartments()
public void setDepartments(Collection<Department> departments)
public Department getParentDepartment()
public void setParentDepartment(Department parentDepartment)
public Collection<Program2Department> getProgram2Departments()
public void setProgram2Departments(Collection<Program2Department> program2Departments)
public boolean equals(Object object)
true if the argument reference and this
refer to the same object.Copyright © 2013. All Rights Reserved.