java.lang.Object
com.genologics.ri.container.Containers
- All Implemented Interfaces:
Batch<ContainerLink>,PaginatedBatch<ContainerLink>,Serializable,Iterable<ContainerLink>
The representation for a list of container links.
The system enforces a maximum number of elements when generating the list of links. When the size of the request result set is larger than the system maximum, the list represents a paged view of the overall results, and the previous-page and next-page elements provide URIs linking to the previous or next page of links in the overall results.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetList()intgetSize()iterator()voidsetNextPage(Page nextPage) voidsetPreviousPage(Page previousPage) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
containers
-
previousPage
-
nextPage
-
-
Constructor Details
-
Containers
public Containers()
-
-
Method Details
-
getContainers
-
getList
- Specified by:
getListin interfaceBatch<ContainerLink>
-
iterator
- Specified by:
iteratorin interfaceIterable<ContainerLink>
-
getSize
public int getSize()- Specified by:
getSizein interfaceBatch<ContainerLink>
-
getPreviousPage
- Specified by:
getPreviousPagein interfacePaginatedBatch<ContainerLink>
-
setPreviousPage
- Specified by:
setPreviousPagein interfacePaginatedBatch<ContainerLink>
-
getNextPage
- Specified by:
getNextPagein interfacePaginatedBatch<ContainerLink>
-
setNextPage
- Specified by:
setNextPagein interfacePaginatedBatch<ContainerLink>
-