Class Pools

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

public class Pools extends Object implements Linkable<Pools>, Serializable
The detailed representation of a step's pooled inputs.
See Also:
  • Field Details

    • step

      protected Link step
      The link to the step.
    • configuration

      protected StepConfiguration configuration
      The configuration for this step.
    • pooledInputs

      protected List<PooledInputs> pooledInputs
      The list of pooled input groups.
    • availableInputs

      protected List<Input> availableInputs
      The list of available input artifacts that can be pooled.
    • uri

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

    • Pools

      public Pools()
      Default constructor.
    • Pools

      public Pools(URI uri)
      Constructor with URI.
      Parameters:
      uri - The URI of this pools 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.
    • 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.
    • getUri

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

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

      public List<PooledInputs> getPooledInputs()
      Gets the list of pooled input groups. Creates the list if it doesn't exist.
      Returns:
      The list of pooled inputs.
    • addPooledInputs

      public PooledInputs addPooledInputs(PooledInputs inputs)
      Adds a pooled input group.
      Parameters:
      inputs - The pooled inputs to add.
      Returns:
      The added pooled inputs.
    • addPooledInputs

      public PooledInputs addPooledInputs(Collection<? extends Linkable<Artifact>> inputArtifacts, String poolName, Linkable<Artifact> outputArtifact)
      Creates and adds a pooled input group.
      Parameters:
      inputArtifacts - The collection of input artifacts to pool.
      poolName - The name of the pool.
      outputArtifact - The output artifact created from this pool.
      Returns:
      The created pooled inputs.
    • getAvailableInputs

      public List<Input> getAvailableInputs()
      Gets the list of available input artifacts. Creates the list if it doesn't exist.
      Returns:
      The list of available inputs.
    • addAvailableInput

      public Input addAvailableInput(Input input)
      Adds an available input artifact.
      Parameters:
      input - The input to add.
      Returns:
      The added input.
    • addAvailableInput

      public Input addAvailableInput(Linkable<Artifact> artifact)
      Creates and adds an available input from an artifact.
      Parameters:
      artifact - The artifact to add as an available input.
      Returns:
      The created input.
    • getLink

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