Direct Known Subclasses:
DigitalSubscriptionProperties

public class AgreementProperties extends CollectionProperties
AgreementProperties represents the properties of an agreement between two parties.
  • Constructor Details

    • AgreementProperties

      public AgreementProperties()
      Default constructor
    • AgreementProperties

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

    • getUserDefinedStatus

      public String getUserDefinedStatus()
      Return the status of the agreement.
      Returns:
      string
    • setUserDefinedStatus

      public void setUserDefinedStatus(String userDefinedStatus)
      Set up the status of the agreement.
      Parameters:
      userDefinedStatus - string
    • getIdentifier

      public String getIdentifier()
      Return the identifier for this agreement used by the business.
      Returns:
      string name
    • setIdentifier

      public void setIdentifier(String identifier)
      Set up the identifier for this agreement used by the business.
      Parameters:
      identifier - string name
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class CollectionProperties
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class CollectionProperties
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class CollectionProperties
      Returns:
      int