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