Class NextAction

java.lang.Object
com.genologics.ri.LimsLinkBase<Artifact>
com.genologics.ri.step.NextAction
All Implemented Interfaces:
LimsLink<Artifact>, Linkable<Artifact>, Locatable, Serializable

public class NextAction extends LimsLinkBase<Artifact>
Sample next action or step.
See Also:
  • Field Details

    • artifactUri

      protected URI artifactUri
      URI of the artifact.
    • action

      protected ActionType action
      The action type.
    • stepUri

      protected URI stepUri
      URI of the next step.
    • reworkStepUri

      protected URI reworkStepUri
      URI of the rework step.
      Since:
      2.20
  • Constructor Details

    • NextAction

      public NextAction()
      Default constructor.
    • NextAction

      public NextAction(URI artifactUri)
      Constructor with artifact URI.
      Parameters:
      artifactUri - The URI of the artifact.
    • NextAction

      public NextAction(URI artifactUri, ActionType action)
      Constructor with artifact URI and action.
      Parameters:
      artifactUri - The URI of the artifact.
      action - The action type.
    • NextAction

      public NextAction(URI artifactUri, ActionType action, Linkable<ProtocolStep> nextStep)
      Constructor with artifact URI, action, and next step.
      Parameters:
      artifactUri - The URI of the artifact.
      action - The action type.
      nextStep - The linkable next protocol step.
    • NextAction

      public NextAction(Linkable<Artifact> link)
      Constructor from a linkable artifact.
      Parameters:
      link - The linkable artifact.
    • NextAction

      public NextAction(Linkable<Artifact> link, ActionType action)
      Constructor from a linkable artifact and action.
      Parameters:
      link - The linkable artifact.
      action - The action type.
    • NextAction

      public NextAction(Linkable<Artifact> link, ActionType action, Linkable<ProtocolStep> nextStep)
      Constructor from a linkable artifact, action, and next step.
      Parameters:
      link - The linkable artifact.
      action - The action type.
      nextStep - The linkable next protocol step.
  • Method Details

    • getArtifactUri

      public URI getArtifactUri()
      Gets the artifact URI.
      Returns:
      The artifact URI.
    • setArtifactUri

      public void setArtifactUri(URI artifactUri)
      Sets the artifact URI.
      Parameters:
      artifactUri - The artifact URI.
    • setArtifact

      public void setArtifact(Linkable<Artifact> link)
      Sets the artifact.
      Parameters:
      link - The linkable artifact.
    • getAction

      public ActionType getAction()
      Gets the action type.
      Returns:
      The action type.
    • setAction

      public void setAction(ActionType action)
      Sets the action type.
      Parameters:
      action - The action type.
    • getStepUri

      public URI getStepUri()
      Gets the step URI.
      Returns:
      The step URI.
    • setStepUri

      public void setStepUri(URI stepUri)
      Sets the step URI.
      Parameters:
      stepUri - The step URI.
    • setStep

      public void setStep(Linkable<ProtocolStep> step)
      Sets the next step.
      Parameters:
      step - The linkable protocol step.
    • getReworkStepUri

      public URI getReworkStepUri()
      Gets the rework step URI.
      Returns:
      The rework step URI.
    • setReworkStepUri

      public void setReworkStepUri(URI reworkStepUri)
      Sets the rework step URI.
      Parameters:
      reworkStepUri - The rework step URI.
    • setReworkStep

      public void setReworkStep(Linkable<ProtocolStep> step)
      Sets the rework step.
      Parameters:
      step - The linkable protocol step.
    • setUri

      public void setUri(URI uri)
      Sets the URI (artifact URI).
      Parameters:
      uri - The URI.
    • getUri

      public URI getUri()
      Gets the URI (artifact URI).
      Returns:
      The URI.
    • getEntityClass

      public Class<Artifact> getEntityClass()
      Gets the entity class.
      Returns:
      The Artifact class.
    • toString

      public String toString()
      Produces a string representation of this next action.
      Overrides:
      toString in class LimsLinkBase<Artifact>
      Returns:
      A string representation.
      See Also: