Class NextStep

java.lang.Object
com.genologics.ri.LimsLinkBase<ProtocolStep>
com.genologics.ri.stepconfiguration.NextStep
All Implemented Interfaces:
LimsLink<ProtocolStep>, Linkable<ProtocolStep>, Locatable, Serializable

public class NextStep extends LimsLinkBase<ProtocolStep>
List of step transitions including the URI allowing access to the specific next step
See Also:
  • Field Details

    • name

      protected String name
      The name of the next step.
    • sequence

      protected Integer sequence
      The sequence index of the next step.
    • nextStepUri

      protected URI nextStepUri
      The URI of the next step.
  • Constructor Details

    • NextStep

      public NextStep()
      Default constructor.
    • NextStep

      public NextStep(URI nextStepUri)
      Constructor with next step URI.
      Parameters:
      nextStepUri - The URI of the next step.
    • NextStep

      public NextStep(URI nextStepUri, String name)
      Constructor with next step URI and name.
      Parameters:
      nextStepUri - The URI of the next step.
      name - The name of the next step.
    • NextStep

      public NextStep(URI nextStepUri, String name, Integer sequence)
      Constructor with next step URI, name, and sequence.
      Parameters:
      nextStepUri - The URI of the next step.
      name - The name of the next step.
      sequence - The sequence index of the next step.
    • NextStep

      public NextStep(ProtocolStep step)
      Constructor from a protocol step entity.
      Parameters:
      step - The protocol step entity.
  • Method Details

    • getName

      public String getName()
      Gets the name of the next step.
      Returns:
      The next step name.
    • setName

      public void setName(String name)
      Sets the name of the next step.
      Parameters:
      name - The next step name.
    • getSequence

      public Integer getSequence()
      Gets the sequence index of the next step.
      Returns:
      The sequence index.
    • setSequence

      public void setSequence(Integer sequence)
      Sets the sequence index of the next step.
      Parameters:
      sequence - The sequence index.
    • getNextStepUri

      public URI getNextStepUri()
      Gets the URI of the next step.
      Returns:
      The next step URI.
    • getUri

      public URI getUri()
      Gets the URI of the next step (alias for getNextStepUri).
      Returns:
      The next step URI.
    • setNextStepUri

      public void setNextStepUri(URI nextStepUri)
      Sets the URI of the next step.
      Parameters:
      nextStepUri - The next step URI.
    • setNextStep

      public void setNextStep(Linkable<ProtocolStep> step)
      Sets the next step from a linkable protocol step.
      Parameters:
      step - The linkable protocol step.
    • setUri

      public void setUri(URI nextStepUri)
      Sets the URI of the next step (alias for setNextStepUri).
      Parameters:
      nextStepUri - The next step URI.
    • getEntityClass

      public Class<ProtocolStep> getEntityClass()
      Gets the entity class for this link.
      Returns:
      The ProtocolStep class.
    • toString

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