java.lang.Object
com.genologics.ri.reagenttype.ReagentType
- All Implemented Interfaces:
LimsEntity<ReagentType>,LimsEntityLinkable<ReagentType>,Linkable<ReagentType>,Locatable,Serializable
The detailed representation of a reagent type.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe name of the reagent type.protected StringThe category of this reagent.protected SpecialTypeThe special type of this reagent type.protected URIThe URI of the reagent type. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ReagentType(URI uri) Constructor with URI.ReagentType(URI uri, String name) Constructor with URI and name. -
Method Summary
Modifier and TypeMethodDescriptionGets the LIMS id.getLink()Get a concrete link object to thisLimsEntityLinkableentity.getName()Gets the name.Gets the reagent category.Gets the special type.getUri()Gets the URI.voidSets the LIMS id.voidSets the name.voidsetReagentCategory(String reagentCategory) Sets the reagent category.voidsetSpecialType(SpecialType specialType) Sets the special type.voidSets the URI.toString()Returns a string representation of this reagent type.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
-
specialType
The special type of this reagent type. -
reagentCategory
The category of this reagent. -
name
The name of the reagent type. -
uri
The URI of the reagent type.
-
-
Constructor Details
-
ReagentType
public ReagentType()Default constructor. -
ReagentType
Constructor with URI.- Parameters:
uri- The reagent type URI.
-
ReagentType
Constructor with URI and name.- Parameters:
uri- The reagent type URI.name- The reagent type name.
-
-
Method Details
-
getSpecialType
Gets the special type.- Returns:
- The special type.
-
setSpecialType
Sets the special type.- Parameters:
specialType- The special type.
-
getReagentCategory
Gets the reagent category.- Returns:
- The reagent category.
-
setReagentCategory
Sets the reagent category.- Parameters:
reagentCategory- The reagent category.
-
getName
Gets the name.- Returns:
- The reagent type name.
-
setName
Sets the name.- Parameters:
name- The reagent type name.
-
getUri
Gets the URI. -
setUri
Sets the URI. -
getLimsid
Gets the LIMS id.- Specified by:
getLimsidin interfaceLimsEntityLinkable<ReagentType>- Returns:
- The LIMS id extracted from the URI.
-
setLimsid
Sets the LIMS id. This operation does nothing.- Specified by:
setLimsidin interfaceLimsEntityLinkable<ReagentType>- Parameters:
id- The LIMS id (ignored).
-
toString
Returns a string representation of this reagent type. -
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<ReagentType>- Specified by:
getLinkin interfaceLinkable<ReagentType>- Returns:
- A
LimsEntityLinkto this object.
-