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