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)
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.1.2-ice35-b45
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.