Class GlossarySearchStringRequestBody
java.lang.Object
org.odpi.openmetadata.viewservices.glossarybrowser.rest.GlossaryResultsRequestBody
org.odpi.openmetadata.viewservices.glossarybrowser.rest.GlossarySearchStringRequestBody
GlossarySearchStringRequestBody is the request body structure used on GlossaryCategory/Term REST API calls that passes a regular expression
to use as a search string and the scope of the results can be optionally restricted by glossary.
-
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 search request.Return the search string parameter name.Return the optional type name for the search results (null means any type).int
hashCode()
Create a hash code for this element type.void
setGlossaryGUID
(String glossaryGUID) Set up the unique identifier of the glossary scope.void
setSearchString
(String searchString) Set up the search.void
setSearchStringParameterName
(String searchStringParameterName) Set up the search string parameter name.void
setTypeName
(String typeName) Set up the optional type name for the search results (null means any type).toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.viewservices.glossarybrowser.rest.GlossaryResultsRequestBody
getAsOfTime, getEffectiveTime, getLimitResultsByStatus, getSequencingOrder, getSequencingProperty, setAsOfTime, setEffectiveTime, setLimitResultsByStatus, setSequencingOrder, setSequencingProperty
-
Constructor Details
-
GlossarySearchStringRequestBody
public GlossarySearchStringRequestBody()Default constructor -
GlossarySearchStringRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getSearchString
Return the search request.- Returns:
- regEx expression
-
setSearchString
Set up the search.- Parameters:
searchString
- regEx expression
-
getSearchStringParameterName
Return the search string parameter name.- Returns:
- string name
-
setSearchStringParameterName
Set up the search string parameter name.- Parameters:
searchStringParameterName
- string name
-
getTypeName
Return the optional type name for the search results (null means any type).- Returns:
- unique name of type
-
setTypeName
Set up the optional type name for the search results (null means any type).- Parameters:
typeName
- unique name of type
-
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
-
toString
Standard toString method.- Overrides:
toString
in classGlossaryResultsRequestBody
- 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 classGlossaryResultsRequestBody
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCode
in classGlossaryResultsRequestBody
- Returns:
- int hash code
-