Class ControlledGlossaryTermRequestBody
java.lang.Object
org.odpi.openmetadata.viewservices.glossarymanager.rest.ControlledGlossaryTermRequestBody
ControlledGlossaryTermRequestBody describes the request body used to create/update controlled glossary term properties.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the date/time to use for the query.Return the properties for the element.Return the initial status for the controlled glossary term.Return the string that describes details of the update.int
hashCode()
Return hash code for this objectvoid
setEffectiveTime
(Date effectiveTime) Set up the date/time to use for the query.void
setElementProperties
(GlossaryTermProperties elementProperties) Set up the properties for the element.void
setInitialStatus
(GlossaryTermStatus initialStatus) Set up the initial status for the controlled glossary term.void
setUpdateDescription
(String updateDescription) Set up the string that describes details of the update.toString()
JSON-style toString
-
Constructor Details
-
ControlledGlossaryTermRequestBody
public ControlledGlossaryTermRequestBody()Default constructor -
ControlledGlossaryTermRequestBody
Copy/clone constructor.- Parameters:
template
- object to copy
-
-
Method Details
-
getElementProperties
Return the properties for the element.- Returns:
- properties object
-
setElementProperties
Set up the properties for the element.- Parameters:
elementProperties
- properties object
-
getInitialStatus
Return the initial status for the controlled glossary term. By default, it is "DRAFT".- Returns:
- glossary term status enum
-
setInitialStatus
Set up the initial status for the controlled glossary term. By default, it is "DRAFT".- Parameters:
initialStatus
- glossary term status enum
-
getEffectiveTime
Return the date/time to use for the query.- Returns:
- date object
-
setEffectiveTime
Set up the date/time to use for the query.- Parameters:
effectiveTime
- date object
-
getUpdateDescription
Return the string that describes details of the update.- Returns:
- description
-
setUpdateDescription
Set up the string that describes details of the update.- Parameters:
updateDescription
- description
-
toString
JSON-style toString -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-