All Implemented Interfaces:
Serializable

public class PersonRoleRequestBody extends ExternalSourceRequestBody
PersonRoleRequestBody provides the request body payload for working on PersonRole entities.
See Also:
  • Constructor Details

    • PersonRoleRequestBody

      public PersonRoleRequestBody()
      Default constructor
    • PersonRoleRequestBody

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

    • getProperties

      public PersonRoleProperties getProperties()
      Return the properties for this person role.
      Returns:
      properties bean
    • setProperties

      public void setProperties(PersonRoleProperties properties)
      Set up the properties for this person role.
      Parameters:
      properties - properties bean
    • toString

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

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