Class FindRequest
java.lang.Object
org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest
FindRequest is used by the Subject Area OMAS to specify paging information for find calls.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorFindRequest
(FindRequest template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Get the time at which the find should be issued.Return the maximum number of elements that can be returned on this request.Return the sequencing order for the results.Return the name of the property that should be used to sequence the results.int
Return the starting element number for this set of results.int
hashCode()
Create a hash code for this element type.void
setAsOfTime
(Date asOfTime) set up the time at which the find should be made.void
setPageSize
(Integer pageSize) Set up the maximum number of elements that can be returned on this request.void
setSearchCriteria
(String searchCriteria) void
setSequencingOrder
(SequencingOrder sequencingOrder) Set up the sequencing order for the results.void
setSequencingProperty
(String sequencingProperty) Set up the name of the property that should be used to sequence the results.void
setStartingFrom
(int startingFrom) Set up the starting element number for this set of results.toString()
Standard toString method.
-
Constructor Details
-
FindRequest
public FindRequest()Default constructor -
FindRequest
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getSearchCriteria
-
setSearchCriteria
-
getSequencingProperty
Return the name of the property that should be used to sequence the results.- Returns:
- property name
-
setSequencingProperty
Set up the name of the property that should be used to sequence the results.- Parameters:
sequencingProperty
- property name
-
getSequencingOrder
Return the sequencing order for the results.- Returns:
- sequencing order enum
-
setSequencingOrder
Set up the sequencing order for the results.- Parameters:
sequencingOrder
- sequencing order enum
-
getStartingFrom
public int getStartingFrom()Return the starting element number for this set of results. This is used when retrieving elements beyond the first page of results. Zero means the results start from the first element.- Returns:
- startingFrom number
-
setStartingFrom
public void setStartingFrom(int startingFrom) Set up the starting element number for this set of results. This is used when retrieving elements beyond the first page of results. Zero means the results start from the first element.- Parameters:
startingFrom
- startingFrom number
-
getPageSize
Return the maximum number of elements that can be returned on this request.- Returns:
- page size
-
setPageSize
Set up the maximum number of elements that can be returned on this request.- Parameters:
pageSize
- integer number
-
getAsOfTime
Get the time at which the find should be issued.- Returns:
- Date at which the find should be issued
-
setAsOfTime
set up the time at which the find should be made. null means current time.- Parameters:
asOfTime
- Date at which the find should be issued
-
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.
-