java.lang.Object
com.genologics.ri.instrument.Instrument
- All Implemented Interfaces:
LimsEntity<Instrument>,LimsEntityLinkable<Instrument>,Linkable<Instrument>,Locatable,Serializable
The detailed representation of an instrument.
Since API version 2.25 this object has received an explicit limsid attribute from
the server. Unfortunately this is broken in that the last part of the URI path is not the
same as the LIMS id. The id on the path is just a number corresponding to the database id
whereas the LIMS id has the prefix "55-", corresponding to the LUID.
To make this work without special cases elsewhere this object will work as it did for
API 2.24 and before, and return the LIMS id as just the number from getLimsid().
This keeps things consistent.
This issue has been reported to Illumina but they are very reluctant to fix it (SFC# 02921030).
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the LIMS id of this instrument.getName()getType()getUri()Get the URI of this object.voidsetArchived(Boolean archived) voidsetExpiryDate(String expiryDate) voidSet the LIMS id for this object.voidvoidsetSerialNumber(String serialNumber) voidvoidSet the URI of this object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.genologics.ri.LimsEntityLinkable
getLimsId, setLimsId
-
Field Details
-
name
-
type
-
serialNumber
- Since:
- 2.25
-
expiryDate
- Since:
- 2.25
-
archived
- Since:
- 2.25
-
uri
-
limsid
- Since:
- 2.25
-
-
Constructor Details
-
Instrument
public Instrument() -
Instrument
-
Instrument
-
-
Method Details
-
getUri
Description copied from interface:LocatableGet the URI of this object. -
setUri
Description copied from interface:LocatableSet the URI of this object. -
getLimsid
Get the LIMS id of this instrument. Due to the error described in the class description, this doesn't return thelimsidvalue but takes the id from the path of the URI.- Specified by:
getLimsidin interfaceLimsEntityLinkable<Instrument>- Returns:
- The LIMS id as recorded on the URI path.
-
setLimsid
Description copied from interface:LimsEntityLinkableSet the LIMS id for this object.- Specified by:
setLimsidin interfaceLimsEntityLinkable<Instrument>- Parameters:
limsid- The new LIMS id.
-
getName
-
setName
-
getType
-
setType
-
getSerialNumber
-
setSerialNumber
-
getExpiryDate
-
setExpiryDate
-
getArchived
-
setArchived
-