Class GlossaryTemplateRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody
org.odpi.openmetadata.accessservices.assetmanager.rest.TemplateRequestBody
org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryTemplateRequestBody
GlossaryTemplateRequestBody describes the request body used to create a new glossary term from a template.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the status for the element.int
hashCode()
Return hash code for this objectvoid
setGlossaryTermStatus
(GlossaryTermStatus glossaryTermStatus) Set up the status for the element.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.assetmanager.rest.TemplateRequestBody
getElementProperties, getParentGUID, setElementProperties, setParentGUID
Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody
getEffectiveTime, getMetadataCorrelationProperties, setEffectiveTime, setMetadataCorrelationProperties
-
Constructor Details
-
GlossaryTemplateRequestBody
public GlossaryTemplateRequestBody()Default constructor -
GlossaryTemplateRequestBody
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:
toString
in classTemplateRequestBody
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classTemplateRequestBody
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classTemplateRequestBody
- Returns:
- int hash code
-