Class LabLink

java.lang.Object
com.genologics.ri.lab.LabLink
All Implemented Interfaces:
LimsEntityLink<Lab>, LimsEntityLinkable<Lab>, LimsLink<Lab>, Linkable<Lab>, Locatable, Serializable

public class LabLink extends Object implements LimsEntityLink<Lab>, Serializable
Lab-link is a child element type of labs and provides a URI linking to the detailed representation of a lab.
See Also:
  • Field Details

    • uri

      protected URI uri
    • name

      protected String name
  • Constructor Details

    • LabLink

      public LabLink()
    • LabLink

      public LabLink(URI uri)
    • LabLink

      public LabLink(URI uri, String name)
    • LabLink

      public LabLink(Linkable<Lab> link)
  • Method Details

    • getEntityClass

      public Class<Lab> getEntityClass()
      Description copied from interface: LimsLink
      Get the class of the true, full LIMS entity this object links to.
      Specified by:
      getEntityClass in interface LimsLink<Lab>
      Returns:
      The real object class.
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getUri

      public URI getUri()
      Description copied from interface: LimsLink
      Get the URI of the object we are linking to.
      Specified by:
      getUri in interface LimsLink<Lab>
      Specified by:
      getUri in interface Locatable
      Returns:
      The URI.
    • setUri

      public void setUri(URI uri)
      Description copied from interface: Locatable
      Set the URI of this object.
      Specified by:
      setUri in interface Locatable
      Parameters:
      uri - The new URI.
    • getLimsid

      public String getLimsid()
      Description copied from interface: LimsEntityLinkable
      Get the LIMS id for this object.
      Specified by:
      getLimsid in interface LimsEntityLinkable<Lab>
      Returns:
      The LIMS id.
    • setLimsid

      public void setLimsid(String id)
      Description copied from interface: LimsEntityLinkable
      Set the LIMS id for this object.
      Specified by:
      setLimsid in interface LimsEntityLinkable<Lab>
      Parameters:
      id - The new LIMS id.
    • toString

      public String toString()
      Overrides:
      toString in class Object