Class SearchStringRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.rest.AssetManagerIdentifiersRequestBody
org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody
org.odpi.openmetadata.accessservices.assetmanager.rest.SearchStringRequestBody
- Direct Known Subclasses:
GlossarySearchStringRequestBody
SearchStringRequestBody is the request body structure used on OMAG REST API calls that passes a regular expression
to use as a search string.
-
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 search request.Return the search string parameter name.int
hashCode()
Create a hash code for this element type.void
setSearchString
(String searchString) Set up the search.void
setSearchStringParameterName
(String searchStringParameterName) Set up the search string parameter name.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody
getEffectiveTime, setEffectiveTime
Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.rest.AssetManagerIdentifiersRequestBody
getAssetManagerGUID, getAssetManagerName, setAssetManagerGUID, setAssetManagerName
-
Constructor Details
-
SearchStringRequestBody
public SearchStringRequestBody()Default constructor -
SearchStringRequestBody
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
-
toString
Standard toString method.- Overrides:
toString
in 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:
equals
in classEffectiveTimeQueryRequestBody
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCode
in classEffectiveTimeQueryRequestBody
- Returns:
- int hash code
-