Class SearchStringRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody
- All Implemented Interfaces:
Serializable
- 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.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the date/time to use for the query.Return the search request.Return the search string parameter name.int
hashCode()
Create a hash code for this element type.void
setEffectiveTime
(Date effectiveTime) Set up the date/time to use for the query.void
setSearchString
(String searchString) Set up the search.void
setSearchStringParameterName
(String searchStringParameterName) Set up the search string parameter name.toString()
Standard toString method.
-
Constructor Details
-
SearchStringRequestBody
public SearchStringRequestBody()Default constructor -
SearchStringRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getEffectiveTime
Return the date/time to use for the query.- Returns:
- date object
-
setEffectiveTime
Set up the date/time to use for the query.- Parameters:
effectiveTime
- date object
-
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. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Create a hash code for this element type.
-