Class ReagentLots

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

public class ReagentLots extends Object implements Linkable<ReagentLots>, Serializable
The list representation of a step's reagent lots.
Since:
2.18
See Also:
  • Field Details

    • step

      protected Link step
      Provides a URI linking to the step resource.
    • configuration

      protected StepConfiguration configuration
      Provides a URI linking to the configuration resource that identifies the protocol step.
    • reagentLots

      protected List<ReagentLotLink> reagentLots
      The list of reagent lots associated with the step.
    • uri

      protected URI uri
      The URI of the reagent lots resource.
  • Constructor Details

    • ReagentLots

      public ReagentLots()
  • 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.
    • getReagentLots

      public List<ReagentLotLink> getReagentLots()
      Gets the list of reagent lot links.
      Returns:
      The list of reagent lot links, never null.
    • addReagentLot

      public ReagentLotLink addReagentLot(ReagentLotLink link)
      Adds a reagent lot link to the list.
      Parameters:
      link - The reagent lot link to add.
      Returns:
      The reagent lot link that was added.
    • addReagentLot

      public ReagentLotLink addReagentLot(LimsEntityLinkable<ReagentLot> lot)
      Adds a reagent lot to the list by creating a link from the linkable object.
      Parameters:
      lot - The reagent lot linkable object.
      Returns:
      The reagent lot link that was created and added.
    • getUri

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

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

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