Class GovernanceRoleAppointee
java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceRoleElement
org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceRoleAppointee
- All Implemented Interfaces:
Serializable
,MetadataElement
- Direct Known Subclasses:
GovernanceRoleHistory
GovernanceRoleAppointee is the bean used to return a governance role and current appointee(s).
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructorGovernanceRoleAppointee
(GovernanceRoleElement 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<GovernanceAppointee> currentAppointees) Set up the information about the person appointed to the governance role.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceRoleElement
getElementHeader, getRole, setElementHeader, setRole
-
Constructor Details
-
GovernanceRoleAppointee
public GovernanceRoleAppointee()Default constructor -
GovernanceRoleAppointee
Copy/clone constructor- Parameters:
template
- object to copy
-
GovernanceRoleAppointee
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 classGovernanceRoleElement
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classGovernanceRoleElement
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classGovernanceRoleElement
- Returns:
- int hash code
-