Class OutputPlacement

java.lang.Object
com.genologics.ri.LimsLinkBase<Artifact>
com.genologics.ri.step.OutputPlacement
All Implemented Interfaces:
LimsLink<Artifact>, Linkable<Artifact>, Locatable, Serializable

public class OutputPlacement extends LimsLinkBase<Artifact>
Provides a URI linking to the output artifact and container placement.
See Also:
  • Field Details

    • location

      protected Location location
      The location of the output artifact in a container.
    • uri

      protected URI uri
      The URI of the output artifact.
  • Constructor Details

    • OutputPlacement

      public OutputPlacement()
      Default constructor.
    • OutputPlacement

      public OutputPlacement(Linkable<Artifact> artifact)
      Constructor with artifact.
      Parameters:
      artifact - The output artifact.
    • OutputPlacement

      public OutputPlacement(Linkable<Artifact> artifact, LimsEntityLinkable<Container> container, String wellPosition)
      Constructor with artifact, container and well position.
      Parameters:
      artifact - The output artifact.
      container - The container for the output artifact.
      wellPosition - The well position in the container.
    • OutputPlacement

      public OutputPlacement(Linkable<Artifact> artifact, Linkable<Container> container, String wellPosition)
      Constructor with artifact, container and well position.
      Parameters:
      artifact - The output artifact.
      container - The container for the output artifact.
      wellPosition - The well position in the container.
  • Method Details

    • getLocation

      public Location getLocation()
      Gets the location of the output artifact.
      Returns:
      The location.
    • setLocation

      public void setLocation(Location location)
      Sets the location of the output artifact.
      Parameters:
      location - The location to set.
    • setLocation

      public void setLocation(LimsEntityLinkable<Container> container, String wellPosition)
      Sets the location from a container and well position.
      Parameters:
      container - The container for the output artifact.
      wellPosition - The well position in the container.
    • setLocation

      public void setLocation(Linkable<Container> container, String wellPosition)
      Sets the location from a container and well position.
      Parameters:
      container - The container for the output artifact.
      wellPosition - The well position in the container.
    • getUri

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

      public void setUri(URI artifactUri)
      Sets the URI of the output artifact.
      Parameters:
      artifactUri - The artifact URI to set.
    • setArtifact

      public void setArtifact(Linkable<Artifact> artifact)
      Sets the artifact for this output placement.
      Parameters:
      artifact - The artifact to set.
    • getEntityClass

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

      public String toString()
      Returns a string representation of this output placement.
      Overrides:
      toString in class LimsLinkBase<Artifact>
      Returns:
      The artifact LIMS id and the location.
      See Also: