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 |
|---|---|
java.lang.Class |
elementType |
name, optional, type| Constructor and Description |
|---|
CollectionQueryParameterDef(java.lang.String name,
boolean optional,
java.lang.Class elementType) |
| Modifier and Type | Method and Description |
|---|---|
void |
errorIfInvalid(ome.parameters.QueryParameter parameter)
validation method called by
Query.checkParameters(). |
public CollectionQueryParameterDef(java.lang.String name,
boolean optional,
java.lang.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.