Class ControlledGlossaryTermRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.rest.ControlledGlossaryTermRequestBody
ControlledGlossaryTermRequestBody describes the request body used to create/update controlled glossary term properties.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the date/time to use for the query.org.odpi.openmetadata.frameworks.openmetadata.properties.glossaries.GlossaryTermPropertiesReturn the properties for the element.org.odpi.openmetadata.frameworks.openmetadata.enums.GlossaryTermStatusReturn the initial status for the controlled glossary term.org.odpi.openmetadata.frameworks.governanceaction.properties.MetadataCorrelationPropertiesReturn the properties used to correlate the external metadata element with the open metadata element.Return the string that describes details of the update.inthashCode()Return hash code for this objectvoidsetEffectiveTime(Date effectiveTime) Set up the date/time to use for the query.voidsetElementProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.glossaries.GlossaryTermProperties elementProperties) Set up the properties for the element.voidsetInitialStatus(org.odpi.openmetadata.frameworks.openmetadata.enums.GlossaryTermStatus initialStatus) Set up the initial status for the controlled glossary term.voidsetMetadataCorrelationProperties(org.odpi.openmetadata.frameworks.governanceaction.properties.MetadataCorrelationProperties metadataCorrelationProperties) Set up the properties used to correlate the external metadata element with the open metadata element.voidsetUpdateDescription(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
-
getMetadataCorrelationProperties
public org.odpi.openmetadata.frameworks.governanceaction.properties.MetadataCorrelationProperties getMetadataCorrelationProperties()Return the properties used to correlate the external metadata element with the open metadata element.- Returns:
- properties object
-
setMetadataCorrelationProperties
public void setMetadataCorrelationProperties(org.odpi.openmetadata.frameworks.governanceaction.properties.MetadataCorrelationProperties metadataCorrelationProperties) Set up the properties used to correlate the external metadata element with the open metadata element.- Parameters:
metadataCorrelationProperties- properties object
-
getElementProperties
public org.odpi.openmetadata.frameworks.openmetadata.properties.glossaries.GlossaryTermProperties getElementProperties()Return the properties for the element.- Returns:
- properties object
-
setElementProperties
public void setElementProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.glossaries.GlossaryTermProperties elementProperties) Set up the properties for the element.- Parameters:
elementProperties- properties object
-
getInitialStatus
public org.odpi.openmetadata.frameworks.openmetadata.enums.GlossaryTermStatus getInitialStatus()Return the initial status for the controlled glossary term. By default it is "DRAFT".- Returns:
- glossary term status enum
-
setInitialStatus
public void setInitialStatus(org.odpi.openmetadata.frameworks.openmetadata.enums.GlossaryTermStatus initialStatus) 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
-