Class Reagents

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

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

    • step

      protected Link step
      Link to the step.
    • configuration

      protected StepConfiguration configuration
      Configuration of the step.
    • reagentCategory

      protected String reagentCategory
      The reagent category for the step.
    • outputReagents

      protected List<Output> outputReagents
      List of output reagents.
    • uri

      protected URI uri
      URI of the reagents resource.
  • Constructor Details

    • Reagents

      public Reagents()
      Default constructor.
    • Reagents

      public Reagents(URI uri)
      Constructor with URI.
      Parameters:
      uri - The URI of the reagents resource.
  • Method Details

    • getStep

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

      public void setStep(Link step)
      Sets the step link.
      Parameters:
      step - The step link.
    • 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.
    • getUri

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

      public void setUri(URI uri)
      Sets the URI.
      Specified by:
      setUri in interface Locatable
      Parameters:
      uri - The URI.
    • getReagentCategory

      public String getReagentCategory()
      The permitted reagent category of the step. Reagent labels used in the POST must be from this reagent category.
      Returns:
      The reagent category.
    • setReagentCategory

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

      public List<Output> getOutputReagents()
      Gets the list of output reagents, creating it if it doesn't exist.
      Returns:
      The list of output reagents.
    • addOutputReagent

      public Output addOutputReagent(Output output)
      Adds an output reagent to the list.
      Parameters:
      output - The output reagent to add.
      Returns:
      The added output reagent.
    • getLink

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