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(QueryParameter parameter)
validation method called by
Query.checkParameters() . |
public CollectionQueryParameterDef(java.lang.String name, boolean optional, java.lang.Class elementType)
public void errorIfInvalid(QueryParameter parameter)
QueryParameterDef
Query.checkParameters()
. Subclasses
should be very careful to call super.errorIfInvalid.errorIfInvalid
in class QueryParameterDef
parameter
- Parameter with a matching name to be validated.
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.