- All Implemented Interfaces:
LimsEntityLink<Artifact>,LimsEntityLinkable<Artifact>,LimsLink<Artifact>,Linkable<Artifact>,Locatable,Serializable
Artifact-Link provides a URI linking to the detailed representation of an artifact in a queue.
- Since:
- 2.19
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ArtifactLink(Artifact artifact) Constructor from an Artifact.Constructor from a LimsEntityLinkable.ArtifactLink(Linkable<Artifact> link) Constructor from a Linkable.ArtifactLink(URI uri) Constructor with URI.ArtifactLink(URI uri, String limsid) Constructor with URI and LIMS id. -
Method Summary
Modifier and TypeMethodDescriptionGet the class of the true, full LIMS entity this object links to.Get the LIMS id for this object.Gets the location of the artifact.Gets the time when the artifact was queued.getUri()Get the URI of the object we are linking to.voidSets the LIMS id of the artifact.voidsetLocation(Location location) Sets the location of the artifact.voidsetQueueTime(Date queueTime) Sets the time when the artifact was queued.voidSet the URI of this object.Methods inherited from class com.genologics.ri.LimsLinkBase
equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.genologics.ri.LimsEntityLink
getLinkMethods inherited from interface com.genologics.ri.LimsEntityLinkable
getLimsId, setLimsId
-
Field Details
-
queueTime
The time when the artifact was queued. -
location
The location of the artifact. -
uri
The URI of the artifact. -
limsid
The LIMS id of the artifact.
-
-
Constructor Details
-
ArtifactLink
public ArtifactLink()Default constructor. -
ArtifactLink
Constructor with URI.- Parameters:
uri- The URI of the artifact.
-
ArtifactLink
Constructor with URI and LIMS id.- Parameters:
uri- The URI of the artifact.limsid- The LIMS id of the artifact.
-
ArtifactLink
Constructor from a Linkable.- Parameters:
link- The linkable artifact.
-
ArtifactLink
Constructor from a LimsEntityLinkable.- Parameters:
link- The LIMS entity linkable artifact.
-
ArtifactLink
Constructor from an Artifact.- Parameters:
artifact- The artifact.
-
-
Method Details
-
getQueueTime
Gets the time when the artifact was queued.- Returns:
- The queue time.
-
setQueueTime
Sets the time when the artifact was queued.- Parameters:
queueTime- The queue time.
-
getLocation
Gets the location of the artifact.- Returns:
- The artifact location.
-
setLocation
Sets the location of the artifact.- Parameters:
location- The artifact location.
-
getUri
Get the URI of the object we are linking to.- Returns:
- The URI.
-
setUri
Set the URI of this object.- Parameters:
uri- The new URI.
-
getLimsid
Get the LIMS id for this object.- Returns:
- The LIMS id.
-
setLimsid
Sets the LIMS id of the artifact.- Parameters:
limsid- The LIMS id.
-
getEntityClass
Get the class of the true, full LIMS entity this object links to.- Returns:
- The real object class.
-