Class WorkflowLink

java.lang.Object
com.genologics.ri.LimsLinkBase<Workflow>
com.genologics.ri.workflowconfiguration.WorkflowLink
All Implemented Interfaces:
LimsLink<Workflow>, Linkable<Workflow>, Locatable, Serializable

public class WorkflowLink extends LimsLinkBase<Workflow>
Workflow-link is a child element type of workflows and provides a URI linking to the detailed representation of a workflow.
See Also:
  • Field Details

    • uri

      protected URI uri
      The URI of the workflow.
    • name

      protected String name
      The name of the workflow.
    • status

      protected Status status
      The status of the workflow.
  • Constructor Details

    • WorkflowLink

      public WorkflowLink()
      Default constructor.
    • WorkflowLink

      public WorkflowLink(URI uri)
      Constructor accepting a URI.
      Parameters:
      uri - The workflow URI.
    • WorkflowLink

      public WorkflowLink(URI uri, String name)
      Constructor accepting a URI and name.
      Parameters:
      uri - The workflow URI.
      name - The workflow name.
    • WorkflowLink

      public WorkflowLink(URI uri, String name, Status status)
      Constructor accepting a URI, name, and status.
      Parameters:
      uri - The workflow URI.
      name - The workflow name.
      status - The workflow status.
    • WorkflowLink

      public WorkflowLink(Linkable<Workflow> link)
      Constructor accepting a Linkable object.
      Parameters:
      link - The linkable workflow object.
    • WorkflowLink

      public WorkflowLink(Workflow workflow)
      Constructor accepting a Workflow object.
      Parameters:
      workflow - The workflow to link to.
  • Method Details

    • getEntityClass

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

      public URI getUri()
      Gets the URI of the workflow.
      Returns:
      The workflow URI.
    • setUri

      public void setUri(URI uri)
      Sets the URI of the workflow.
      Parameters:
      uri - The workflow URI.
    • getName

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

      public void setName(String name)
      Sets the name of the workflow.
      Parameters:
      name - The workflow name.
    • getStatus

      public Status getStatus()
      Gets the status of the workflow.
      Returns:
      The workflow status.
    • setStatus

      public void setStatus(Status status)
      Sets the status of the workflow.
      Parameters:
      status - The workflow status.
    • toString

      public String toString()
      Returns a string representation of this workflow link.
      Overrides:
      toString in class LimsLinkBase<Workflow>
      Returns:
      The workflow LIMS id and name.
      See Also: