java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ActorRoleElement
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ActorRoleAppointee
All Implemented Interfaces:
MetadataElement
Direct Known Subclasses:
ActorRoleHistory, AgreementRoleAppointee

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

    • ActorRoleAppointee

      public ActorRoleAppointee()
      Default constructor
    • ActorRoleAppointee

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

      public ActorRoleAppointee(ActorRoleElement 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 ActorRoleElement
      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 ActorRoleElement
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

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