java.lang.Object
com.genologics.ri.instrumenttype.InstrumentTypes
- All Implemented Interfaces:
Batch<InstrumentTypeLink>,PaginatedBatch<InstrumentTypeLink>,Serializable,Iterable<InstrumentTypeLink>
public class InstrumentTypes
extends Object
implements PaginatedBatch<InstrumentTypeLink>, Serializable
The representation of a list of instrument type links.
- Since:
- 2.24
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<InstrumentTypeLink>The list of instrument type links.protected PageThe next page reference.protected PageThe previous page reference. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetList()Gets the list of items in this batch.Gets the next page of results.Gets the previous page of results.intgetSize()Gets the number of items in this batch.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
-
instrumentTypes
The list of instrument type links. -
previousPage
The previous page reference.- Since:
- 2.31
-
nextPage
The next page reference.- Since:
- 2.31
-
-
Constructor Details
-
InstrumentTypes
public InstrumentTypes()Default constructor.
-
-
Method Details
-
getList
Gets the list of items in this batch.- Specified by:
getListin interfaceBatch<InstrumentTypeLink>- Returns:
- The list of items.
-
getSize
public int getSize()Gets the number of items in this batch.- Specified by:
getSizein interfaceBatch<InstrumentTypeLink>- Returns:
- The size of the batch.
-
getPreviousPage
Gets the previous page of results.- Specified by:
getPreviousPagein interfacePaginatedBatch<InstrumentTypeLink>- Returns:
- The previous page, or null if there is no previous page.
-
setPreviousPage
Sets the previous page of results.- Specified by:
setPreviousPagein interfacePaginatedBatch<InstrumentTypeLink>- Parameters:
previousPage- The previous page.
-
getNextPage
Gets the next page of results.- Specified by:
getNextPagein interfacePaginatedBatch<InstrumentTypeLink>- Returns:
- The next page, or null if there is no next page.
-
setNextPage
Sets the next page of results.- Specified by:
setNextPagein interfacePaginatedBatch<InstrumentTypeLink>- Parameters:
nextPage- The next page.
-