Class ProjectLink

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

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

    • uri

      protected URI uri
      The URI of the project.
    • limsid

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

    • ProjectLink

      public ProjectLink()
      Constructor for an empty project link.
    • ProjectLink

      public ProjectLink(URI uri)
      Constructor for a project link with a URI.
      Parameters:
      uri - The URI of the project.
    • ProjectLink

      public ProjectLink(URI uri, String limsid)
      Constructor for a project link with a URI and LIMS id.
      Parameters:
      uri - The URI of the project.
      limsid - The LIMS id of the project.
    • ProjectLink

      public ProjectLink(Linkable<Project> link)
      Constructor for a project link from a linkable project.
      Parameters:
      link - The linkable project.
    • ProjectLink

      public ProjectLink(LimsEntityLinkable<Project> link)
      Constructor for a project link from a LIMS entity linkable project.
      Parameters:
      link - The LIMS entity linkable project.
  • Method Details

    • getEntityClass

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

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

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

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

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