java.lang.Object
org.odpi.openmetadata.accessservices.digitalservice.metadataelements.PersonRoleElement
org.odpi.openmetadata.accessservices.digitalservice.metadataelements.PersonRoleAppointee
All Implemented Interfaces:
MetadataElement
Direct Known Subclasses:
AgreementRoleAppointee, PersonRoleHistory

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

    • PersonRoleAppointee

      public PersonRoleAppointee()
      Default constructor
    • PersonRoleAppointee

      public PersonRoleAppointee(PersonRoleAppointee template)
      Copy/clone constructor
      Parameters:
      template - object to copy
    • PersonRoleAppointee

      public PersonRoleAppointee(PersonRoleElement template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getCurrentAppointees

      public List<Appointee> getCurrentAppointees()
      Return information about the person appointed to the governance role.
      Returns:
      list of GovernanceAppointee objects
    • setCurrentAppointees

      public void setCurrentAppointees(List<Appointee> 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 PersonRoleElement
      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 PersonRoleElement
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

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