Class ReagentTypes

java.lang.Object
com.genologics.ri.reagenttype.ReagentTypes
All Implemented Interfaces:
Batch<ReagentTypeLink>, PaginatedBatch<ReagentTypeLink>, Serializable, Iterable<ReagentTypeLink>

public class ReagentTypes extends Object implements PaginatedBatch<ReagentTypeLink>, Serializable
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 Details

    • reagentTypes

      protected List<ReagentTypeLink> reagentTypes
      The list of reagent type links.
    • previousPage

      protected Page previousPage
      Link to the previous page of results.
    • nextPage

      protected Page nextPage
      Link to the next page of results.
  • Constructor Details

    • ReagentTypes

      public ReagentTypes()
      Default constructor.
  • Method Details

    • getReagentTypes

      public List<ReagentTypeLink> getReagentTypes()
      Gets the list of reagent type links.
      Returns:
      A list of reagent type links.
    • getList

      public List<ReagentTypeLink> getList()
      Gets the list of reagent type links for batch processing.
      Specified by:
      getList in interface Batch<ReagentTypeLink>
      Returns:
      A list of reagent type links.
    • getSize

      public int getSize()
      Gets the size of the reagent types list.
      Specified by:
      getSize in interface Batch<ReagentTypeLink>
      Returns:
      The number of reagent type links, or 0 if the list is null.
    • getPreviousPage

      public Page getPreviousPage()
      Gets the link to the previous page of results.
      Specified by:
      getPreviousPage in interface PaginatedBatch<ReagentTypeLink>
      Returns:
      The previous page link, or null if on the first page.
    • setPreviousPage

      public void setPreviousPage(Page previousPage)
      Sets the link to the previous page of results.
      Specified by:
      setPreviousPage in interface PaginatedBatch<ReagentTypeLink>
      Parameters:
      previousPage - The previous page link.
    • getNextPage

      public Page getNextPage()
      Gets the link to the next page of results.
      Specified by:
      getNextPage in interface PaginatedBatch<ReagentTypeLink>
      Returns:
      The next page link, or null if on the last page.
    • setNextPage

      public void setNextPage(Page nextPage)
      Sets the link to the next page of results.
      Specified by:
      setNextPage in interface PaginatedBatch<ReagentTypeLink>
      Parameters:
      nextPage - The next page link.