java.lang.Object
com.genologics.ri.sample.SampleLink
- All Implemented Interfaces:
LimsEntityLink<Sample>
,LimsEntityLinkable<Sample>
,LimsLink<Sample>
,Linkable<Sample>
,Locatable
,Serializable
Sample-link is a child element type of samples and provides a URI linking to
the detailed representation of a sample.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSampleLink
(LimsEntityLinkable<Sample> link) SampleLink
(URI uri) SampleLink
(URI uri, String limsid) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.genologics.ri.LimsEntityLinkable
getLimsId, setLimsId
-
Field Details
-
uri
-
limsid
-
-
Constructor Details
-
SampleLink
public SampleLink() -
SampleLink
-
SampleLink
-
SampleLink
-
-
Method Details
-
getEntityClass
Description copied from interface:LimsLink
Get the class of the true, full LIMS entity this object links to.- Specified by:
getEntityClass
in interfaceLimsLink<Sample>
- Returns:
- The real object class.
-
getUri
Description copied from interface:LimsLink
Get the URI of the object we are linking to. -
setUri
Description copied from interface:Locatable
Set the URI of this object. -
getLimsid
Description copied from interface:LimsEntityLinkable
Get the LIMS id for this object.- Specified by:
getLimsid
in interfaceLimsEntityLinkable<Sample>
- Returns:
- The LIMS id.
-
setLimsid
Description copied from interface:LimsEntityLinkable
Set the LIMS id for this object.- Specified by:
setLimsid
in interfaceLimsEntityLinkable<Sample>
- Parameters:
limsid
- The new LIMS id.
-
toString
-