Class ControlType

java.lang.Object
com.genologics.ri.controltype.ControlType
All Implemented Interfaces:
Linkable<ControlType>, Locatable, Serializable

public class ControlType extends Object implements Linkable<ControlType>, Serializable
Represents a control type in the Clarity LIMS system.

Control types define reference materials or standards that can be used in laboratory workflows for quality control and validation purposes. Each control type has a supplier, catalogue information, concentration, and various configuration flags.

See Also:
  • Field Details

    • supplier

      protected String supplier
      The supplier of the control type.
    • catalogueNumber

      protected String catalogueNumber
      The catalogue number of the control type.
    • website

      protected String website
      The website URL for the control type.
    • concentration

      protected String concentration
      The concentration of the control type.
      Since:
      2.20
    • archived

      protected Boolean archived
      Flag indicating if the control type is archived.
    • singleStep

      protected Boolean singleStep
      Flag indicating if the control type is for single step.
    • uri

      protected URI uri
      The URI of the control type.
    • name

      protected String name
      The name of the control type.
  • Constructor Details

    • ControlType

      public ControlType()
      Default constructor.
    • ControlType

      public ControlType(URI uri)
      Constructor with a URI.
      Parameters:
      uri - The control type URI.
  • Method Details

    • getSupplier

      public String getSupplier()
      Gets the supplier of the control type.
      Returns:
      The supplier.
    • setSupplier

      public void setSupplier(String supplier)
      Sets the supplier of the control type.
      Parameters:
      supplier - The supplier.
    • getCatalogueNumber

      public String getCatalogueNumber()
      Gets the catalogue number of the control type.
      Returns:
      The catalogue number.
    • setCatalogueNumber

      public void setCatalogueNumber(String catalogueNumber)
      Sets the catalogue number of the control type.
      Parameters:
      catalogueNumber - The catalogue number.
    • getWebsite

      public String getWebsite()
      Gets the website URL for the control type.
      Returns:
      The website URL.
    • setWebsite

      public void setWebsite(String website)
      Sets the website URL for the control type.
      Parameters:
      website - The website URL.
    • getConcentration

      public String getConcentration()
      Gets the concentration of the control type.
      Returns:
      The concentration.
    • setConcentration

      public void setConcentration(String concentration)
      Sets the concentration of the control type.
      Parameters:
      concentration - The concentration.
    • getArchived

      public Boolean getArchived()
      Gets the archived flag.
      Returns:
      The archived flag.
    • setArchived

      public void setArchived(Boolean archived)
      Sets the archived flag.
      Parameters:
      archived - The archived flag.
    • getSingleStep

      public Boolean getSingleStep()
      Gets the single step flag.
      Returns:
      The single step flag.
    • setSingleStep

      public void setSingleStep(Boolean singleStep)
      Sets the single step flag.
      Parameters:
      singleStep - The single step flag.
    • getUri

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

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

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

      public void setName(String name)
      Sets the name of the control type.
      Parameters:
      name - The name.
    • getLink

      public LimsLink<ControlType> getLink()
      Gets a link representation of this control type.

      This method creates a ControlTypeLink that can be used to reference this control type in other API responses.

      Specified by:
      getLink in interface Linkable<ControlType>
      Returns:
      A ControlTypeLink wrapping this control type.