java.lang.Object
org.odpi.openmetadata.accessservices.digitalservice.metadataelements.Appointee
All Implemented Interfaces:
Serializable, MetadataElement

public class Appointee extends Object implements Serializable, MetadataElement
GovernanceAppointee describes an individual's appointment as a governance officer or to a specific governance role. It includes their personal details along with the start and end date of their appointment. The elementHeader is from the PersonRoleAppointment relationship.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
    Appointee(Appointee template)
    Copy/clone constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Equals method that returns true if containing properties are the same.
    org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
    Return the element header associated with the properties.
    Return the end date of the appointment.
    Return the profile information for the individual.
    Return the start date of the appointment.
    int
    Hash code for this object
    void
    setElementHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader elementHeader)
    Set up the element header associated with the properties.
    void
    setEndDate(Date endDate)
    Set up the start date of the appointment.
    void
    Set up the profile information for the individual.
    void
    setStartDate(Date startDate)
    Set the start date of the appointment.
    JSON-style toString.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Appointee

      public Appointee()
      Default constructor
    • Appointee

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

    • getElementHeader

      public org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader getElementHeader()
      Return the element header associated with the properties.
      Specified by:
      getElementHeader in interface MetadataElement
      Returns:
      element header object
    • setElementHeader

      public void setElementHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader elementHeader)
      Set up the element header associated with the properties.
      Specified by:
      setElementHeader in interface MetadataElement
      Parameters:
      elementHeader - element header object
    • getProfile

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

      public void setProfile(ProfileElement profile)
      Set up the profile information for the individual.
      Parameters:
      profile - personal profile object
    • getStartDate

      public Date getStartDate()
      Return the start date of the appointment.
      Returns:
      date
    • setStartDate

      public void setStartDate(Date startDate)
      Set the start date of the appointment.
      Parameters:
      startDate - date
    • getEndDate

      public Date getEndDate()
      Return the end date of the appointment.
      Returns:
      end date - null means open-ended appointment
    • setEndDate

      public void setEndDate(Date endDate)
      Set up the start date of the appointment.
      Parameters:
      endDate - date - null means open-ended appointment
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class Object
      Returns:
      list of properties and their values.
    • equals

      public boolean equals(Object objectToCompare)
      Equals method that returns true if containing properties are the same.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - object to compare
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Hash code for this object
      Overrides:
      hashCode in class Object
      Returns:
      int