public abstract class OMRSAPIPagedResponse extends OMRSAPIResponse
| Modifier and Type | Field and Description |
|---|---|
protected String |
nextPageURL |
protected int |
offset |
protected int |
pageSize |
actionDescription, exceptionCausedBy, exceptionClassName, exceptionErrorMessage, exceptionErrorMessageId, exceptionErrorMessageParameters, exceptionProperties, exceptionSystemAction, exceptionUserAction, relatedHTTPCode| Constructor and Description |
|---|
OMRSAPIPagedResponse()
Default constructor
|
OMRSAPIPagedResponse(OMRSAPIPagedResponse 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.
|
String |
getNextPageURL()
Return the url that can be used to retrieve the next page.
|
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.
|
int |
hashCode()
Create a hash code for this element type.
|
void |
setNextPageURL(String nextPageURL)
Set up the url that can be used to retrieve the next page.
|
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.
|
String |
toString()
Standard toString method.
|
getActionDescription, getExceptionCausedBy, getExceptionClassName, getExceptionErrorMessage, getExceptionErrorMessageId, getExceptionErrorMessageParameters, getExceptionProperties, getExceptionSystemAction, getExceptionUserAction, getRelatedHTTPCode, setActionDescription, setExceptionCausedBy, setExceptionClassName, setExceptionErrorMessage, setExceptionErrorMessageId, setExceptionErrorMessageParameters, setExceptionProperties, setExceptionSystemAction, setExceptionUserAction, setRelatedHTTPCodeprotected String nextPageURL
protected int offset
protected int pageSize
public OMRSAPIPagedResponse()
public OMRSAPIPagedResponse(OMRSAPIPagedResponse template)
template - object to copypublic String getNextPageURL()
public void setNextPageURL(String nextPageURL)
nextPageURL - url stringpublic int getOffset()
public void setOffset(int offset)
offset - offset numberpublic int getPageSize()
public void setPageSize(int pageSize)
pageSize - integer numberpublic String toString()
toString in class OMRSAPIResponsepublic boolean equals(Object objectToCompare)
equals in class OMRSAPIResponseobjectToCompare - supplied objectpublic int hashCode()
hashCode in class OMRSAPIResponseCopyright © 2018–2020 ODPi. All rights reserved.