java.lang.Object
com.genologics.ri.reagentlot.ReagentLot
- All Implemented Interfaces:
LimsEntity<ReagentLot>,LimsEntityLinkable<ReagentLot>,Linkable<ReagentLot>,Locatable,Serializable
Represents a reagent lot in the Clarity LIMS system.
A reagent lot is a specific batch of a reagent kit that is tracked separately with its own lot number, expiry date, and usage information. This class provides detailed information about the lot including its status, storage location, and audit trail (creation and modification timestamps and responsible researchers).
- Since:
- 2.18
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ResearcherLinkLink to the researcher who created this reagent lot.protected DateThe date when this reagent lot was created in the system.protected DateThe expiry date of this reagent lot.protected ResearcherLinkLink to the researcher who last modified this reagent lot.protected DateThe date when this reagent lot was last modified.protected StringThe LIMS id of this reagent lot.protected StringThe lot number identifier for this reagent lot.protected StringThe name of this reagent lot.protected StringAdditional notes about this reagent lot.protected ReagentKitLinkLink to the reagent kit that this lot belongs to.protected StatusThe current status of this reagent lot (e.g., ACTIVE, ARCHIVED).protected StringThe physical storage location of this reagent lot.protected URIThe URI of this reagent lot resource.protected LongThe number of times this reagent lot has been used. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.Constructor from a linkable reagent lot.ReagentLot(URI uri) Constructor with URI.ReagentLot(URI uri, String limsid) Constructor with URI and LIMS id. -
Method Summary
Modifier and TypeMethodDescriptionGets the link to the researcher who created this lot.Gets the creation date.Gets the expiry date.Gets the link to the researcher who last modified this lot.Gets the last modification date.Get the LIMS id for this object.getLink()Get a concrete link object to thisLimsEntityLinkableentity.Gets the lot number.getName()Gets the name of the reagent lot.getNotes()Gets the notes.Gets the link to the reagent kit.Gets the status of the reagent lot.Gets the storage location.getUri()Get the URI of this object.Gets the usage count.voidsetCreatedBy(Linkable<Researcher> createdBy) Sets the researcher who created this lot.voidsetCreatedDate(Date createdDate) Sets the creation date.voidsetExpiryDate(Date expiryDate) Sets the expiry date.voidsetLastModifiedBy(Linkable<Researcher> lastModifiedBy) Sets the researcher who last modified this lot.voidsetLastModifiedDate(Date lastModifiedDate) Sets the last modification date.voidSet the LIMS id for this object.voidsetLotNumber(String lotNumber) Sets the lot number.voidSets the name of the reagent lot.voidSets the notes.voidsetReagentKit(Linkable<ReagentKit> reagentKit) Sets the reagent kit for this lot.voidSets the status of the reagent lot.voidsetStorageLocation(String storageLocation) Sets the storage location.voidSet the URI of this object.voidsetUsageCount(Long usageCount) Sets the usage count.toString()Returns a string representation of this reagent lot.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.genologics.ri.LimsEntityLinkable
getLimsId, setLimsId
-
Field Details
-
reagentKit
Link to the reagent kit that this lot belongs to. -
name
The name of this reagent lot. -
lotNumber
The lot number identifier for this reagent lot. -
createdDate
The date when this reagent lot was created in the system. -
lastModifiedDate
The date when this reagent lot was last modified. -
expiryDate
The expiry date of this reagent lot. -
createdBy
Link to the researcher who created this reagent lot. -
lastModifiedBy
Link to the researcher who last modified this reagent lot. -
storageLocation
The physical storage location of this reagent lot. -
notes
Additional notes about this reagent lot. -
status
The current status of this reagent lot (e.g., ACTIVE, ARCHIVED). -
usageCount
The number of times this reagent lot has been used.- Since:
- 2.20
-
uri
The URI of this reagent lot resource. -
limsid
The LIMS id of this reagent lot.
-
-
Constructor Details
-
ReagentLot
public ReagentLot()Default constructor. -
ReagentLot
Constructor with URI.- Parameters:
uri- The URI of the reagent lot.
-
ReagentLot
Constructor with URI and LIMS id.- Parameters:
uri- The URI of the reagent lot.limsid- The LIMS id of the reagent lot.
-
ReagentLot
Constructor from a linkable reagent lot.- Parameters:
link- The linkable reagent lot to copy URI and LIMS id from.
-
-
Method Details
-
getReagentKit
Gets the link to the reagent kit.- Returns:
- The reagent kit link.
-
setReagentKit
Sets the reagent kit for this lot.- Parameters:
reagentKit- A linkable reference to the reagent kit.
-
getName
Gets the name of the reagent lot.- Returns:
- The name.
-
setName
Sets the name of the reagent lot.- Parameters:
name- The name to set.
-
getLotNumber
Gets the lot number.- Returns:
- The lot number.
-
setLotNumber
Sets the lot number.- Parameters:
lotNumber- The lot number to set.
-
getCreatedDate
Gets the creation date.- Returns:
- The creation date.
-
setCreatedDate
Sets the creation date.- Parameters:
createdDate- The creation date to set.
-
getLastModifiedDate
Gets the last modification date.- Returns:
- The last modification date.
-
setLastModifiedDate
Sets the last modification date.- Parameters:
lastModifiedDate- The last modification date to set.
-
getExpiryDate
Gets the expiry date.- Returns:
- The expiry date.
-
setExpiryDate
Sets the expiry date.- Parameters:
expiryDate- The expiry date to set.
-
getCreatedBy
Gets the link to the researcher who created this lot.- Returns:
- The creator researcher link.
-
setCreatedBy
Sets the researcher who created this lot.- Parameters:
createdBy- A linkable reference to the creator researcher.
-
getLastModifiedBy
Gets the link to the researcher who last modified this lot.- Returns:
- The last modifier researcher link.
-
setLastModifiedBy
Sets the researcher who last modified this lot.- Parameters:
lastModifiedBy- A linkable reference to the last modifier researcher.
-
getStorageLocation
Gets the storage location.- Returns:
- The storage location.
-
setStorageLocation
Sets the storage location.- Parameters:
storageLocation- The storage location to set.
-
getNotes
Gets the notes.- Returns:
- The notes.
-
setNotes
Sets the notes.- Parameters:
notes- The notes to set.
-
getStatus
Gets the status of the reagent lot.- Returns:
- The status.
-
setStatus
Sets the status of the reagent lot.- Parameters:
status- The status to set.
-
getUsageCount
Gets the usage count.- Returns:
- The usage count.
-
setUsageCount
Sets the usage count.- Parameters:
usageCount- The usage count to set.
-
getUri
Description copied from interface:LocatableGet the URI of this object. -
setUri
Description copied from interface:LocatableSet the URI of this object. -
getLimsid
Description copied from interface:LimsEntityLinkableGet the LIMS id for this object.- Specified by:
getLimsidin interfaceLimsEntityLinkable<ReagentLot>- Returns:
- The LIMS id.
-
setLimsid
Description copied from interface:LimsEntityLinkableSet the LIMS id for this object.- Specified by:
setLimsidin interfaceLimsEntityLinkable<ReagentLot>- Parameters:
limsid- The new LIMS id.
-
toString
Returns a string representation of this reagent lot. -
getLink
Get a concrete link object to thisLimsEntityLinkableentity. This definition simply narrows the type of links returned by classes that implement this interface, as they should all have correspondingLimsEntityLinklink classes available.- Specified by:
getLinkin interfaceLimsEntityLinkable<ReagentLot>- Specified by:
getLinkin interfaceLinkable<ReagentLot>- Returns:
- A
LimsEntityLinkto this object.
-