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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetList()
getName()
int
getSize()
getUri()
Get the URI of this object.iterator()
void
void
setNextPage
(Page nextPage) void
setPreviousPage
(Page previousPage) void
setProtocolStepUri
(URI protocolStepUri) void
Set the URI of this object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getPreviousPage
in interfacePaginatedBatch<ArtifactLink>
-
setPreviousPage
- Specified by:
setPreviousPage
in interfacePaginatedBatch<ArtifactLink>
-
getNextPage
- Specified by:
getNextPage
in interfacePaginatedBatch<ArtifactLink>
-
setNextPage
- Specified by:
setNextPage
in interfacePaginatedBatch<ArtifactLink>
-
getUri
Description copied from interface:Locatable
Get the URI of this object. -
setUri
Description copied from interface:Locatable
Set the URI of this object. -
getProtocolStepUri
-
setProtocolStepUri
-
getName
-
setName
-
getArtifacts
-
getList
- Specified by:
getList
in interfaceBatch<ArtifactLink>
-
getSize
public int getSize()- Specified by:
getSize
in interfaceBatch<ArtifactLink>
-
iterator
- Specified by:
iterator
in interfaceIterable<ArtifactLink>
-