Class FilterRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.ResultsRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.FilterRequestBody
FilterRequestBody is the request body structure used on OMAG REST API calls that passed a string that is used to filter responses.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorFilterRequestBody
(FilterRequestBody template) Copy/clone constructor -
Method Summary
Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.ResultsRequestBody
getAsOfTime, getEffectiveTime, getForDuplicateProcessing, getForLineage, getLimitResultsByStatus, getSequencingOrder, getSequencingProperty, getTemplateFilter, setAsOfTime, setEffectiveTime, setForDuplicateProcessing, setForLineage, setLimitResultsByStatus, setSequencingOrder, setSequencingProperty, setTemplateFilter
-
Constructor Details
-
FilterRequestBody
public FilterRequestBody()Default constructor -
FilterRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getFilter
Return the boolean result.- Returns:
- string
-
setFilter
Set up the boolean result.- Parameters:
filter
- string
-
toString
Standard toString method.- Overrides:
toString
in 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:
equals
in classResultsRequestBody
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCode
in classResultsRequestBody
- Returns:
- int hash code
-