public class ReadAllQueryResultCollection extends Object implements PageableCollection<Object>
Constructor and Description |
---|
ReadAllQueryResultCollection() |
Modifier and Type | Method and Description |
---|---|
void |
addItem(Object item)
Adds the item.
|
void |
addLink(org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2 link)
Adds the link.
|
Integer |
getCount()
Gets the total number of records in the current response.
|
Boolean |
getHasMore()
Returns true if collection has more
|
List<Object> |
getItems() |
Integer |
getLimit()
Gets the limit.
|
List<org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2> |
getLinks()
Gets the links.
|
Integer |
getOffset()
Gets the offset.
|
void |
setCount(Integer count)
Sets the count.
|
void |
setHasMore(Boolean hasMore)
Sets hasMore
|
void |
setItems(List<Object> items) |
void |
setLimit(Integer limit)
Sets the limit.
|
void |
setLinks(List<org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2> links)
Sets the links.
|
void |
setOffset(Integer offset)
Sets the offset.
|
public List<Object> getItems()
getItems
in interface PageableCollection<Object>
public void setItems(List<Object> items)
setItems
in interface PageableCollection<Object>
public void setHasMore(Boolean hasMore)
setHasMore
in interface PageableCollection<Object>
hasMore
- the new checks for morepublic Boolean getHasMore()
getHasMore
in interface PageableCollection<Object>
public Integer getCount()
getCount
in interface PageableCollection<Object>
public void setCount(Integer count)
setCount
in interface PageableCollection<Object>
count
- the new countpublic Integer getLimit()
getLimit
in interface PageableCollection<Object>
public void setLimit(Integer limit)
setLimit
in interface PageableCollection<Object>
limit
- the new limitpublic void setOffset(Integer offset)
setOffset
in interface PageableCollection<Object>
offset
- the new offsetpublic Integer getOffset()
getOffset
in interface PageableCollection<Object>
public List<org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2> getLinks()
getLinks
in interface PageableCollection<Object>
public void setLinks(List<org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2> links)
setLinks
in interface PageableCollection<Object>
links
- the new linkspublic void addLink(org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2 link)
addLink
in interface PageableCollection<Object>
link
- the linkpublic void addItem(Object item)
item
- the item