java.lang.Object
com.genologics.ri.controltype.ControlTypes
- All Implemented Interfaces:
Batch<ControlTypeLink>,Serializable,Iterable<ControlTypeLink>
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 Summary
FieldsModifier and TypeFieldDescriptionprotected List<ControlTypeLink>The list of control type links.protected URIThe URI of the control types collection. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
controlTypes
The list of control type links. -
uri
The URI of the control types collection.
-
-
Constructor Details
-
ControlTypes
public ControlTypes()Default constructor.
-
-
Method Details
-
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
Gets the list of control type links.This method satisfies the
Batchinterface contract.- Specified by:
getListin interfaceBatch<ControlTypeLink>- Returns:
- The list of control type links.
-
getSize
public int getSize()Gets the size of the control types list.- Specified by:
getSizein interfaceBatch<ControlTypeLink>- Returns:
- The number of control type links in the collection, or 0 if the list is null.
-
getUri
Gets the URI of the control types collection.- Returns:
- The URI.
-
setUri
Sets the URI of the control types collection.- Parameters:
uri- The URI.
-