Class GlossaryNameRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody
org.odpi.openmetadata.viewservices.glossarybrowser.rest.GlossaryNameRequestBody
GlossaryNameRequestBody is the request body structure used on Glossary REST API calls that passes a name that is used to retrieve
an element by name.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the unique identifier of the glossary scope.Return the list of statuses to return (null for all).int
hashCode()
Create a hash code for this element type.void
setGlossaryGUID
(String glossaryGUID) Set up the unique identifier of the glossary scope.void
setLimitResultsByStatus
(List<GlossaryTermStatus> limitResultsByStatus) Set up the list of statuses to return (null for all).toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody
getEffectiveTime, getName, getNameParameterName, getNamePropertyName, setEffectiveTime, setName, setNameParameterName, setNamePropertyName
-
Constructor Details
-
GlossaryNameRequestBody
public GlossaryNameRequestBody()Default constructor -
GlossaryNameRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getGlossaryGUID
Return the unique identifier of the glossary scope.- Returns:
- string guid
-
setGlossaryGUID
Set up the unique identifier of the glossary scope.- Parameters:
glossaryGUID
- string
-
getLimitResultsByStatus
Return the list of statuses to return (null for all).- Returns:
- list of statuses (terms only)
-
setLimitResultsByStatus
Set up the list of statuses to return (null for all).- Parameters:
limitResultsByStatus
- list of statuses (terms only)
-
toString
Standard toString method.- Overrides:
toString
in classNameRequestBody
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classNameRequestBody
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCode
in classNameRequestBody
- Returns:
- int hash code
-