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
public class PersonRoleAppointee extends PersonRoleElement
PersonRoleAppointee is the bean used to return a role and current appointee(s).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PersonRoleAppointee()Default constructorPersonRoleAppointee(PersonRoleAppointee template)Copy/clone constructorPersonRoleAppointee(PersonRoleElement template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.List<Appointee>getCurrentAppointees()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.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.digitalservice.metadataelements.PersonRoleElement
getElementHeader, getProperties, setElementHeader, setProperties
-
-
-
-
Constructor Detail
-
PersonRoleAppointee
public PersonRoleAppointee()
Default constructor
-
PersonRoleAppointee
public PersonRoleAppointee(PersonRoleAppointee template)
Copy/clone constructor- Parameters:
template- object to copy
-
PersonRoleAppointee
public PersonRoleAppointee(PersonRoleElement template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getCurrentAppointees
public List<Appointee> getCurrentAppointees()
Return information about the person appointed to the governance role.- Returns:
- list of GovernanceAppointee objects
-
setCurrentAppointees
public void setCurrentAppointees(List<Appointee> currentAppointees)
Set up the information about the person appointed to the governance role.- Parameters:
currentAppointees- list of GovernanceAppointee objects
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classPersonRoleElement- Returns:
- return string containing the property names and values
-
equals
public boolean equals(Object objectToCompare)
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
-
-