public class PersonRole extends PersonalRole
| Constructor and Description |
|---|
PersonRole()
Default constructor
|
PersonRole(PersonRole 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).
|
int |
hashCode()
Return hash code for this object
|
boolean |
isHeadCountLimitSet()
Return the indicator whether the head count limit is set for a person role.
|
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, getExtendedProperties, getScope, setAdditionalProperties, setExtendedProperties, setScopegetClassifications, getDescription, getName, getQualifiedName, setClassifications, setDescription, setName, setQualifiedNamegetGUID, setGUIDgetOriginId, getOriginLicense, getOriginName, getOriginType, getTypeDescription, getTypeName, setOriginId, setOriginLicense, setOriginName, setOriginType, setTypeDescription, setTypeNamepublic PersonRole()
public PersonRole(PersonRole template)
template - object to copypublic boolean isHeadCountLimitSet()
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 PersonalRolepublic boolean equals(Object objectToCompare)
equals in class PersonalRoleobjectToCompare - test objectpublic int hashCode()
hashCode in class PersonalRoleCopyright © 2018–2020 ODPi. All rights reserved.