Class AgreementProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.digitalservice.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.digitalservice.properties.AgreementProperties
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DigitalSubscriptionProperties
public class AgreementProperties extends ReferenceableProperties
AgreementProperties represents the properties of an agreement between two parties.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AgreementProperties()Default constructorAgreementProperties(AgreementProperties template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetAgreementType()Return the identifier assigned to describe the type of agreement.StringgetDescription()Return the description for this asset.StringgetDisplayName()Return the display name for this asset (normally a shortened for of the qualified name).inthashCode()Return hash code based on properties.voidsetAgreementType(String agreementType)Set up the identifier assigned to describe the type of agreement.voidsetDescription(String description)Set up the description for this asset.voidsetDisplayName(String displayName)Set up the display name for this asset (normally a shortened for of the qualified name).StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.accessservices.digitalservice.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName
-
-
-
-
Constructor Detail
-
AgreementProperties
public AgreementProperties()
Default constructor
-
AgreementProperties
public AgreementProperties(AgreementProperties template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
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:
toStringin classReferenceableProperties- 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:
equalsin classReferenceableProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return hash code based on properties.- Overrides:
hashCodein classReferenceableProperties- Returns:
- int
-
-