public abstract class Program2Department extends Object implements Serializable, Comparable<Program2Department>
Modifier and Type | Class and Description |
---|---|
static class |
Program2Department.Factory
Constructs new instances of
Program2Department . |
Constructor and Description |
---|
Program2Department() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Program2Department o) |
boolean |
equals(Object object)
Returns
true if the argument is an Program2Department instance and all identifiers for this entity
equal the identifiers of the argument entity. |
Department |
getDepartment()
Identifiant interne d''un service
|
Integer |
getId() |
Location |
getLocation()
Lieu sur lequel le département a les droits
|
Program |
getProgram()
Code unique du programme
|
ProgramPrivilege |
getProgramPrivilege()
Identifiant du privilège (droit) sur les programmes
|
int |
hashCode()
Returns a hash code based on this entity's identifiers.
|
void |
setDepartment(Department departmentIn)
Identifiant interne d''un service
|
void |
setId(Integer idIn) |
void |
setLocation(Location locationIn)
Lieu sur lequel le département a les droits
|
void |
setProgram(Program programIn)
Code unique du programme
|
void |
setProgramPrivilege(ProgramPrivilege programPrivilegeIn)
Identifiant du privilège (droit) sur les programmes
|
public Program2Department()
public ProgramPrivilege getProgramPrivilege()
public void setProgramPrivilege(ProgramPrivilege programPrivilegeIn)
programPrivilegeIn
- ProgramPrivilegepublic Department getDepartment()
public void setDepartment(Department departmentIn)
departmentIn
- Departmentpublic Location getLocation()
public void setLocation(Location locationIn)
locationIn
- Locationpublic Program getProgram()
public void setProgram(Program programIn)
programIn
- Programpublic boolean equals(Object object)
true
if the argument is an Program2Department instance and all identifiers for this entity
equal the identifiers of the argument entity. Returns false
otherwise.public int hashCode()
public int compareTo(Program2Department o)
compareTo
in interface Comparable<Program2Department>
Comparable.compareTo(T)
Copyright © 2012–2014 IFREMER. All rights reserved.