Class ReagentLotLink

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

public class ReagentLotLink extends LimsEntityLinkBase<ReagentLot>
Provides a URI linking to the reagent lot details.
Since:
2.18
See Also:
  • Field Details

    • limsid

      protected String limsid
      The LIMS id of the reagent lot.
    • uri

      protected URI uri
      The URI of the reagent lot.
  • Constructor Details

    • ReagentLotLink

      public ReagentLotLink()
      Constructs a new empty ReagentLotLink.
    • ReagentLotLink

      public ReagentLotLink(URI uri)
      Constructs a new ReagentLotLink with the given URI.
      Parameters:
      uri - the URI of the reagent lot.
    • ReagentLotLink

      public ReagentLotLink(URI uri, String limsid)
      Constructs a new ReagentLotLink with the given URI and LIMS id.
      Parameters:
      uri - the URI of the reagent lot.
      limsid - the LIMS id of the reagent lot.
    • ReagentLotLink

      public ReagentLotLink(Linkable<ReagentLot> link)
      Constructs a new ReagentLotLink from a linkable reagent lot.
      Parameters:
      link - the linkable reagent lot.
      Throws:
      NullPointerException - if link is null.
    • ReagentLotLink

      public ReagentLotLink(LimsEntityLinkable<ReagentLot> link)
      Constructs a new ReagentLotLink from a LIMS entity linkable reagent lot.
      Parameters:
      link - the LIMS entity linkable reagent lot.
      Throws:
      NullPointerException - if link is null.
  • Method Details

    • getLimsid

      public String getLimsid()
      Get the LIMS id for this object.
      Returns:
      The LIMS id.
    • setLimsid

      public void setLimsid(String limsid)
      Sets the LIMS id of the reagent lot.
      Parameters:
      limsid - the LIMS id.
    • getUri

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

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

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