- All Implemented Interfaces:
LimsEntityLink<Instrument>,LimsEntityLinkable<Instrument>,LimsLink<Instrument>,Linkable<Instrument>,Locatable,Serializable
The instrument is a child element of process-template that provides a URI to
the instrument that is responsible for running a Process created using this
Process Template.
- 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 URI of the instrument.
-
InstrumentLink
Constructor from a linkable instrument.- Parameters:
link- the linkable instrument.
-
-
Method Details
-
getEntityClass
Gets the entity class.- Returns:
- the Instrument class.
-
getUri
Gets the URI.- Returns:
- the URI.
-
setUri
Sets the URI.- Parameters:
uri- the URI to set.
-
getLimsid
Gets the LIMS id extracted from the URI.- Returns:
- the LIMS id.
-
setLimsid
Sets the LIMS id. This method does nothing as the LIMS id is extracted from the URI.- Parameters:
id- the LIMS id (ignored).
-