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(QueryParameter parameter)
validation method called by
Query.checkParameters(). |
public Class elementType
public void errorIfInvalid(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.2.6-ice35-b35
Copyright © 2016 The University of Dundee & Open Microscopy Environment. All Rights Reserved.