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