Class AppointmentRequestBody

java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceProgramOMASAPIRequestBody
org.odpi.openmetadata.accessservices.governanceprogram.rest.AppointmentRequestBody
All Implemented Interfaces:
Serializable

public class AppointmentRequestBody extends GovernanceProgramOMASAPIRequestBody
AppointmentRequestBody provides a structure for appointing a person to a role.
See Also:
  • Constructor Details

    • AppointmentRequestBody

      public AppointmentRequestBody()
      Default constructor
    • AppointmentRequestBody

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

    • getProfileGUID

      public String getProfileGUID()
      Return the unique employee number for this governance officer.
      Returns:
      String identifier
    • setProfileGUID

      public void setProfileGUID(String guid)
      Set up the unique employee number for this governance officer.
      Parameters:
      guid - String identifier
    • getEffectiveDate

      public Date getEffectiveDate()
      Return the date that this action is effective.
      Returns:
      date
    • setEffectiveDate

      public void setEffectiveDate(Date effectiveDate)
      Set up the date that this action is effective.
      Parameters:
      effectiveDate - date
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class GovernanceProgramOMASAPIRequestBody
      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()
      Return hash code for this object
      Overrides:
      hashCode in class Object
      Returns:
      int hash code