- All Implemented Interfaces:
LimsEntityLink<Instrument>,LimsEntityLinkable<Instrument>,LimsLink<Instrument>,Linkable<Instrument>,Locatable,Serializable
Instrument-link is a child element type of instruments and provides a URI
linking to the detailed representation of an instrument.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.InstrumentLink(Instrument instrument) Constructor from an instrument.InstrumentLink(Linkable<Instrument> link) Constructor from a linkable instrument.InstrumentLink(URI uri) Constructor with URI.InstrumentLink(URI uri, String name) Constructor with URI and name. -
Method Summary
Modifier and TypeMethodDescriptionGet the class of the true, full LIMS entity this object links to.Get the LIMS id for this object.getName()Get the instrument name.getUri()Get the URI of the object we are linking to.voidSet the LIMS id for this object.voidSet the instrument name.voidSet the URI of this object.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. -
name
The instrument name.
-
-
Constructor Details
-
InstrumentLink
public InstrumentLink()Default constructor. -
InstrumentLink
Constructor with URI.- Parameters:
uri- The instrument URI.
-
InstrumentLink
Constructor with URI and name.- Parameters:
uri- The instrument URI.name- The instrument name.
-
InstrumentLink
Constructor from a linkable instrument.- Parameters:
link- The linkable instrument.
-
InstrumentLink
Constructor from an instrument.- Parameters:
instrument- The instrument.
-
-
Method Details
-
getEntityClass
Get the class of the true, full LIMS entity this object links to.- Returns:
- The real object class.
-
getName
Get the instrument name.- Returns:
- The instrument name.
-
setName
Set the instrument name.- Parameters:
name- The instrument name.
-
getUri
Get the URI of the object we are linking to.- Returns:
- The URI.
-
setUri
Set the URI of this object.- Parameters:
uri- The new URI.
-
getLimsid
Get the LIMS id for this object.- Returns:
- The LIMS id.
-
setLimsid
Set the LIMS id for this object.- Parameters:
id- The new LIMS id.
-