public class PersonRoleProperties extends PersonalRoleProperties
| Constructor and Description |
|---|
PersonRoleProperties()
Default constructor
|
PersonRoleProperties(PersonRoleProperties template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Return comparison result based on the content of the properties.
|
int |
getAppointmentCount()
Return the count of people currently appointed to the role.
|
int |
getHeadCount()
Return the head count limit (or zero if not set).
|
boolean |
getHeadCountLimitSet()
Return the indicator whether the head count limit is set for a person role.
|
int |
hashCode()
Return hash code for this object
|
void |
setAppointmentCount(int appointmentCount)
Set up the count of people currently appointed to the role.
|
void |
setHeadCount(int headCount)
Set up the head count limit (or zero if not set).
|
void |
setHeadCountLimitSet(boolean headCountLimitSet)
Set up the indicator whether the head count limit is set for a person role.
|
String |
toString()
JSON-style toString
|
getAdditionalProperties, getDescription, getDomainIdentifier, getExtendedProperties, getRoleId, getScope, getTitle, getTypeName, setAdditionalProperties, setDescription, setDomainIdentifier, setExtendedProperties, setRoleId, setScope, setTitle, setTypeNamepublic PersonRoleProperties()
public PersonRoleProperties(PersonRoleProperties template)
template - object to copypublic boolean getHeadCountLimitSet()
public void setHeadCountLimitSet(boolean headCountLimitSet)
headCountLimitSet - boolean flagpublic int getHeadCount()
public void setHeadCount(int headCount)
headCount - intpublic int getAppointmentCount()
public void setAppointmentCount(int appointmentCount)
appointmentCount - intpublic String toString()
toString in class PersonalRolePropertiespublic boolean equals(Object objectToCompare)
equals in class PersonalRolePropertiesobjectToCompare - test objectpublic int hashCode()
hashCode in class PersonalRolePropertiesCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.