Class SearchStringRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody
-
- All Implemented Interfaces:
Serializable
public class SearchStringRequestBody extends Object implements Serializable
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SearchStringRequestBody()Default constructorSearchStringRequestBody(SearchStringRequestBody template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.DategetEffectiveTime()Return the date/time to use for the query.StringgetSearchString()Return the search request.StringgetSearchStringParameterName()Return the search string parameter name.inthashCode()Create a hash code for this element type.voidsetEffectiveTime(Date effectiveTime)Set up the date/time to use for the query.voidsetSearchString(String searchString)Set up the search.voidsetSearchStringParameterName(String searchStringParameterName)Set up the search string parameter name.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
SearchStringRequestBody
public SearchStringRequestBody()
Default constructor
-
SearchStringRequestBody
public SearchStringRequestBody(SearchStringRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getEffectiveTime
public Date getEffectiveTime()
Return the date/time to use for the query.- Returns:
- date object
-
setEffectiveTime
public void setEffectiveTime(Date effectiveTime)
Set up the date/time to use for the query.- Parameters:
effectiveTime- date object
-
getSearchString
public String getSearchString()
Return the search request.- Returns:
- regEx expression
-
setSearchString
public void setSearchString(String searchString)
Set up the search.- Parameters:
searchString- regEx expression
-
getSearchStringParameterName
public String getSearchStringParameterName()
Return the search string parameter name.- Returns:
- string name
-
setSearchStringParameterName
public void setSearchStringParameterName(String searchStringParameterName)
Set up the search string parameter name.- Parameters:
searchStringParameterName- string name
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-