public interface PageableCollection<T>
Modifier and Type | Method and Description |
---|---|
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<T> |
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<T> 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.
|
java.util.List<T> getItems()
void setItems(java.util.List<T> items)
void setHasMore(java.lang.Boolean hasMore)
hasMore
- the new checks for morejava.lang.Boolean getHasMore()
java.lang.Integer getCount()
void setCount(java.lang.Integer count)
count
- the new countjava.lang.Integer getLimit()
void setLimit(java.lang.Integer limit)
limit
- the new limitvoid setOffset(java.lang.Integer offset)
offset
- the new offsetjava.lang.Integer getOffset()
java.util.List<org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2> getLinks()
void setLinks(java.util.List<org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2> links)
links
- the new linksvoid addLink(org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2 link)
link
- the link