Class GlossaryTermStatusRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody
-
- org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryTermStatusRequestBody
-
- All Implemented Interfaces:
Serializable
public class GlossaryTermStatusRequestBody extends UpdateRequestBody
GlossaryTermStatusRequestBody describes the request body used to update a glossary term's status.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GlossaryTermStatusRequestBody()Default constructorGlossaryTermStatusRequestBody(GlossaryTermStatusRequestBody 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.GlossaryTermStatusgetGlossaryTermStatus()Return the status for the element.inthashCode()Return hash code for this objectvoidsetGlossaryTermStatus(GlossaryTermStatus glossaryTermStatus)Set up the status for the element.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody
getEffectiveTime, getMetadataCorrelationProperties, setEffectiveTime, setMetadataCorrelationProperties
-
-
-
-
Constructor Detail
-
GlossaryTermStatusRequestBody
public GlossaryTermStatusRequestBody()
Default constructor
-
GlossaryTermStatusRequestBody
public GlossaryTermStatusRequestBody(GlossaryTermStatusRequestBody template)
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Detail
-
getGlossaryTermStatus
public GlossaryTermStatus getGlossaryTermStatus()
Return the status for the element.- Returns:
- enum object
-
setGlossaryTermStatus
public void setGlossaryTermStatus(GlossaryTermStatus glossaryTermStatus)
Set up the status for the element.- Parameters:
glossaryTermStatus- enum object
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classUpdateRequestBody- Returns:
- return string containing the property names and values
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.- Overrides:
equalsin classUpdateRequestBody- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classUpdateRequestBody- Returns:
- int hash code
-
-