java.lang.Object
com.genologics.ri.reagenttype.ReagentTypes
- All Implemented Interfaces:
Batch<ReagentTypeLink>,PaginatedBatch<ReagentTypeLink>,Serializable,Iterable<ReagentTypeLink>
The representation for a list of reagent type 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
FieldsModifier and TypeFieldDescriptionprotected PageLink to the next page of results.protected PageLink to the previous page of results.protected List<ReagentTypeLink>The list of reagent type links. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetList()Gets the list of reagent type links for batch processing.Gets the link to the next page of results.Gets the link to the previous page of results.Gets the list of reagent type links.intgetSize()Gets the size of the reagent types list.voidsetNextPage(Page nextPage) Sets the link to the next page of results.voidsetPreviousPage(Page previousPage) Sets the link to 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
-
reagentTypes
The list of reagent type links. -
previousPage
Link to the previous page of results. -
nextPage
Link to the next page of results.
-
-
Constructor Details
-
ReagentTypes
public ReagentTypes()Default constructor.
-
-
Method Details
-
getReagentTypes
Gets the list of reagent type links.- Returns:
- A list of reagent type links.
-
getList
Gets the list of reagent type links for batch processing.- Specified by:
getListin interfaceBatch<ReagentTypeLink>- Returns:
- A list of reagent type links.
-
getSize
public int getSize()Gets the size of the reagent types list.- Specified by:
getSizein interfaceBatch<ReagentTypeLink>- Returns:
- The number of reagent type links, or 0 if the list is null.
-
getPreviousPage
Gets the link to the previous page of results.- Specified by:
getPreviousPagein interfacePaginatedBatch<ReagentTypeLink>- Returns:
- The previous page link, or null if on the first page.
-
setPreviousPage
Sets the link to the previous page of results.- Specified by:
setPreviousPagein interfacePaginatedBatch<ReagentTypeLink>- Parameters:
previousPage- The previous page link.
-
getNextPage
Gets the link to the next page of results.- Specified by:
getNextPagein interfacePaginatedBatch<ReagentTypeLink>- Returns:
- The next page link, or null if on the last page.
-
setNextPage
Sets the link to the next page of results.- Specified by:
setNextPagein interfacePaginatedBatch<ReagentTypeLink>- Parameters:
nextPage- The next page link.
-