java.lang.Object
com.genologics.ri.lab.Labs
- All Implemented Interfaces:
Batch<LabLink>,PaginatedBatch<LabLink>,Serializable,Iterable<LabLink>
The representation of a list of lab 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 TypeMethodDescriptiongetLabs()Gets the list of lab links.getList()Gets the list of lab links (implements PaginatedBatch interface).Gets the next page of results.Gets the previous page of results.intgetSize()Gets the size of the lab links list.voidsetNextPage(Page nextPage) Sets the next page of results.voidsetPreviousPage(Page previousPage) Sets the previous page of results.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
-
labs
The list of lab links. -
previousPage
The previous page of results. -
nextPage
The next page of results.
-
-
Constructor Details
-
Labs
public Labs()Constructs a new Labs instance.
-
-
Method Details
-
getLabs
Gets the list of lab links.- Returns:
- the list of lab links.
-
getList
Gets the list of lab links (implements PaginatedBatch interface). -
getSize
public int getSize()Gets the size of the lab links list. -
getPreviousPage
Gets the previous page of results.- Specified by:
getPreviousPagein interfacePaginatedBatch<LabLink>- Returns:
- the previous page.
-
setPreviousPage
Sets the previous page of results.- Specified by:
setPreviousPagein interfacePaginatedBatch<LabLink>- Parameters:
previousPage- the previous page to set.
-
getNextPage
Gets the next page of results.- Specified by:
getNextPagein interfacePaginatedBatch<LabLink>- Returns:
- the next page.
-
setNextPage
Sets the next page of results.- Specified by:
setNextPagein interfacePaginatedBatch<LabLink>- Parameters:
nextPage- the next page to set.
-