All Implemented Interfaces:
MetadataElement

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

    • AgreementRoleAppointee

      public AgreementRoleAppointee()
      Default constructor
    • AgreementRoleAppointee

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

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

    • getAgreementRoleProperties

      public AgreementRoleProperties getAgreementRoleProperties()
      Return the role information from the agreement.
      Returns:
      agreement role properties
    • setAgreementRoleProperties

      public void setAgreementRoleProperties(AgreementRoleProperties agreementRoleProperties)
      Set up the role information from the agreement.
      Parameters:
      agreementRoleProperties - agreement role properties
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class PersonRoleAppointee
      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 PersonRoleAppointee
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

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