java.lang.Object
com.genologics.ri.artifact.Artifacts
- All Implemented Interfaces:
Batch<ArtifactLink>,PaginatedBatch<ArtifactLink>,Serializable,Iterable<ArtifactLink>
The representation of a list of artifact 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 List<ArtifactLink>The list of artifact links.protected PageThe next page of results.protected PageThe previous page of results. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the list of artifact links.getList()Gets the list of artifact links.Gets the next page of results.Gets the previous page of results.intgetSize()Gets the size of the artifact list.voidsetNextPage(Page value) Sets the next page of results.voidsetPreviousPage(Page value) 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
-
artifacts
The list of artifact links. -
previousPage
The previous page of results. -
nextPage
The next page of results.
-
-
Constructor Details
-
Artifacts
public Artifacts()Constructor.
-
-
Method Details
-
getArtifacts
Gets the list of artifact links.- Returns:
- The list of artifact links.
-
getList
Gets the list of artifact links.- Specified by:
getListin interfaceBatch<ArtifactLink>- Returns:
- The list of artifact links.
-
getSize
public int getSize()Gets the size of the artifact list.- Specified by:
getSizein interfaceBatch<ArtifactLink>- Returns:
- The number of artifacts.
-
getPreviousPage
Gets the previous page of results.- Specified by:
getPreviousPagein interfacePaginatedBatch<ArtifactLink>- Returns:
- The previous page.
-
setPreviousPage
Sets the previous page of results.- Specified by:
setPreviousPagein interfacePaginatedBatch<ArtifactLink>- Parameters:
value- The previous page.
-
getNextPage
Gets the next page of results.- Specified by:
getNextPagein interfacePaginatedBatch<ArtifactLink>- Returns:
- The next page.
-
setNextPage
Sets the next page of results.- Specified by:
setNextPagein interfacePaginatedBatch<ArtifactLink>- Parameters:
value- The next page.
-