Class ArtifactLink

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

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

    • uri

      protected URI uri
      The URI of this artifact.
    • limsid

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

    • ArtifactLink

      public ArtifactLink()
      Default constructor.
    • ArtifactLink

      public ArtifactLink(URI uri)
      Constructor taking a URI.
      Parameters:
      uri - The artifact URI.
    • ArtifactLink

      public ArtifactLink(URI uri, String limsid)
      Constructor taking a URI and LIMS id.
      Parameters:
      uri - The artifact URI.
      limsid - The artifact LIMS id.
    • ArtifactLink

      public ArtifactLink(Linkable<Artifact> link)
      Constructor from a Linkable.
      Parameters:
      link - The linkable object to copy.
    • ArtifactLink

      public ArtifactLink(LimsEntityLinkable<Artifact> link)
      Constructor from a LimsEntityLinkable.
      Parameters:
      link - The LIMS entity linkable object to copy.
  • Method Details

    • getEntityClass

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

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

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

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

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