Class ControlledGlossaryTermRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.rest.ControlledGlossaryTermRequestBody
- All Implemented Interfaces:
Serializable
ControlledGlossaryTermRequestBody describes the request body used to create/update controlled glossary term properties.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the properties for the element.Return the initial status for the controlled glossary term.Return the properties used to correlate the external metadata element with the open metadata element.inthashCode()Return hash code for this objectvoidsetElementProperties(GlossaryTermProperties elementProperties) Set up the properties for the element.voidsetInitialStatus(GlossaryTermStatus initialStatus) Set up the initial status for the controlled glossary term.voidsetMetadataCorrelationProperties(MetadataCorrelationProperties metadataCorrelationProperties) Set up the properties used to correlate the external metadata element with the open metadata element.toString()JSON-style toString
-
Constructor Details
-
ControlledGlossaryTermRequestBody
public ControlledGlossaryTermRequestBody()Default constructor -
ControlledGlossaryTermRequestBody
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Details
-
getMetadataCorrelationProperties
Return the properties used to correlate the external metadata element with the open metadata element.- Returns:
- properties object
-
setMetadataCorrelationProperties
public void setMetadataCorrelationProperties(MetadataCorrelationProperties metadataCorrelationProperties) Set up the properties used to correlate the external metadata element with the open metadata element.- Parameters:
metadataCorrelationProperties- properties object
-
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
-
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
-