Class ContextDefinitionClassificationRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody
org.odpi.openmetadata.accessservices.assetmanager.rest.ContextDefinitionClassificationRequestBody
- All Implemented Interfaces:
Serializable
ContextDefinitionClassificationRequestBody is used to classify a glossary term to say it described a context.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor for a primary key. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the context definition for this term.inthashCode()Return hash code based on properties.voidsetContextDefinition(GlossaryTermContextDefinition contextDefinition) Set up the contextDefinition for this term.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody
getEffectiveTime, getMetadataCorrelationProperties, setEffectiveTime, setMetadataCorrelationProperties
-
Constructor Details
-
ContextDefinitionClassificationRequestBody
public ContextDefinitionClassificationRequestBody()Default constructor -
ContextDefinitionClassificationRequestBody
public ContextDefinitionClassificationRequestBody(ContextDefinitionClassificationRequestBody template) Copy/clone constructor for a primary key.- Parameters:
template- template object to copy.
-
-
Method Details
-
getContextDefinition
Return the context definition for this term.- Returns:
- string description
-
setContextDefinition
Set up the contextDefinition for this term.- Parameters:
contextDefinition- string description
-
toString
Standard toString method.- Overrides:
toStringin classUpdateRequestBody- 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 classUpdateRequestBody- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classUpdateRequestBody- Returns:
- int
-