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 Project and provides a URI linking to the detailed representation of the Researcher for the Project.
See Also:
  • Field Details

    • uri

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

    • ResearcherLink

      public ResearcherLink()
      Constructor for ResearcherLink.
    • ResearcherLink

      public ResearcherLink(URI uri)
      Constructor for ResearcherLink with a URI.
      Parameters:
      uri - The URI of the researcher.
    • ResearcherLink

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

    • getEntityClass

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

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

      public void setUri(URI value)
      Set the URI of the researcher.
      Parameters:
      value - The new URI.
    • getLimsid

      public String getLimsid()
      Get the LIMS id of the researcher.
      Returns:
      The LIMS id extracted from the URI.
    • setLimsid

      public void setLimsid(String id)
      Set the LIMS id of the researcher.
      Parameters:
      id - The new LIMS id (ignored by this implementation).