Class AgreementProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.EntityProperties
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 TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the status of the agreement.inthashCode()Return hash code based on properties.voidsetUserDefinedStatus(String userDefinedStatus) Set up the status of the agreement.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getCategory, getDescription, getDisplayName, getIdentifier, getQualifiedName, getURL, getVersionIdentifier, setAdditionalProperties, setCategory, setDescription, setDisplayName, setIdentifier, setQualifiedName, setURL, setVersionIdentifierMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getExtendedProperties, getTypeName, setExtendedProperties, setTypeNameMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.EntityProperties
getEffectiveFrom, getEffectiveTo, setEffectiveFrom, setEffectiveTo
-
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
-
toString
Standard toString method.- Overrides:
toStringin 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:
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
-