Class StepCreation

java.lang.Object
com.genologics.ri.step.StepCreation
All Implemented Interfaces:
Serializable

public class StepCreation extends Object implements Serializable
A request to create a step.
Since:
2.18
See Also:
  • Field Details

    • configuration

      protected StepConfiguration configuration
      The configuration for the step.
    • containerType

      protected String containerType
      The name of the container type to be used for outputs.
    • reagentCategory

      protected String reagentCategory
      The reagent category name.
    • inputs

      protected List<CreationInput> inputs
      The list of input artifacts for the step.
  • Constructor Details

    • StepCreation

      public StepCreation()
      Default constructor.
    • StepCreation

      public StepCreation(StepConfiguration configuration)
      Constructor taking the step configuration.
      Parameters:
      configuration - The step configuration.
    • StepCreation

      public StepCreation(Linkable<ProtocolStep> step)
      Constructor taking a protocol step link.
      Parameters:
      step - The protocol step link.
    • StepCreation

      public StepCreation(ProtocolStep step)
      Constructor taking a protocol step.
      Parameters:
      step - The protocol step.
  • Method Details

    • 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 step configuration.
    • setConfiguration

      public void setConfiguration(Linkable<ProtocolStep> step)
      Sets the step configuration from a protocol step link.
      Parameters:
      step - The protocol step link.
    • setConfiguration

      public void setConfiguration(ProtocolStep step)
      Sets the step configuration from a protocol step.
      Parameters:
      step - The protocol step.
    • getContainerType

      public String getContainerType()
      Gets the container type name.
      Returns:
      The container type name.
    • setContainerType

      public void setContainerType(String containerType)
      Sets the container type name.
      Parameters:
      containerType - The container type name.
    • setContainerType

      public void setContainerType(ContainerType containerType)
      Sets the container type from a container type object.
      Parameters:
      containerType - The container type object.
    • getReagentCategory

      public String getReagentCategory()
      Gets the reagent category name.
      Returns:
      The reagent category name.
    • setReagentCategory

      public void setReagentCategory(String reagentCategory)
      Sets the reagent category name.
      Parameters:
      reagentCategory - The reagent category name.
    • getInputs

      public List<CreationInput> getInputs()
      Gets the list of input artifacts for the step.
      Returns:
      The list of inputs.
    • addInput

      public CreationInput addInput(CreationInput input)
      Adds an input to the step.
      Parameters:
      input - The input to add.
      Returns:
      The added input.
    • addInput

      public CreationInput addInput(Linkable<Artifact> artifact, Linkable<ControlType> controlType, Long replicates)
      Creates and adds an input to the step.
      Parameters:
      artifact - The input artifact.
      controlType - The control type for the input, or null if not a control.
      replicates - The number of replicates for the input.
      Returns:
      The created and added input.