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
AgreementProperties represents the properties of an agreement between two parties.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorAgreementProperties(AgreementProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the identifier assigned to describe the type of agreement.Return the description for this asset.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).toString()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 Details
-
AgreementProperties
public AgreementProperties()Default constructor -
AgreementProperties
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getDisplayName
Return the display name for this asset (normally a shortened for of the qualified name).- Returns:
- string name
-
setDisplayName
Set up the display name for this asset (normally a shortened for of the qualified name).- Parameters:
displayName- string name
-
getDescription
Return the description for this asset.- Returns:
- string description
-
setDescription
Set up the description for this asset.- Parameters:
description- string
-
getAgreementType
Return the identifier assigned to describe the type of agreement.- Returns:
- String
-
setAgreementType
Set up the identifier assigned to describe the type of agreement.- Parameters:
agreementType- String
-
toString
Standard toString method.- Overrides:
toStringin classReferenceableProperties- Returns:
- print out of variables in a JSON-style
-
equals
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
-