Class ReagentType

java.lang.Object
com.genologics.ri.reagenttype.ReagentType
All Implemented Interfaces:
LimsEntity<ReagentType>, LimsEntityLinkable<ReagentType>, Linkable<ReagentType>, Locatable, Serializable

public class ReagentType extends Object implements LimsEntity<ReagentType>, Serializable
The detailed representation of a reagent type.
See Also:
  • Field Details

    • specialType

      protected SpecialType specialType
      The special type of this reagent type.
    • reagentCategory

      protected String reagentCategory
      The category of this reagent.
    • name

      protected String name
      The name of the reagent type.
    • uri

      protected URI uri
      The URI of the reagent type.
  • Constructor Details

    • ReagentType

      public ReagentType()
      Default constructor.
    • ReagentType

      public ReagentType(URI uri)
      Constructor with URI.
      Parameters:
      uri - The reagent type URI.
    • ReagentType

      public ReagentType(URI uri, String name)
      Constructor with URI and name.
      Parameters:
      uri - The reagent type URI.
      name - The reagent type name.
  • Method Details

    • getSpecialType

      public SpecialType getSpecialType()
      Gets the special type.
      Returns:
      The special type.
    • setSpecialType

      public void setSpecialType(SpecialType specialType)
      Sets the special type.
      Parameters:
      specialType - The special type.
    • getReagentCategory

      public String getReagentCategory()
      Gets the reagent category.
      Returns:
      The reagent category.
    • setReagentCategory

      public void setReagentCategory(String reagentCategory)
      Sets the reagent category.
      Parameters:
      reagentCategory - The reagent category.
    • getName

      public String getName()
      Gets the name.
      Returns:
      The reagent type name.
    • setName

      public void setName(String name)
      Sets the name.
      Parameters:
      name - The reagent type name.
    • getUri

      public URI getUri()
      Gets the URI.
      Specified by:
      getUri in interface Locatable
      Returns:
      The reagent type URI.
    • setUri

      public void setUri(URI uri)
      Sets the URI.
      Specified by:
      setUri in interface Locatable
      Parameters:
      uri - The reagent type URI.
    • getLimsid

      public String getLimsid()
      Gets the LIMS id.
      Specified by:
      getLimsid in interface LimsEntityLinkable<ReagentType>
      Returns:
      The LIMS id extracted from the URI.
    • setLimsid

      public void setLimsid(String id)
      Sets the LIMS id. This operation does nothing.
      Specified by:
      setLimsid in interface LimsEntityLinkable<ReagentType>
      Parameters:
      id - The LIMS id (ignored).
    • toString

      public String toString()
      Returns a string representation of this reagent type.
      Overrides:
      toString in class Object
      Returns:
      A string representation.
    • getLink

      public LimsEntityLink<ReagentType> getLink()
      Get a concrete link object to this LimsEntityLinkable entity. This definition simply narrows the type of links returned by classes that implement this interface, as they should all have corresponding LimsEntityLink link classes available.
      Specified by:
      getLink in interface LimsEntityLinkable<ReagentType>
      Specified by:
      getLink in interface Linkable<ReagentType>
      Returns:
      A LimsEntityLink to this object.