public class ItemList<T extends Reference> extends ObjectPrinter
| Modifier and Type | Field and Description |
|---|---|
protected List<T> |
items
The 'items' property of an ItemList gives the actual items that are part of this particular page.
|
protected Paging |
paging
The 'paging' property of an ItemList gives the paging details of this particular page.
|
| Constructor and Description |
|---|
ItemList() |
| Modifier and Type | Method and Description |
|---|---|
List<T> |
getItems()
Retrieve the items within this list (from the pages that are retrieved).
|
Paging |
getPaging()
Retrieve the paging characteristics of this list.
|
boolean |
hasMorePages()
Returns true iff there are more (unretrieved) pages for the relationships that this object represents.
|
void |
setAllPages(List<T> allPages)
Set all of the pages as retrieved using the list of items provided
|
void |
setItems(List<T> items)
Set the items within this list (for the pages that are retrieved).
|
void |
setPaging(Paging paging)
Set the paging characteristics of this list.
|
toStringprotected Paging paging
public Paging getPaging()
pagingpublic void setPaging(Paging paging)
paging - characteristics of this listpagingpublic List<T> getItems()
List<T>itemspublic void setItems(List<T> items)
items - within this listitemspublic boolean hasMorePages()
Copyright © 2018–2021 ODPi. All rights reserved.