- All Implemented Interfaces:
LimsEntityLink<Artifact>,LimsEntityLinkable<Artifact>,LimsLink<Artifact>,Linkable<Artifact>,Locatable,Serializable
Artifact is a child element of Sample and provides a URI linking to the
detailed representation of the artifact for the Sample.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for an empty artifact link.Constructor for an artifact link from a LIMS entity linkable artifact.ArtifactLink(Linkable<Artifact> link) Constructor for an artifact link from a linkable artifact.ArtifactLink(URI uri) Constructor for an artifact link with a URI.ArtifactLink(URI uri, String limsid) Constructor for an artifact link with a URI and LIMS id. -
Method Summary
Modifier and TypeMethodDescriptionGets the entity class for this link.Gets the LIMS id of the artifact.getUri()Gets the URI of the artifact.voidSets the LIMS id of the artifact.voidSets the URI of the artifact.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
-
uri
The URI of the artifact. -
limsid
The LIMS id of the artifact.
-
-
Constructor Details
-
ArtifactLink
public ArtifactLink()Constructor for an empty artifact link. -
ArtifactLink
Constructor for an artifact link with a URI.- Parameters:
uri- The URI of the artifact.
-
ArtifactLink
Constructor for an artifact link with a URI and LIMS id.- Parameters:
uri- The URI of the artifact.limsid- The LIMS id of the artifact.
-
ArtifactLink
Constructor for an artifact link from a linkable artifact.- Parameters:
link- The linkable artifact.
-
ArtifactLink
Constructor for an artifact link from a LIMS entity linkable artifact.- Parameters:
link- The LIMS entity linkable artifact.
-
-
Method Details
-
getEntityClass
Gets the entity class for this link.- Returns:
- The Artifact class.
-
getUri
Gets the URI of the artifact.- Returns:
- The artifact URI.
-
setUri
Sets the URI of the artifact.- Parameters:
value- The artifact URI.
-
getLimsid
Gets the LIMS id of the artifact.- Returns:
- The LIMS id.
-
setLimsid
Sets the LIMS id of the artifact.- Parameters:
value- The LIMS id.
-