Class AutomationLink

java.lang.Object
com.genologics.ri.LimsLinkBase<Automation>
com.genologics.ri.automation.AutomationLink
All Implemented Interfaces:
LimsLink<Automation>, Linkable<Automation>, Locatable, Serializable

public class AutomationLink extends LimsLinkBase<Automation>
A link to an Automation entity.
Since:
2.26
See Also:
  • Field Details

    • uri

      protected URI uri
      The URI of the automation.
    • name

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

    • AutomationLink

      public AutomationLink()
      Default constructor.
    • AutomationLink

      public AutomationLink(URI uri)
      Constructor with URI.
      Parameters:
      uri - The automation URI.
    • AutomationLink

      public AutomationLink(URI uri, String name)
      Constructor with URI and name.
      Parameters:
      uri - The automation URI.
      name - The automation name.
    • AutomationLink

      public AutomationLink(Linkable<Automation> link)
      Constructor from a Linkable.
      Parameters:
      link - The linkable automation.
    • AutomationLink

      public AutomationLink(Automation automation)
      Constructor from an Automation entity.
      Parameters:
      automation - The automation entity.
  • Method Details

    • getUri

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

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

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

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

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

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