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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetList()intgetSize()iterator()voidsetNextPage(Page value) voidsetPreviousPage(Page value) 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
-
previousPage
-
nextPage
-
-
Constructor Details
-
Artifacts
public Artifacts()
-
-
Method Details
-
getArtifacts
-
iterator
- Specified by:
iteratorin interfaceIterable<ArtifactLink>
-
getList
- Specified by:
getListin interfaceBatch<ArtifactLink>
-
getSize
public int getSize()- Specified by:
getSizein interfaceBatch<ArtifactLink>
-
getPreviousPage
- Specified by:
getPreviousPagein interfacePaginatedBatch<ArtifactLink>
-
setPreviousPage
- Specified by:
setPreviousPagein interfacePaginatedBatch<ArtifactLink>
-
getNextPage
- Specified by:
getNextPagein interfacePaginatedBatch<ArtifactLink>
-
setNextPage
- Specified by:
setNextPagein interfacePaginatedBatch<ArtifactLink>
-