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
public class GovernanceRoleAppointee extends GovernanceRoleElement
GovernanceRoleAppointee is the bean used to return a governance role and current appointee(s).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GovernanceRoleAppointee()Default constructorGovernanceRoleAppointee(GovernanceRoleAppointee template)Copy/clone constructorGovernanceRoleAppointee(GovernanceRoleElement 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<GovernanceAppointee>getCurrentAppointees()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.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceRoleElement
getElementHeader, getRole, setElementHeader, setRole
-
-
-
-
Constructor Detail
-
GovernanceRoleAppointee
public GovernanceRoleAppointee()
Default constructor
-
GovernanceRoleAppointee
public GovernanceRoleAppointee(GovernanceRoleAppointee template)
Copy/clone constructor- Parameters:
template- object to copy
-
GovernanceRoleAppointee
public GovernanceRoleAppointee(GovernanceRoleElement template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getCurrentAppointees
public List<GovernanceAppointee> getCurrentAppointees()
Return information about the person appointed to the governance role.- Returns:
- list of GovernanceAppointee objects
-
setCurrentAppointees
public void setCurrentAppointees(List<GovernanceAppointee> 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 classGovernanceRoleElement- 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 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
-
-