Class ControlTypes

java.lang.Object
com.genologics.ri.controltype.ControlTypes
All Implemented Interfaces:
Batch<ControlTypeLink>, Serializable, Iterable<ControlTypeLink>

public class ControlTypes extends Object implements Batch<ControlTypeLink>, Serializable
The representation of a list of control types in the Clarity LIMS system.

This class provides a container for multiple ControlTypeLink objects, typically returned from queries that retrieve multiple control types. It implements the Batch interface to provide standard list operations and sizing information.

See Also:
  • Field Details

    • controlTypes

      protected List<ControlTypeLink> controlTypes
      The list of control type links.
    • uri

      protected URI uri
      The URI of the control types collection.
  • Constructor Details

    • ControlTypes

      public ControlTypes()
      Default constructor.
  • Method Details

    • getControlTypes

      public List<ControlTypeLink> getControlTypes()
      Gets the list of control types.

      This method returns the internal list of control type links. If the list has not been initialized, it creates a new empty ArrayList.

      Returns:
      The list of control type links. Never returns null.
    • getList

      public List<ControlTypeLink> getList()
      Gets the list of control type links.

      This method satisfies the Batch interface contract.

      Specified by:
      getList in interface Batch<ControlTypeLink>
      Returns:
      The list of control type links.
    • getSize

      public int getSize()
      Gets the size of the control types list.
      Specified by:
      getSize in interface Batch<ControlTypeLink>
      Returns:
      The number of control type links in the collection, or 0 if the list is null.
    • getUri

      public URI getUri()
      Gets the URI of the control types collection.
      Returns:
      The URI.
    • setUri

      public void setUri(URI uri)
      Sets the URI of the control types collection.
      Parameters:
      uri - The URI.