- All Implemented Interfaces:
LimsEntityLink<ReagentLot>,LimsEntityLinkable<ReagentLot>,LimsLink<ReagentLot>,Linkable<ReagentLot>,Locatable,Serializable
Provides a URI linking to the reagent lot details.
- Since:
- 2.18
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new empty ReagentLotLink.Constructs a new ReagentLotLink from a LIMS entity linkable reagent lot.ReagentLotLink(Linkable<ReagentLot> link) Constructs a new ReagentLotLink from a linkable reagent lot.ReagentLotLink(URI uri) Constructs a new ReagentLotLink with the given URI.ReagentLotLink(URI uri, String limsid) Constructs a new ReagentLotLink with the given URI and LIMS id. -
Method Summary
Modifier and TypeMethodDescriptionGet the class of the true, full LIMS entity this object links to.Get the LIMS id for this object.getUri()Get the URI of the object we are linking to.voidSets the LIMS id of the reagent lot.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
-
limsid
The LIMS id of the reagent lot. -
uri
The URI of the reagent lot.
-
-
Constructor Details
-
ReagentLotLink
public ReagentLotLink()Constructs a new empty ReagentLotLink. -
ReagentLotLink
Constructs a new ReagentLotLink with the given URI.- Parameters:
uri- the URI of the reagent lot.
-
ReagentLotLink
Constructs a new ReagentLotLink with the given URI and LIMS id.- Parameters:
uri- the URI of the reagent lot.limsid- the LIMS id of the reagent lot.
-
ReagentLotLink
Constructs a new ReagentLotLink from a linkable reagent lot.- Parameters:
link- the linkable reagent lot.- Throws:
NullPointerException- if link is null.
-
ReagentLotLink
Constructs a new ReagentLotLink from a LIMS entity linkable reagent lot.- Parameters:
link- the LIMS entity linkable reagent lot.- Throws:
NullPointerException- if link is null.
-
-
Method Details
-
getLimsid
Get the LIMS id for this object.- Returns:
- The LIMS id.
-
setLimsid
Sets the LIMS id of the reagent lot.- Parameters:
limsid- the LIMS id.
-
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.
-
getEntityClass
Get the class of the true, full LIMS entity this object links to.- Returns:
- The real object class.
-