public class ReportQueryResultCollection extends java.lang.Object implements PageableCollection<ReportQueryResultListItem>
Constructor and Description |
---|
ReportQueryResultCollection()
Instantiates a new report query result collection.
|
Modifier and Type | Method and Description |
---|---|
void |
addItem(ReportQueryResultListItem 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<ReportQueryResultListItem> |
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<ReportQueryResultListItem> 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 ReportQueryResultCollection()
public void addItem(ReportQueryResultListItem item)
item
- the itempublic void addLink(org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2 link)
addLink
in interface PageableCollection<ReportQueryResultListItem>
link
- the link to addpublic java.util.List<ReportQueryResultListItem> getItems()
getItems
in interface PageableCollection<ReportQueryResultListItem>
public void setItems(java.util.List<ReportQueryResultListItem> items)
setItems
in interface PageableCollection<ReportQueryResultListItem>
public java.util.List<org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2> getLinks()
PageableCollection
getLinks
in interface PageableCollection<ReportQueryResultListItem>
public void setLinks(java.util.List<org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2> links)
PageableCollection
setLinks
in interface PageableCollection<ReportQueryResultListItem>
links
- the new linkspublic java.lang.Integer getOffset()
PageableCollection
getOffset
in interface PageableCollection<ReportQueryResultListItem>
public void setOffset(java.lang.Integer offset)
PageableCollection
setOffset
in interface PageableCollection<ReportQueryResultListItem>
offset
- the new offsetpublic java.lang.Integer getLimit()
PageableCollection
getLimit
in interface PageableCollection<ReportQueryResultListItem>
public void setLimit(java.lang.Integer limit)
PageableCollection
setLimit
in interface PageableCollection<ReportQueryResultListItem>
limit
- the new limitpublic java.lang.Integer getCount()
PageableCollection
getCount
in interface PageableCollection<ReportQueryResultListItem>
public void setCount(java.lang.Integer count)
PageableCollection
setCount
in interface PageableCollection<ReportQueryResultListItem>
count
- the new countpublic void setHasMore(java.lang.Boolean hasMore)
PageableCollection
setHasMore
in interface PageableCollection<ReportQueryResultListItem>
hasMore
- the new checks for morepublic java.lang.Boolean getHasMore()
PageableCollection
getHasMore
in interface PageableCollection<ReportQueryResultListItem>