Class ContainerLink

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

public class ContainerLink extends LimsEntityLinkBase<Container>
Container is a child element of location and provides a URI linking to the detailed representation of the Container for the location.
See Also:
  • Field Details

    • uri

      protected URI uri
      The URI of the container.
    • limsid

      protected String limsid
      The LIMS id of the container.
  • Constructor Details

    • ContainerLink

      public ContainerLink()
      Default constructor.
    • ContainerLink

      public ContainerLink(URI uri)
      Constructor with URI.
      Parameters:
      uri - The URI of the container.
    • ContainerLink

      public ContainerLink(URI uri, String limsid)
      Constructor with URI and LIMS id.
      Parameters:
      uri - The URI of the container.
      limsid - The LIMS id of the container.
    • ContainerLink

      public ContainerLink(Linkable<Container> link)
      Constructor from a linkable container.
      Parameters:
      link - The linkable container.
    • ContainerLink

      public ContainerLink(LimsEntityLinkable<Container> link)
      Constructor from a LIMS entity linkable container.
      Parameters:
      link - The LIMS entity linkable container.
  • Method Details

    • getEntityClass

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

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

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

      public String getLimsid()
      Gets the LIMS id of the container.
      Returns:
      The LIMS id.
    • setLimsid

      public void setLimsid(String limsid)
      Sets the LIMS id of the container.
      Parameters:
      limsid - The LIMS id.