Class ResearcherLink

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

public class ResearcherLink extends LimsEntityLinkBase<Researcher>
Researcher is a child element of the reagent lot. It provides a URI linking to the detailed representation of the required researcher.
Since:
2.18
See Also:
  • Field Details

    • uri

      protected URI uri
      The URI of the researcher.
  • Constructor Details

    • ResearcherLink

      public ResearcherLink()
      Default constructor.
    • ResearcherLink

      public ResearcherLink(URI uri)
      Constructor with URI.
      Parameters:
      uri - The researcher URI.
    • ResearcherLink

      public ResearcherLink(Linkable<Researcher> link)
      Constructor from a linkable researcher.
      Parameters:
      link - The linkable researcher.
  • Method Details

    • getUri

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

      public void setUri(URI uri)
      Sets the URI of the researcher.
      Parameters:
      uri - The researcher 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.
    • getEntityClass

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