Class AgreementProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.digitalbusiness.AgreementProperties
- Direct Known Subclasses:
DigitalSubscriptionProperties
AgreementProperties represents the properties of an agreement between two parties.
-
Constructor Summary
ConstructorDescriptionDefault constructorAgreementProperties
(AgreementProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare 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).int
hashCode()
Return hash code based on properties.void
setAgreementType
(String agreementType) Set up the identifier assigned to describe the type of agreement.void
setDescription
(String description) Set up the description for this asset.void
setDisplayName
(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.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getQualifiedName, getVendorProperties, setAdditionalProperties, setQualifiedName, setVendorProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, getTypeName, setEffectiveFrom, setEffectiveTo, setExtendedProperties, 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:
toString
in 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:
equals
in classReferenceableProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classReferenceableProperties
- Returns:
- int
-