Class PersonRoleAppointee
java.lang.Object
org.odpi.openmetadata.accessservices.digitalservice.metadataelements.PersonRoleElement
org.odpi.openmetadata.accessservices.digitalservice.metadataelements.PersonRoleAppointee
- All Implemented Interfaces:
Serializable,MetadataElement
- Direct Known Subclasses:
AgreementRoleAppointee,PersonRoleHistory
PersonRoleAppointee is the bean used to return a role and current appointee(s).
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorPersonRoleAppointee(PersonRoleAppointee template) Copy/clone constructorPersonRoleAppointee(PersonRoleElement template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return information about the person appointed to the governance role.inthashCode()Return hash code for this objectvoidsetCurrentAppointees(List<Appointee> currentAppointees) Set up the information about the person appointed to the governance role.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.digitalservice.metadataelements.PersonRoleElement
getElementHeader, getProperties, setElementHeader, setProperties
-
Constructor Details
-
PersonRoleAppointee
public PersonRoleAppointee()Default constructor -
PersonRoleAppointee
Copy/clone constructor- Parameters:
template- object to copy
-
PersonRoleAppointee
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getCurrentAppointees
Return information about the person appointed to the governance role.- Returns:
- list of GovernanceAppointee objects
-
setCurrentAppointees
Set up the information about the person appointed to the governance role.- Parameters:
currentAppointees- list of GovernanceAppointee objects
-
toString
JSON-style toString- Overrides:
toStringin classPersonRoleElement- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classPersonRoleElement- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classPersonRoleElement- Returns:
- int hash code
-