Class PersonRoleAppointee
java.lang.Object
org.odpi.openmetadata.accessservices.digitalservice.metadataelements.PersonRoleElement
org.odpi.openmetadata.accessservices.digitalservice.metadataelements.PersonRoleAppointee
- All Implemented Interfaces:
MetadataElement
- Direct Known Subclasses:
AgreementRoleAppointee
,PersonRoleHistory
PersonRoleAppointee is the bean used to return a role and current appointee(s).
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorPersonRoleAppointee
(PersonRoleAppointee template) Copy/clone constructorPersonRoleAppointee
(PersonRoleElement template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return information about the person appointed to the governance role.int
hashCode()
Return hash code for this objectvoid
setCurrentAppointees
(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:
toString
in classPersonRoleElement
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classPersonRoleElement
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classPersonRoleElement
- Returns:
- int hash code
-