java.lang.Object
com.genologics.ri.researcher.Researchers
- All Implemented Interfaces:
Batch<ResearcherLink>,PaginatedBatch<ResearcherLink>,Serializable,Iterable<ResearcherLink>
The representation of a list of researcher 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<ResearcherLink>The list of researcher links. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetList()Gets the list of researcher links.Gets the link to the next page of results.Gets the link to the previous page of results.Gets the list of researcher links.intgetSize()Gets the size of the researcher 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
-
researchers
The list of researcher links. -
previousPage
Link to the previous page of results. -
nextPage
Link to the next page of results.
-
-
Constructor Details
-
Researchers
public Researchers()Default constructor.
-
-
Method Details
-
getResearchers
Gets the list of researcher links.- Returns:
- The list of researcher links.
-
getList
Gets the list of researcher links.- Specified by:
getListin interfaceBatch<ResearcherLink>- Returns:
- The list of researcher links.
-
getSize
public int getSize()Gets the size of the researcher list.- Specified by:
getSizein interfaceBatch<ResearcherLink>- Returns:
- The number of researchers in the list.
-
getPreviousPage
Gets the link to the previous page of results.- Specified by:
getPreviousPagein interfacePaginatedBatch<ResearcherLink>- Returns:
- The previous page link.
-
setPreviousPage
Sets the link to the previous page of results.- Specified by:
setPreviousPagein interfacePaginatedBatch<ResearcherLink>- Parameters:
previousPage- The previous page link.
-
getNextPage
Gets the link to the next page of results.- Specified by:
getNextPagein interfacePaginatedBatch<ResearcherLink>- Returns:
- The next page link.
-
setNextPage
Sets the link to the next page of results.- Specified by:
setNextPagein interfacePaginatedBatch<ResearcherLink>- Parameters:
nextPage- The next page link.
-