- All Implemented Interfaces:
LimsEntityLink<Instrument>,LimsEntityLinkable<Instrument>,LimsLink<Instrument>,Linkable<Instrument>,Locatable,Serializable
The instrument element provides a URI to the instrument that is responsible
for running the process. This instrument must have a single software defined
to be valid for process execution.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.InstrumentLink(Linkable<Instrument> link) Constructor from a linkable instrument.InstrumentLink(URI uri) Constructor with URI. -
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 the instrument.
-
-
Constructor Details
-
InstrumentLink
public InstrumentLink()Default constructor. -
InstrumentLink
Constructor with URI.- Parameters:
uri- The instrument URI.
-
InstrumentLink
Constructor from a linkable instrument.- Parameters:
link- The instrument link.
-
-
Method Details
-
getEntityClass
Gets the entity class.- Returns:
- The Instrument class.
-
getUri
Gets the URI of the instrument.- Returns:
- The instrument URI.
-
setUri
Sets the URI of the instrument.- Parameters:
uri- The instrument URI to set.
-
getLimsid
Gets the LIMS id from the URI.- Returns:
- The LIMS id.
-
setLimsid
Sets the LIMS id. This method does nothing for instrument links.- Parameters:
id- The LIMS id (ignored).
-