Class GlossaryTermStatusRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody
org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryTermStatusRequestBody
GlossaryTermStatusRequestBody describes the request body used to update a glossary term's status.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the status for the element.inthashCode()Return hash code for this objectvoidsetGlossaryTermStatus(GlossaryTermStatus glossaryTermStatus) Set up the status for the element.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody
getEffectiveTime, getMetadataCorrelationProperties, setEffectiveTime, setMetadataCorrelationProperties
-
Constructor Details
-
GlossaryTermStatusRequestBody
public GlossaryTermStatusRequestBody()Default constructor -
GlossaryTermStatusRequestBody
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Details
-
getGlossaryTermStatus
Return the status for the element.- Returns:
- enum object
-
setGlossaryTermStatus
Set up the status for the element.- Parameters:
glossaryTermStatus- enum object
-
toString
JSON-style toString- Overrides:
toStringin classUpdateRequestBody- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classUpdateRequestBody- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classUpdateRequestBody- Returns:
- int hash code
-