Class ProtocolLink

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

public class ProtocolLink extends LimsLinkBase<Protocol>
Link to a protocol configuration.
See Also:
  • Field Details

    • name

      protected String name
      The name of the protocol.
    • uri

      protected URI uri
      The URI to the protocol.
  • Constructor Details

    • ProtocolLink

      public ProtocolLink()
      Default constructor.
    • ProtocolLink

      public ProtocolLink(URI uri)
      Constructor with URI.
      Parameters:
      uri - The URI to the protocol.
    • ProtocolLink

      public ProtocolLink(URI uri, String name)
      Constructor with URI and name.
      Parameters:
      uri - The URI to the protocol.
      name - The name of the protocol.
    • ProtocolLink

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

      public ProtocolLink(Protocol protocol)
      Constructor from a protocol.
      Parameters:
      protocol - The protocol.
  • Method Details

    • getName

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

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

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

      public void setUri(URI value)
      Sets the URI to the protocol.
      Parameters:
      value - The URI.
    • getEntityClass

      public Class<Protocol> getEntityClass()
      Gets the entity class this link refers to.
      Returns:
      The Protocol class.
    • 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: