Class ControlledGlossaryTermRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetmanager.rest.ControlledGlossaryTermRequestBody
-
- All Implemented Interfaces:
Serializable
public class ControlledGlossaryTermRequestBody extends Object implements Serializable
ControlledGlossaryTermRequestBody describes the request body used to create/update controlled glossary term properties.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ControlledGlossaryTermRequestBody()Default constructorControlledGlossaryTermRequestBody(ControlledGlossaryTermRequestBody template)Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.GlossaryTermPropertiesgetElementProperties()Return the properties for the element.GlossaryTermStatusgetInitialStatus()Return the initial status for the controlled glossary term.MetadataCorrelationPropertiesgetMetadataCorrelationProperties()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.StringtoString()JSON-style toString
-
-
-
Constructor Detail
-
ControlledGlossaryTermRequestBody
public ControlledGlossaryTermRequestBody()
Default constructor
-
ControlledGlossaryTermRequestBody
public ControlledGlossaryTermRequestBody(ControlledGlossaryTermRequestBody template)
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Detail
-
getMetadataCorrelationProperties
public MetadataCorrelationProperties 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
public GlossaryTermProperties getElementProperties()
Return the properties for the element.- Returns:
- properties object
-
setElementProperties
public void setElementProperties(GlossaryTermProperties elementProperties)
Set up the properties for the element.- Parameters:
elementProperties- properties object
-
getInitialStatus
public 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(GlossaryTermStatus initialStatus)
Set up the initial status for the controlled glossary term. By default it is "DRAFT".- Parameters:
initialStatus- glossary term status enum
-
toString
public String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-