Class InstrumentTypeLink

java.lang.Object
com.genologics.ri.LimsLinkBase<InstrumentType>
com.genologics.ri.instrumenttype.InstrumentTypeLink
All Implemented Interfaces:
LimsLink<InstrumentType>, Linkable<InstrumentType>, Locatable, Serializable

public class InstrumentTypeLink extends LimsLinkBase<InstrumentType>
Instrument-type-link provides a URI linking to the detailed representation of an instrument type.
Since:
2.24
See Also:
  • Field Details

    • uri

      protected URI uri
      The URI of the instrument type.
    • name

      protected String name
      The instrument type name.
    • vendor

      protected String vendor
      The instrument vendor.
  • Constructor Details

    • InstrumentTypeLink

      public InstrumentTypeLink()
      Default constructor.
    • InstrumentTypeLink

      public InstrumentTypeLink(URI uri)
      Constructor with URI.
      Parameters:
      uri - The instrument type URI.
    • InstrumentTypeLink

      public InstrumentTypeLink(URI uri, String name)
      Constructor with URI and name.
      Parameters:
      uri - The instrument type URI.
      name - The instrument type name.
    • InstrumentTypeLink

      public InstrumentTypeLink(URI uri, String name, String vendor)
      Constructor with URI, name and vendor.
      Parameters:
      uri - The instrument type URI.
      name - The instrument type name.
      vendor - The instrument vendor.
    • InstrumentTypeLink

      public InstrumentTypeLink(Linkable<InstrumentType> link)
      Constructor from a linkable instrument type.
      Parameters:
      link - The linkable instrument type.
    • InstrumentTypeLink

      public InstrumentTypeLink(InstrumentType instrumentType)
      Constructor from an instrument type.
      Parameters:
      instrumentType - The instrument type.
  • Method Details

    • getName

      public String getName()
      Get the instrument type name.
      Returns:
      The instrument type name.
    • setName

      public void setName(String value)
      Set the instrument type name.
      Parameters:
      value - The instrument type name.
    • getVendor

      public String getVendor()
      Get the instrument vendor.
      Returns:
      The instrument vendor.
    • setVendor

      public void setVendor(String value)
      Set the instrument vendor.
      Parameters:
      value - The instrument vendor.
    • getUri

      public URI getUri()
      Get the URI of the object we are linking to.
      Returns:
      The URI.
    • setUri

      public void setUri(URI value)
      Set the URI of this object.
      Parameters:
      value - The new URI.
    • getEntityClass

      public Class<InstrumentType> getEntityClass()
      Get the class of the true, full LIMS entity this object links to.
      Returns:
      The real object class.
    • toString

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