java.lang.Object
com.genologics.ri.artifactgroup.ArtifactGroups
- All Implemented Interfaces:
Batch<ArtifactGroupLink>,PaginatedBatch<ArtifactGroupLink>,Serializable,Iterable<ArtifactGroupLink>
public class ArtifactGroups
extends Object
implements PaginatedBatch<ArtifactGroupLink>, Serializable
The representation of a list of artifactGroup 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<ArtifactGroupLink>The list of artifact group links.protected PageLink to the next page of results.protected PageLink to the previous page of results. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the list of artifact groups.getList()Gets the list of artifact group links.Gets the link to the next page.Gets the link to the previous page.intgetSize()Gets the size of the artifact groups list.voidsetNextPage(Page value) Sets the link to the next page.voidsetPreviousPage(Page value) Sets the link to the previous page.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
-
artifactGroups
The list of artifact group links. -
previousPage
Link to the previous page of results. -
nextPage
Link to the next page of results.
-
-
Constructor Details
-
ArtifactGroups
public ArtifactGroups()Default constructor.
-
-
Method Details
-
getArtifactGroups
Gets the list of artifact groups.- Returns:
- The list of artifact group links.
-
getList
Gets the list of artifact group links.- Specified by:
getListin interfaceBatch<ArtifactGroupLink>- Returns:
- The list of artifact group links.
-
getSize
public int getSize()Gets the size of the artifact groups list.- Specified by:
getSizein interfaceBatch<ArtifactGroupLink>- Returns:
- The number of artifact groups.
-
getPreviousPage
Gets the link to the previous page.- Specified by:
getPreviousPagein interfacePaginatedBatch<ArtifactGroupLink>- Returns:
- The previous page link.
-
setPreviousPage
Sets the link to the previous page.- Specified by:
setPreviousPagein interfacePaginatedBatch<ArtifactGroupLink>- Parameters:
value- The previous page to set.
-
getNextPage
Gets the link to the next page.- Specified by:
getNextPagein interfacePaginatedBatch<ArtifactGroupLink>- Returns:
- The next page link.
-
setNextPage
Sets the link to the next page.- Specified by:
setNextPagein interfacePaginatedBatch<ArtifactGroupLink>- Parameters:
value- The next page to set.
-