public class ReportQueryResultCollection extends 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.
|
Integer |
getCount()
Gets the total number of records in the current response.
|
Boolean |
getHasMore()
Returns true if collection has more
|
List<ReportQueryResultListItem> |
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<ReportQueryResultListItem> 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 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 List<ReportQueryResultListItem> getItems()
getItems
in interface PageableCollection<ReportQueryResultListItem>
public void setItems(List<ReportQueryResultListItem> items)
setItems
in interface PageableCollection<ReportQueryResultListItem>
public List<org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2> getLinks()
PageableCollection
getLinks
in interface PageableCollection<ReportQueryResultListItem>
public void setLinks(List<org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2> links)
PageableCollection
setLinks
in interface PageableCollection<ReportQueryResultListItem>
links
- the new linkspublic Integer getOffset()
PageableCollection
getOffset
in interface PageableCollection<ReportQueryResultListItem>
public void setOffset(Integer offset)
PageableCollection
setOffset
in interface PageableCollection<ReportQueryResultListItem>
offset
- the new offsetpublic Integer getLimit()
PageableCollection
getLimit
in interface PageableCollection<ReportQueryResultListItem>
public void setLimit(Integer limit)
PageableCollection
setLimit
in interface PageableCollection<ReportQueryResultListItem>
limit
- the new limitpublic Integer getCount()
PageableCollection
getCount
in interface PageableCollection<ReportQueryResultListItem>
public void setCount(Integer count)
PageableCollection
setCount
in interface PageableCollection<ReportQueryResultListItem>
count
- the new countpublic void setHasMore(Boolean hasMore)
PageableCollection
setHasMore
in interface PageableCollection<ReportQueryResultListItem>
hasMore
- the new checks for morepublic Boolean getHasMore()
PageableCollection
getHasMore
in interface PageableCollection<ReportQueryResultListItem>