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 input-output-map and provides a link to an Artifact that was either an input or output of the Step for the input-output-map.
Since:
2.18
See Also:
  • Field Details

    • type

      protected OutputType type
      The type of the artifact output.
    • outputGenerationType

      protected OutputGenerationType outputGenerationType
      The output generation type.
    • uri

      protected URI uri
      URI of the artifact.
    • limsid

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

    • ArtifactLink

      public ArtifactLink()
      Default constructor.
    • ArtifactLink

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

      public ArtifactLink(URI uri, String limsid)
      Constructor with 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 from a linkable object.
      Parameters:
      link - The linkable object.
    • ArtifactLink

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

      public ArtifactLink(Artifact artifact)
      Constructor from an artifact.
      Parameters:
      artifact - The artifact.
  • Method Details

    • getType

      public OutputType getType()
      Gets the output type.
      Returns:
      The output type.
    • setType

      public void setType(OutputType type)
      Sets the output type.
      Parameters:
      type - The output type.
    • getOutputGenerationType

      public OutputGenerationType getOutputGenerationType()
      Gets the output generation type.
      Returns:
      The output generation type.
    • setOutputGenerationType

      public void setOutputGenerationType(OutputGenerationType outputGenerationType)
      Sets the output generation type.
      Parameters:
      outputGenerationType - The output generation type.
    • getUri

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

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

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

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

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