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 intcompareTo(PersonCategory otherCategory)booleanequals(Object obj)StringgetKey()StringgetName()intgetOrder()inthashCode()booleanisOtherCategory()booleanisUnderOrganizationalUnitExists()booleanisUnderPersonnsExists()voidsetKey(String key)voidsetOrder(int order)voidsetUnderOrganizationalUnitExists(boolean underOrganizationalUnitExists)voidsetUnderPersonnsExists(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:
compareToin interfaceComparable<PersonCategory>
-
-