Constructor and Description |
---|
DefaultPageInfo() |
Modifier and Type | Method and Description |
---|---|
ConnectionCursor |
getEndCursor() |
ConnectionCursor |
getStartCursor() |
boolean |
isHasNextPage() |
boolean |
isHasPreviousPage() |
void |
setEndCursor(ConnectionCursor endCursor) |
void |
setHasNextPage(boolean hasNextPage) |
void |
setHasPreviousPage(boolean hasPreviousPage) |
void |
setStartCursor(ConnectionCursor startCursor) |
java.lang.String |
toString() |
public ConnectionCursor getStartCursor()
getStartCursor
in interface PageInfo
public void setStartCursor(ConnectionCursor startCursor)
public ConnectionCursor getEndCursor()
getEndCursor
in interface PageInfo
public void setEndCursor(ConnectionCursor endCursor)
public boolean isHasPreviousPage()
isHasPreviousPage
in interface PageInfo
public void setHasPreviousPage(boolean hasPreviousPage)
public boolean isHasNextPage()
isHasNextPage
in interface PageInfo
public void setHasNextPage(boolean hasNextPage)
public java.lang.String toString()
toString
in class java.lang.Object