Class ArtifactLink

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

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

    • uri

      protected URI uri
      The URI of the artifact.
    • limsid

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

    • ArtifactLink

      public ArtifactLink()
      Constructor for an empty artifact link.
    • ArtifactLink

      public ArtifactLink(URI uri)
      Constructor for an artifact link with a URI.
      Parameters:
      uri - The URI of the artifact.
    • ArtifactLink

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

      public ArtifactLink(Linkable<Artifact> link)
      Constructor for an artifact link from a linkable artifact.
      Parameters:
      link - The linkable artifact.
    • ArtifactLink

      public ArtifactLink(LimsEntityLinkable<Artifact> link)
      Constructor for an artifact link from a LIMS entity linkable artifact.
      Parameters:
      link - The LIMS entity linkable artifact.
  • Method Details

    • getEntityClass

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

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

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

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

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