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.
|
Integer |
getCount()
Gets the total number of records in the current response.
|
Boolean |
getHasMore()
Returns true if collection has more
|
List<T> |
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<T> 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.
|
void setHasMore(Boolean hasMore)
hasMore - the new checks for moreBoolean getHasMore()
Integer getCount()
void setCount(Integer count)
count - the new countInteger getLimit()
void setLimit(Integer limit)
limit - the new limitvoid setOffset(Integer offset)
offset - the new offsetInteger getOffset()
List<org.eclipse.persistence.internal.jpa.rs.metadata.model.LinkV2> getLinks()
void setLinks(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 linkCopyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.