Class GlossaryResultsRequestBody
java.lang.Object
org.odpi.openmetadata.viewservices.glossarybrowser.rest.GlossaryResultsRequestBody
- Direct Known Subclasses:
GlossaryNameRequestBody
,GlossarySearchStringRequestBody
ResultsRequestBody carries the date/time for a query along with other common search parameters.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the repository time that should be used when retrieving metadata.Return the date/time to use for the query.Return the optional list of statuses that should be used to restrict the elements returned by their status.Return the order that results should be returned in.Return the property that should be used to order the results.int
hashCode()
Return hash code for this objectvoid
setAsOfTime
(Date asOfTime) Set up the repository time that should be used when retrieving metadata.void
setEffectiveTime
(Date effectiveTime) Set up the date/time to use for the query.void
setLimitResultsByStatus
(List<GlossaryTermStatus> limitResultsByStatus) Set up the optional list of statuses that should be used to restrict the elements returned by their status.void
setSequencingOrder
(SequencingOrder sequencingOrder) Set up the order that results should be returned in.void
setSequencingProperty
(String sequencingProperty) Set up the property that should be used to order the results.toString()
JSON-style toString
-
Constructor Details
-
GlossaryResultsRequestBody
public GlossaryResultsRequestBody()Default constructor -
GlossaryResultsRequestBody
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
-
getLimitResultsByStatus
Return the optional list of statuses that should be used to restrict the elements returned by their status. By default, the elements in all non-DELETED statuses are returned. However, it is possible to specify a list of statuses (eg ACTIVE, DELETED) to restrict the results to. Null means all status values except DELETED.- Returns:
- list of statuses or null
-
setLimitResultsByStatus
Set up the optional list of statuses that should be used to restrict the elements returned by their status. By default, the elements in all non-DELETED statuses are returned. However, it is possible to specify a list of statuses (eg ACTIVE, DELETED) to restrict the results to. Null means all status values except DELETED.- Parameters:
limitResultsByStatus
- list of statuses or null
-
getAsOfTime
Return the repository time that should be used when retrieving metadata.- Returns:
- date/time (default null which means now)
-
setAsOfTime
Set up the repository time that should be used when retrieving metadata.- Parameters:
asOfTime
- date/time (default null which means now)
-
getSequencingProperty
Return the property that should be used to order the results.- Returns:
- property name
-
setSequencingProperty
Set up the property that should be used to order the results.- Parameters:
sequencingProperty
- property name
-
getSequencingOrder
Return the order that results should be returned in.- Returns:
- enum
-
setSequencingOrder
Set up the order that results should be returned in.- Parameters:
sequencingOrder
- enum
-
toString
JSON-style toString -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-