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