public class HistoryRangeRequest extends OMRSAPIRequest
| Constructor and Description |
|---|
HistoryRangeRequest()
Default constructor
|
HistoryRangeRequest(HistoryRangeRequest template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
Date |
getFromTime()
Return the earliest point of history to retrieve (inclusive).
|
int |
getOffset()
Return the starting element number for this set of results.
|
int |
getPageSize()
Return the maximum number of elements that can be returned on this request.
|
HistorySequencingOrder |
getSequencingOrder()
Return the sequencing order for the results.
|
Date |
getToTime()
Return the latest point of history up to which to return (exclusive).
|
int |
hashCode()
Create a hash code for this element type.
|
void |
setFromTime(Date fromTime)
Set up the earliest point of history to retrieve (inclusive).
|
void |
setOffset(int offset)
Set up the starting element number for this set of results.
|
void |
setPageSize(int pageSize)
Set up the maximum number of elements that can be returned on this request.
|
void |
setSequencingOrder(HistorySequencingOrder sequencingOrder)
Set up the sequencing order for the results.
|
void |
setToTime(Date toTime)
Set up the latest point of history up to which to return (exclusive).
|
String |
toString()
Standard toString method.
|
public HistoryRangeRequest()
public HistoryRangeRequest(HistoryRangeRequest template)
template - object to copypublic Date getFromTime()
public void setFromTime(Date fromTime)
fromTime - date/timepublic Date getToTime()
public void setToTime(Date toTime)
toTime - date/timepublic int getOffset()
public void setOffset(int offset)
offset - offset numberpublic int getPageSize()
public void setPageSize(int pageSize)
pageSize - integer numberpublic HistorySequencingOrder getSequencingOrder()
public void setSequencingOrder(HistorySequencingOrder sequencingOrder)
sequencingOrder - sequencing order enumpublic String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.