Class GlossaryTermRelationshipRequestBody
java.lang.Object
org.odpi.openmetadata.viewservices.glossarybrowser.rest.EffectiveTimeQueryRequestBody
org.odpi.openmetadata.viewservices.glossarybrowser.rest.GlossaryTermRelationshipRequestBody
GlossaryTermRelationshipRequestBody is the request body structure used on Glossary REST API calls that
request the retrieval of glossary term relationships. These relationships have a status field
that can be used to filter the request.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the unique identifier of the glossary scope.List<org.odpi.openmetadata.accessservices.assetmanager.properties.GlossaryTermRelationshipStatus>Return the list of statuses to return (null for all).inthashCode()Create a hash code for this element type.voidsetGlossaryGUID(String glossaryGUID) Set up the unique identifier of the glossary scope.voidsetLimitResultsByStatus(List<org.odpi.openmetadata.accessservices.assetmanager.properties.GlossaryTermRelationshipStatus> limitResultsByStatus) Set up the list of statuses to return (null for all).toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.viewservices.glossarybrowser.rest.EffectiveTimeQueryRequestBody
getEffectiveTime, setEffectiveTime
-
Constructor Details
-
GlossaryTermRelationshipRequestBody
public GlossaryTermRelationshipRequestBody()Default constructor -
GlossaryTermRelationshipRequestBody
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
public List<org.odpi.openmetadata.accessservices.assetmanager.properties.GlossaryTermRelationshipStatus> getLimitResultsByStatus()Return the list of statuses to return (null for all).- Returns:
- list of statuses (terms only)
-
setLimitResultsByStatus
public void setLimitResultsByStatus(List<org.odpi.openmetadata.accessservices.assetmanager.properties.GlossaryTermRelationshipStatus> limitResultsByStatus) Set up the list of statuses to return (null for all).- Parameters:
limitResultsByStatus- list of statuses (terms only)
-
toString
Standard toString method.- Overrides:
toStringin classEffectiveTimeQueryRequestBody- 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:
equalsin classEffectiveTimeQueryRequestBody- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCodein classEffectiveTimeQueryRequestBody- Returns:
- int hash code
-