public class PageInfo extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
PageInfo.PageInfoFields |
| Modifier and Type | Field and Description |
|---|---|
static String |
PAGE_QUERY_OBJECT_NAME |
| Constructor and Description |
|---|
PageInfo()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEndCursor() |
String |
getStartCursor() |
boolean |
isHasNextPage() |
boolean |
isHasPreviousPage() |
void |
setEndCursor(String endCursor) |
void |
setHasNextPage(boolean hasNextPage) |
void |
setHasPreviousPage(boolean hasPreviousPage) |
void |
setStartCursor(String startCursor) |
public static final String PAGE_QUERY_OBJECT_NAME
public String getStartCursor()
public void setStartCursor(String startCursor)
startCursor - String, cursor relating to the Object at the start of this paginationpublic String getEndCursor()
public void setEndCursor(String endCursor)
endCursor - String, cursor relating to the Object at the start of this paginationpublic boolean isHasNextPage()
public void setHasNextPage(boolean hasNextPage)
hasNextPage - boolean, whether there are any more elements after this pagepublic boolean isHasPreviousPage()
public void setHasPreviousPage(boolean hasPreviousPage)
hasPreviousPage - boolean, whether there are any more elements before this pageCopyright © 2018 OpenNTF. All rights reserved.