java.lang.Object
com.genologics.ri.processtype.ProcessTypes
- All Implemented Interfaces:
Batch<ProcessTypeLink>,PaginatedBatch<ProcessTypeLink>,Serializable,Iterable<ProcessTypeLink>
The representation for a list of process 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<ProcessTypeLink>The list of process type links. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetList()Gets the list of process type links.Gets the link to the next page of results.Gets the link to the previous page of results.Gets the list of process type links.intgetSize()Gets the size of the process 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
-
processTypes
The list of process type links. -
previousPage
Link to the previous page of results. -
nextPage
Link to the next page of results.
-
-
Constructor Details
-
ProcessTypes
public ProcessTypes()Constructs a new process types batch.
-
-
Method Details
-
getProcessTypes
Gets the list of process type links.- Returns:
- a list of process type links.
-
getList
Gets the list of process type links.- Specified by:
getListin interfaceBatch<ProcessTypeLink>- Returns:
- a list of process type links.
-
getSize
public int getSize()Gets the size of the process types list.- Specified by:
getSizein interfaceBatch<ProcessTypeLink>- Returns:
- the number of process types in this batch.
-
getPreviousPage
Gets the link to the previous page of results.- Specified by:
getPreviousPagein interfacePaginatedBatch<ProcessTypeLink>- 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<ProcessTypeLink>- Parameters:
previousPage- the previous page link.
-
getNextPage
Gets the link to the next page of results.- Specified by:
getNextPagein interfacePaginatedBatch<ProcessTypeLink>- 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<ProcessTypeLink>- Parameters:
nextPage- the next page link.
-