Class LabLink

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

public class LabLink extends LimsEntityLinkBase<Lab>
Lab is a child element of researcher and provides a URI linking to the detailed representation of the lab for the researcher.
See Also:
  • Field Details

    • uri

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

    • LabLink

      public LabLink()
      Default constructor.
    • LabLink

      public LabLink(URI uri)
      Constructor with URI.
      Parameters:
      uri - The URI to the lab.
    • LabLink

      public LabLink(Linkable<Lab> link)
      Constructor from a linkable object.
      Parameters:
      link - The linkable object containing the lab URI.
  • Method Details

    • getEntityClass

      public Class<Lab> getEntityClass()
      Gets the entity class this link refers to.
      Returns:
      The Lab class.
    • getUri

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

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

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

      public void setLimsid(String id)
      Sets the LIMS id. This operation does nothing for this link type.
      Parameters:
      id - The LIMS id.