public abstract class Department extends Object implements Serializable, Comparable<Department>
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 |
addDepartments(Department elementToAdd)
Service d'appartenance d'une personne.
|
boolean |
addProgram2Departments(Program2Department elementToAdd)
Liste des droits d''un service pour un programme particulier
|
int |
compareTo(Department o) |
boolean |
equals(Object object)
Returns
true if the argument is an Department instance and all identifiers for this entity
equal the identifiers of the argument entity. |
String |
getAddress() |
String |
getCode() |
Date |
getCreationDate() |
Collection<Department> |
getDepartments()
Service d'appartenance d'une personne.
|
String |
getEmail() |
Integer |
getId()
Identifiant interne. généré par le système.
|
String |
getName() |
Department |
getParentDepartment()
Service d'appartenance d'une personne.
|
String |
getPhone() |
Collection<Program2Department> |
getProgram2Departments()
Liste des droits d''un service pour un programme particulier
|
Status |
getStatus()
Pour les données du référentiel, information permettant de déterminer si une donnée est
valide,
obsolète ou temporaire
|
Timestamp |
getUpdateDate() |
int |
hashCode()
Returns a hash code based on this entity's identifiers.
|
Boolean |
isIsLdap() |
boolean |
removeDepartments(Department elementToRemove)
Service d'appartenance d'une personne.
|
boolean |
removeProgram2Departments(Program2Department elementToRemove)
Liste des droits d''un service pour un programme particulier
|
void |
setAddress(String addressIn) |
void |
setCode(String codeIn) |
void |
setCreationDate(Date creationDateIn) |
void |
setDepartments(Collection<Department> departmentsIn)
Service d'appartenance d'une personne.
|
void |
setEmail(String emailIn) |
void |
setId(Integer idIn)
Identifiant interne. généré par le système.
|
void |
setIsLdap(Boolean isLdapIn) |
void |
setName(String nameIn) |
void |
setParentDepartment(Department parentDepartmentIn)
Service d'appartenance d'une personne.
|
void |
setPhone(String phoneIn) |
void |
setProgram2Departments(Collection<Program2Department> program2DepartmentsIn)
Liste des droits d''un service pour un programme particulier
|
void |
setStatus(Status statusIn)
Pour les données du référentiel, information permettant de déterminer si une donnée est
valide,
obsolète ou temporaire
|
void |
setUpdateDate(Timestamp updateDateIn) |
public Department()
public void setId(Integer idIn)
idIn
- Integerpublic String getAddress()
public void setAddress(String addressIn)
addressIn
- Stringpublic Date getCreationDate()
public void setCreationDate(Date creationDateIn)
creationDateIn
- Datepublic Timestamp getUpdateDate()
public void setUpdateDate(Timestamp updateDateIn)
updateDateIn
- Timestamppublic Department getParentDepartment()
public void setParentDepartment(Department parentDepartmentIn)
parentDepartmentIn
- Departmentpublic Collection<Program2Department> getProgram2Departments()
public void setProgram2Departments(Collection<Program2Department> program2DepartmentsIn)
program2DepartmentsIn
- Collectionpublic boolean addProgram2Departments(Program2Department elementToAdd)
elementToAdd
- Program2Departmentpublic boolean removeProgram2Departments(Program2Department elementToRemove)
elementToRemove
- Program2Departmentpublic Collection<Department> getDepartments()
public void setDepartments(Collection<Department> departmentsIn)
departmentsIn
- Collectionpublic boolean addDepartments(Department elementToAdd)
elementToAdd
- Departmentpublic boolean removeDepartments(Department elementToRemove)
elementToRemove
- Departmentpublic Status getStatus()
public void setStatus(Status statusIn)
statusIn
- Statuspublic boolean equals(Object object)
true
if the argument is an Department instance and all identifiers for this entity
equal the identifiers of the argument entity. Returns false
otherwise.public int hashCode()
public int compareTo(Department o)
compareTo
in interface Comparable<Department>
Comparable.compareTo(T)
Copyright © 2012–2014 IFREMER. All rights reserved.