java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceRoleElement
org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.GovernanceRoleAppointee
All Implemented Interfaces:
MetadataElement
Direct Known Subclasses:
GovernanceRoleHistory

public class GovernanceRoleAppointee extends GovernanceRoleElement
GovernanceRoleAppointee is the bean used to return a governance role and current appointee(s).
  • Constructor Details

    • 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 Details

    • 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:
      toString in class GovernanceRoleElement
      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:
      equals in class GovernanceRoleElement
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class GovernanceRoleElement
      Returns:
      int hash code