java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.PersonRoleElement
org.odpi.openmetadata.frameworks.openmetadata.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

    • getAppointmentProperties

      public AppointmentProperties getAppointmentProperties()
      Return the properties of the appointment relationship.
      Returns:
      properties
    • setAppointmentProperties

      public void setAppointmentProperties(AppointmentProperties appointmentProperties)
      Set up the properties of the appointment relationship.
      Parameters:
      appointmentProperties - properties
    • getProfile

      public ActorProfileElement getProfile()
      Return the profile information for the individual.
      Returns:
      personal profile object
    • setProfile

      public void setProfile(ActorProfileElement profile)
      Set up the profile information for the individual.
      Parameters:
      profile - personal profile object
    • 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