public class CollectionQueryParameterDef extends QueryParameterDef
QueryParameterDef which restricts the
type to a
Collection, and specifies the element types of that
Collection. Also overrides validation to check that type.| Modifier and Type | Field and Description |
|---|---|
Class |
elementType |
name, optional, type| Constructor and Description |
|---|
CollectionQueryParameterDef(String name,
boolean optional,
Class elementType) |
| Modifier and Type | Method and Description |
|---|---|
void |
errorIfInvalid(ome.parameters.QueryParameter parameter)
validation method called by
Query.checkParameters(). |
public Class elementType
public void errorIfInvalid(ome.parameters.QueryParameter parameter)
QueryParameterDefQuery.checkParameters(). Subclasses
should be very careful to call super.errorIfInvalid.errorIfInvalid in class QueryParameterDefparameter - Parameter with a matching name to be validated.
Version: 5.1.1-ice35-b43
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.