Class Placements

java.lang.Object
com.genologics.ri.step.Placements
All Implemented Interfaces:
Linkable<Placements>, Locatable, Serializable

public class Placements extends Object implements Linkable<Placements>, Serializable
The detailed representation of a step's output artifact container placements
See Also:
  • Field Details

    • step

      protected Link step
      The link to the step.
    • configuration

      protected StepConfiguration configuration
      The configuration for this step.
    • selectedContainers

      protected List<ContainerLink> selectedContainers
      The list of selected containers.
    • outputPlacements

      protected List<OutputPlacement> outputPlacements
      The list of output placements.
    • uri

      protected URI uri
      The URI of this placements resource.
  • Constructor Details

    • Placements

      public Placements()
      Default constructor.
    • Placements

      public Placements(URI uri)
      Constructor with URI.
      Parameters:
      uri - The URI of this placements resource.
  • Method Details

    • getStep

      public Link getStep()
      Gets the link to the step.
      Returns:
      The step link.
    • setStep

      public void setStep(Link step)
      Sets the link to the step.
      Parameters:
      step - The step link to set.
    • setStep

      public void setStep(Linkable<ProcessStep> step)
      Sets the step from a linkable process step.
      Parameters:
      step - The process step to link to.
    • getConfiguration

      public StepConfiguration getConfiguration()
      Gets the step configuration.
      Returns:
      The step configuration.
    • setConfiguration

      public void setConfiguration(StepConfiguration configuration)
      Sets the step configuration.
      Parameters:
      configuration - The configuration to set.
    • getSelectedContainers

      public List<ContainerLink> getSelectedContainers()
      Gets the list of selected containers. Creates the list if it doesn't exist.
      Returns:
      The list of selected containers.
    • addSelectedContainer

      public ContainerLink addSelectedContainer(Linkable<Container> container)
      Adds a selected container.
      Parameters:
      container - The container to add.
      Returns:
      The created container link.
    • getOutputPlacements

      public List<OutputPlacement> getOutputPlacements()
      Gets the list of output placements. Creates the list if it doesn't exist.
      Returns:
      The list of output placements.
    • addOutputPlacement

      public OutputPlacement addOutputPlacement(OutputPlacement placement)
      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

      public URI getUri()
      Gets the URI of this placements resource.
      Specified by:
      getUri in interface Locatable
      Returns:
      The URI.
    • setUri

      public void setUri(URI uri)
      Sets the URI of this placements resource.
      Specified by:
      setUri in interface Locatable
      Parameters:
      uri - The URI to set.
    • getLink

      public LimsLink<Placements> getLink()
      Get a concrete link object to this Linkable thing.
      Specified by:
      getLink in interface Linkable<Placements>
      Returns:
      A LimsLink to this object.