Package ome.services.query
Class CollectionQueryParameterDef
- java.lang.Object
-
- ome.services.query.QueryParameterDef
-
- ome.services.query.CollectionQueryParameterDef
-
public class CollectionQueryParameterDef extends QueryParameterDef
extension ofQueryParameterDef
which restricts thetype
to aCollection
, and specifies the element types of that Collection. Also overrides validation to check that type.- Since:
- OMERO 3.0
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Class
elementType
-
Fields inherited from class ome.services.query.QueryParameterDef
name, optional, type
-
-
Constructor Summary
Constructors Constructor Description CollectionQueryParameterDef(java.lang.String name, boolean optional, java.lang.Class elementType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
errorIfInvalid(ome.parameters.QueryParameter parameter)
validation method called byQuery.checkParameters()
.
-
-
-
Method Detail
-
errorIfInvalid
public void errorIfInvalid(ome.parameters.QueryParameter parameter)
Description copied from class:QueryParameterDef
validation method called byQuery.checkParameters()
. Subclasses should be very careful to call super.errorIfInvalid.- Overrides:
errorIfInvalid
in classQueryParameterDef
- Parameters:
parameter
- Parameter with a matching name to be validated.
-
-