java.lang.Object
com.genologics.ri.step.Placements
- All Implemented Interfaces:
Linkable<Placements>,Locatable,Serializable
The detailed representation of a step's output artifact container placements
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StepConfigurationThe configuration for this step.protected List<OutputPlacement>The list of output placements.protected List<ContainerLink>The list of selected containers.protected LinkThe link to the step.protected URIThe URI of this placements resource. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates and adds an output placement.addOutputPlacement(OutputPlacement placement) Adds an output placement.addSelectedContainer(Linkable<Container> container) Adds a selected container.Gets the step configuration.getLink()Get a concrete link object to thisLinkablething.Gets the list of output placements.Gets the list of selected containers.getStep()Gets the link to the step.getUri()Gets the URI of this placements resource.voidsetConfiguration(StepConfiguration configuration) Sets the step configuration.voidSets the link to the step.voidsetStep(Linkable<ProcessStep> step) Sets the step from a linkable process step.voidSets the URI of this placements resource.
-
Field Details
-
step
The link to the step. -
configuration
The configuration for this step. -
selectedContainers
The list of selected containers. -
outputPlacements
The list of output placements. -
uri
The URI of this placements resource.
-
-
Constructor Details
-
Placements
public Placements()Default constructor. -
Placements
Constructor with URI.- Parameters:
uri- The URI of this placements resource.
-
-
Method Details
-
getStep
Gets the link to the step.- Returns:
- The step link.
-
setStep
Sets the link to the step.- Parameters:
step- The step link to set.
-
setStep
Sets the step from a linkable process step.- Parameters:
step- The process step to link to.
-
getConfiguration
Gets the step configuration.- Returns:
- The step configuration.
-
setConfiguration
Sets the step configuration.- Parameters:
configuration- The configuration to set.
-
getSelectedContainers
Gets the list of selected containers. Creates the list if it doesn't exist.- Returns:
- The list of selected containers.
-
addSelectedContainer
Adds a selected container.- Parameters:
container- The container to add.- Returns:
- The created container link.
-
getOutputPlacements
Gets the list of output placements. Creates the list if it doesn't exist.- Returns:
- The list of output placements.
-
addOutputPlacement
Adds an output placement.- Parameters:
placement- The placement to add.- Returns:
- The added placement.
-
addOutputPlacement
public OutputPlacement addOutputPlacement(Linkable<Artifact> artifact, Linkable<Container> container, String wellPosition) Creates and adds an output placement.- Parameters:
artifact- The output artifact.container- The container for the output.wellPosition- The well position in the container.- Returns:
- The created output placement.
-
getUri
Gets the URI of this placements resource. -
setUri
Sets the URI of this placements resource. -
getLink
Get a concrete link object to thisLinkablething.- Specified by:
getLinkin interfaceLinkable<Placements>- Returns:
- A
LimsLinkto this object.
-