java.lang.Object
com.genologics.ri.processtemplate.ProcessTemplates
- All Implemented Interfaces:
Batch<ProcessTemplateLink>,PaginatedBatch<ProcessTemplateLink>,Serializable,Iterable<ProcessTemplateLink>
public class ProcessTemplates
extends Object
implements PaginatedBatch<ProcessTemplateLink>, Serializable
The representation of a list of Process Template 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 Pageprotected Pageprotected List<ProcessTemplateLink> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetList()intgetSize()iterator()voidsetNextPage(Page nextPage) voidsetPreviousPage(Page previousPage) 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
-
processTemplates
-
previousPage
-
nextPage
-
-
Constructor Details
-
ProcessTemplates
public ProcessTemplates()
-
-
Method Details
-
getProcessTemplates
-
iterator
- Specified by:
iteratorin interfaceIterable<ProcessTemplateLink>
-
getList
- Specified by:
getListin interfaceBatch<ProcessTemplateLink>
-
getSize
public int getSize()- Specified by:
getSizein interfaceBatch<ProcessTemplateLink>
-
getPreviousPage
- Specified by:
getPreviousPagein interfacePaginatedBatch<ProcessTemplateLink>
-
setPreviousPage
- Specified by:
setPreviousPagein interfacePaginatedBatch<ProcessTemplateLink>
-
getNextPage
- Specified by:
getNextPagein interfacePaginatedBatch<ProcessTemplateLink>
-
setNextPage
- Specified by:
setNextPagein interfacePaginatedBatch<ProcessTemplateLink>
-