Class GovernanceRoleHistory
java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceRoleElement
org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceRoleAppointee
org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceRoleHistory
- All Implemented Interfaces:
Serializable
,MetadataElement
GovernanceRoleHistory is the bean used to return a governance officer role definition and its appointees over time.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorGovernanceRoleHistory
(GovernanceRoleElement template) Copy/clone constructorGovernanceRoleHistory
(GovernanceRoleHistory template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the list of predecessors to this appointment.Return the list of successors lined up to take over this appointment.int
hashCode()
Return hash code for this objectvoid
setPredecessors
(List<GovernanceAppointee> predecessors) Set up the list of predecessors to this appointment.void
setSuccessors
(List<GovernanceAppointee> successors) Set up the list of successors lined up to take over this appointment.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceRoleAppointee
getCurrentAppointees, setCurrentAppointees
Methods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceRoleElement
getElementHeader, getRole, setElementHeader, setRole
-
Constructor Details
-
GovernanceRoleHistory
public GovernanceRoleHistory()Default constructor -
GovernanceRoleHistory
Copy/clone constructor- Parameters:
template
- object to copy
-
GovernanceRoleHistory
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getPredecessors
Return the list of predecessors to this appointment.- Returns:
- list of individuals who used to have this role
-
setPredecessors
Set up the list of predecessors to this appointment.- Parameters:
predecessors
- list of individuals who used to have this role
-
getSuccessors
Return the list of successors lined up to take over this appointment.- Returns:
- list of individuals who will have this role in the future
-
setSuccessors
Set up the list of successors lined up to take over this appointment.- Parameters:
successors
- list of individuals who will have this role in the future
-
toString
JSON-style toString- Overrides:
toString
in classGovernanceRoleAppointee
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classGovernanceRoleAppointee
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classGovernanceRoleAppointee
- Returns:
- int hash code
-