Provides a URI linking to the output artifact and container placement.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.OutputPlacement(Linkable<Artifact> artifact) Constructor with artifact.OutputPlacement(Linkable<Artifact> artifact, LimsEntityLinkable<Container> container, String wellPosition) Constructor with artifact, container and well position.Constructor with artifact, container and well position. -
Method Summary
Modifier and TypeMethodDescriptionGets the entity class for this link.Gets the location of the output artifact.getUri()Gets the URI of the output artifact.voidsetArtifact(Linkable<Artifact> artifact) Sets the artifact for this output placement.voidsetLocation(LimsEntityLinkable<Container> container, String wellPosition) Sets the location from a container and well position.voidsetLocation(Linkable<Container> container, String wellPosition) Sets the location from a container and well position.voidsetLocation(Location location) Sets the location of the output artifact.voidSets the URI of the output artifact.toString()Returns a string representation of this output placement.Methods inherited from class com.genologics.ri.LimsLinkBase
equals, hashCode
-
Field Details
-
location
The location of the output artifact in a container. -
uri
The URI of the output artifact.
-
-
Constructor Details
-
OutputPlacement
public OutputPlacement()Default constructor. -
OutputPlacement
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
Gets the location of the output artifact.- Returns:
- The location.
-
setLocation
Sets the location of the output artifact.- Parameters:
location- The location to set.
-
setLocation
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
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
Gets the URI of the output artifact.- Returns:
- The artifact URI.
-
setUri
Sets the URI of the output artifact.- Parameters:
artifactUri- The artifact URI to set.
-
setArtifact
Sets the artifact for this output placement.- Parameters:
artifact- The artifact to set.
-
getEntityClass
Gets the entity class for this link.- Returns:
- The Artifact class.
-
toString
Returns a string representation of this output placement.- Overrides:
toStringin classLimsLinkBase<Artifact>- Returns:
- The artifact LIMS id and the location.
- See Also:
-