Class InstrumentLink

All Implemented Interfaces:
LimsEntityLink<Instrument>, LimsEntityLinkable<Instrument>, LimsLink<Instrument>, Linkable<Instrument>, Locatable, Serializable

public class InstrumentLink extends LimsEntityLinkBase<Instrument>
The instrument element provides a URI to the instrument that is responsible for running the process.
See Also:
  • Field Details

    • uri

      protected URI uri
      The URI of the instrument.
  • Constructor Details

    • InstrumentLink

      public InstrumentLink()
      Default constructor.
    • InstrumentLink

      public InstrumentLink(URI uri)
      Constructor with URI.
      Parameters:
      uri - the URI of the instrument.
    • InstrumentLink

      public InstrumentLink(Linkable<Instrument> link)
      Constructor from a linkable object.
      Parameters:
      link - the linkable object.
  • Method Details

    • getEntityClass

      public Class<Instrument> getEntityClass()
      Gets the entity class.
      Returns:
      the Instrument class.
    • getUri

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

      public void setUri(URI value)
      Sets the URI.
      Parameters:
      value - the URI to set.
    • getLimsid

      public String getLimsid()
      Gets the LIMS id extracted from the URI.
      Returns:
      the LIMS id.
    • setLimsid

      public void setLimsid(String id)
      Sets the LIMS id. This method does nothing as the LIMS id is extracted from the URI.
      Parameters:
      id - the LIMS id to set.