Class PersonCategory
- java.lang.Object
-
- org.silverpeas.components.organizationchart.model.PersonCategory
-
- All Implemented Interfaces:
Comparable<PersonCategory>
public class PersonCategory extends Object implements Comparable<PersonCategory>
-
-
Constructor Summary
Constructors Constructor Description PersonCategory(String name)
PersonCategory(String name, String key, int order)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(PersonCategory otherCategory)
boolean
equals(Object obj)
String
getKey()
String
getName()
int
getOrder()
int
hashCode()
boolean
isOtherCategory()
boolean
isUnderOrganizationalUnitExists()
boolean
isUnderPersonnsExists()
void
setKey(String key)
void
setOrder(int order)
void
setUnderOrganizationalUnitExists(boolean underOrganizationalUnitExists)
void
setUnderPersonnsExists(boolean underPersonnsExists)
-
-
-
Method Detail
-
getOrder
public int getOrder()
- Returns:
- the order
-
setOrder
public void setOrder(int order)
- Parameters:
order
- the order to set
-
getName
public String getName()
-
setKey
public void setKey(String key)
-
getKey
public String getKey()
-
isOtherCategory
public boolean isOtherCategory()
-
setUnderOrganizationalUnitExists
public void setUnderOrganizationalUnitExists(boolean underOrganizationalUnitExists)
-
isUnderOrganizationalUnitExists
public boolean isUnderOrganizationalUnitExists()
-
setUnderPersonnsExists
public void setUnderPersonnsExists(boolean underPersonnsExists)
-
isUnderPersonnsExists
public boolean isUnderPersonnsExists()
-
compareTo
public int compareTo(PersonCategory otherCategory)
- Specified by:
compareTo
in interfaceComparable<PersonCategory>
-
-