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 Process for the input-output-map.
See Also:
  • Field Details

    • uri

      protected URI uri
      The URI of the artifact.
    • limsid

      protected String limsid
      The LIMS id of the artifact.
    • outputType

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

      protected OutputGenerationType outputGenerationType
      The output generation type of the artifact.
    • postProcessUri

      protected URI postProcessUri
      The post-process URI of the artifact.
    • parentProcess

      protected ParentProcessLink parentProcess
      The parent process link.
  • 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

    • getEntityClass

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

      public ParentProcessLink getParentProcess()
      Gets the parent process link.
      Returns:
      the parent process link.
    • setParentProcess

      public ParentProcessLink setParentProcess(LimsEntityLinkable<ClarityProcess> parentProcess)
      Sets the parent process from a LIMS entity linkable object.
      Parameters:
      parentProcess - the parent process LIMS entity linkable.
      Returns:
      the created parent process link.
    • 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 to set.
    • getOutputType

      public OutputType getOutputType()
      Gets the output type.
      Returns:
      the output type.
    • setOutputType

      public void setOutputType(OutputType outputType)
      Sets the output type.
      Parameters:
      outputType - the output type to set.
    • 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 to set.
    • getUri

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

      public void setUri(URI uri)
      Sets the URI.
      Parameters:
      uri - the URI to set.
    • getPostProcessUri

      public URI getPostProcessUri()
      Gets the post-process URI.
      Returns:
      the post-process URI.
    • setPostProcessUri

      public void setPostProcessUri(URI postProcessUri)
      Sets the post-process URI.
      Parameters:
      postProcessUri - the post-process URI to set.