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