Class GlossaryTermRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody
-
- org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryTermRequestBody
-
- All Implemented Interfaces:
Serializable
public class GlossaryTermRequestBody extends UpdateRequestBody
GlossaryTermRequestBody describes the request body used to create/update glossary term properties.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GlossaryTermRequestBody()Default constructorGlossaryTermRequestBody(GlossaryTermRequestBody 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.inthashCode()Return hash code for this objectvoidsetElementProperties(GlossaryTermProperties elementProperties)Set up the properties for the element.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody
getEffectiveTime, getMetadataCorrelationProperties, setEffectiveTime, setMetadataCorrelationProperties
-
-
-
-
Constructor Detail
-
GlossaryTermRequestBody
public GlossaryTermRequestBody()
Default constructor
-
GlossaryTermRequestBody
public GlossaryTermRequestBody(GlossaryTermRequestBody template)
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Detail
-
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
-
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
-
-