Class ProjectLink

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

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

    • name

      protected String name
      The name of the project.
    • limsid

      protected String limsid
      The LIMS id of the project.
    • uri

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

    • ProjectLink

      public ProjectLink()
      Constructor for ProjectLink.
    • ProjectLink

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

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

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

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

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

      public ProjectLink(Project project)
      Constructor for ProjectLink from a Project.
      Parameters:
      project - The project.
  • Method Details

    • getEntityClass

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

      public String getName()
      Get the name of the project.
      Returns:
      The project name.
    • setName

      public void setName(String name)
      Set the name of the project.
      Parameters:
      name - The new project name.
    • getLimsid

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

      public void setLimsid(String limsid)
      Set the LIMS id of the project.
      Parameters:
      limsid - The new LIMS id.
    • getUri

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

      public void setUri(URI uri)
      Set the URI of the project.
      Parameters:
      uri - The new URI.