Package ome.services.query
Class CollectionQueryParameterDef
- java.lang.Object
-
- ome.services.query.QueryParameterDef
-
- ome.services.query.CollectionQueryParameterDef
-
public class CollectionQueryParameterDef extends QueryParameterDef
extension ofQueryParameterDefwhich restricts thetypeto 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.ClasselementType-
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 voiderrorIfInvalid(ome.parameters.QueryParameter parameter)validation method called byQuery.checkParameters().
-
-
-
Method Detail
-
errorIfInvalid
public void errorIfInvalid(ome.parameters.QueryParameter parameter)
Description copied from class:QueryParameterDefvalidation method called byQuery.checkParameters(). Subclasses should be very careful to call super.errorIfInvalid.- Overrides:
errorIfInvalidin classQueryParameterDef- Parameters:
parameter- Parameter with a matching name to be validated.
-
-