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.collections.CollectionProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.digitalbusiness.AgreementProperties
- Direct Known Subclasses:
DigitalSubscriptionProperties
AgreementProperties represents the properties of an agreement between two parties.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault 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 for this agreement used by the business.Return the status of the agreement.int
hashCode()
Return hash code based on properties.void
setIdentifier
(String identifier) Set up the identifier for this agreement used by the business.void
setUserDefinedStatus
(String userDefinedStatus) Set up the status of the agreement.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.collections.CollectionProperties
getCollectionType, getDescription, getName, setCollectionType, setDescription, setName
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
-
getUserDefinedStatus
Return the status of the agreement.- Returns:
- string
-
setUserDefinedStatus
Set up the status of the agreement.- Parameters:
userDefinedStatus
- string
-
getIdentifier
Return the identifier for this agreement used by the business.- Returns:
- string name
-
setIdentifier
Set up the identifier for this agreement used by the business.- Parameters:
identifier
- string name
-
toString
Standard toString method.- Overrides:
toString
in classCollectionProperties
- 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 classCollectionProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classCollectionProperties
- Returns:
- int
-