Class ProtocolLink

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

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

    • uri

      protected URI uri
      The URI of the protocol.
    • name

      protected String name
      The name of the protocol.
  • Constructor Details

    • ProtocolLink

      public ProtocolLink()
      Default constructor.
    • ProtocolLink

      public ProtocolLink(URI uri)
      Constructor accepting a URI.
      Parameters:
      uri - The protocol URI.
    • ProtocolLink

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

      public ProtocolLink(Linkable<Protocol> link)
      Constructor accepting a Linkable object.
      Parameters:
      link - The linkable protocol object.
    • ProtocolLink

      public ProtocolLink(Protocol protocol)
      Constructor accepting a Protocol object.
      Parameters:
      protocol - The protocol to link to.
  • Method Details

    • getEntityClass

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

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

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

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

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

      public String toString()
      Returns a string representation of this protocol link.
      Overrides:
      toString in class LimsLinkBase<Protocol>
      Returns:
      The protocol URI and name.
      See Also: