Class SearchStringRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.ResultsRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody
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
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the search request.Return the search string parameter name.Return the optional type name for the search results (null means any type).inthashCode()Create a hash code for this element type.voidsetSearchString(String searchString) Set up the search.voidsetSearchStringParameterName(String searchStringParameterName) Set up the search string parameter name.voidsetTypeName(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.commonservices.ffdc.rest.ResultsRequestBody
getAsOfTime, getEffectiveTime, getLimitResultsByStatus, getSequencingOrder, getSequencingProperty, setAsOfTime, setEffectiveTime, setLimitResultsByStatus, setSequencingOrder, setSequencingProperty
-
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
-
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
-
toString
Standard toString method.- Overrides:
toStringin classResultsRequestBody- 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 classResultsRequestBody- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCodein classResultsRequestBody- Returns:
- int hash code
-