Direct Known Subclasses:
DigitalSubscriptionProperties

public class AgreementProperties extends ReferenceableProperties
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

    • getDisplayName

      public String getDisplayName()
      Return the display name for this asset (normally a shortened for of the qualified name).
      Returns:
      string name
    • setDisplayName

      public void setDisplayName(String displayName)
      Set up the display name for this asset (normally a shortened for of the qualified name).
      Parameters:
      displayName - string name
    • getDescription

      public String getDescription()
      Return the description for this asset.
      Returns:
      string description
    • setDescription

      public void setDescription(String description)
      Set up the description for this asset.
      Parameters:
      description - string
    • getAgreementType

      public String getAgreementType()
      Return the identifier assigned to describe the type of agreement.
      Returns:
      String
    • setAgreementType

      public void setAgreementType(String agreementType)
      Set up the identifier assigned to describe the type of agreement.
      Parameters:
      agreementType - String
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class ReferenceableProperties
      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 ReferenceableProperties
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

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