java.lang.Object
com.genologics.ri.queue.Queue
- All Implemented Interfaces:
Batch<ArtifactLink>,Linkable<Queue>,Locatable,PaginatedBatch<ArtifactLink>,Serializable,Iterable<ArtifactLink>
public class Queue
extends Object
implements PaginatedBatch<ArtifactLink>, Linkable<Queue>, Serializable
The representation of a queue.
It represents and is used to list all of the elements contained within a queue. A queue is a representation of samples that are ready to run through a Protocol Step.
Each artifact listed in the queue will contain elements to show when it was queued and its container location.
- Since:
- 2.19
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetList()getName()intgetSize()getUri()Get the URI of this object.iterator()voidvoidsetNextPage(Page nextPage) voidsetPreviousPage(Page previousPage) voidsetProtocolStepUri(URI protocolStepUri) voidSet the URI of this object.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
-
uri
-
protocolStepUri
-
name
-
-
Constructor Details
-
Queue
public Queue() -
Queue
-
Queue
-
-
Method Details
-
getPreviousPage
- Specified by:
getPreviousPagein interfacePaginatedBatch<ArtifactLink>
-
setPreviousPage
- Specified by:
setPreviousPagein interfacePaginatedBatch<ArtifactLink>
-
getNextPage
- Specified by:
getNextPagein interfacePaginatedBatch<ArtifactLink>
-
setNextPage
- Specified by:
setNextPagein interfacePaginatedBatch<ArtifactLink>
-
getUri
Description copied from interface:LocatableGet the URI of this object. -
setUri
Description copied from interface:LocatableSet the URI of this object. -
getProtocolStepUri
-
setProtocolStepUri
-
getName
-
setName
-
getArtifacts
-
getList
- Specified by:
getListin interfaceBatch<ArtifactLink>
-
getSize
public int getSize()- Specified by:
getSizein interfaceBatch<ArtifactLink>
-
iterator
- Specified by:
iteratorin interfaceIterable<ArtifactLink>
-