Class Stage

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

public class Stage extends Object implements Linkable<Stage>, Serializable
The detailed representation of a stage.
See Also:
  • Field Details

    • ID_EXTRACTOR_PATTERN

      public static final Pattern ID_EXTRACTOR_PATTERN
      Regular expression to extract workflow id and workflow stage id from a workflow stage URI.
      Since:
      2.22
    • workflow

      protected WorkflowLink workflow
    • protocol

      protected ProtocolLink protocol
    • step

      protected ProtocolStepLink step
    • uri

      protected URI uri
    • name

      protected String name
    • index

      protected Integer index
  • Constructor Details

    • Stage

      public Stage()
    • Stage

      public Stage(URI uri)
    • Stage

      public Stage(URI uri, String name)
  • Method Details

    • getId

      public Integer getId()
      Get the numeric identifier for this workflow stage from its URI.
      Returns:
      The workflow stage id, or null if either the URI is not set or it doesn't match the form expected for a workflow stage URI.
      Since:
      2.22
    • getWorkflowId

      public Integer getWorkflowId()
      Get the numeric identifier for this stage's workflow from its URI.
      Returns:
      The workflow id, or null if either the URI is not set or it doesn't match the form expected for a workflow stage URI.
      Since:
      2.22
    • getWorkflow

      public WorkflowLink getWorkflow()
    • setWorkflow

      public void setWorkflow(Linkable<Workflow> workflow)
    • getProtocol

      public ProtocolLink getProtocol()
    • setProtocol

      public void setProtocol(Linkable<Protocol> protocol)
    • getStep

      public ProtocolStepLink getStep()
    • setStep

      public void setStep(Linkable<ProtocolStep> step)
    • getUri

      public URI getUri()
      Description copied from interface: Locatable
      Get the URI of this object.
      Specified by:
      getUri in interface Locatable
      Returns:
      The URI.
    • setUri

      public void setUri(URI uri)
      Description copied from interface: Locatable
      Set the URI of this object.
      Specified by:
      setUri in interface Locatable
      Parameters:
      uri - The new URI.
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getIndex

      public Integer getIndex()
    • setIndex

      public void setIndex(Integer index)
    • getLink

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