public class QueryParameterDef extends Object
QueryParameter must
 fit. These are typically defined statically in
 Query subclasses and collected into
 Definitions which get passed to the super
 Query constructor.| Modifier and Type | Field and Description | 
|---|---|
| String | namename of this parameter. | 
| boolean | optionalwhether or not this  QueryParametercan be omitted or itsvaluenull. | 
| Class | typetype of this parameter. | 
| Constructor and Description | 
|---|
| QueryParameterDef(String name,
                 Class type,
                 boolean optional)main constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | errorIfInvalid(QueryParameter parameter)validation method called by  Query.checkParameters(). | 
public final String name
query parameters with an equal
 name.public final Class type
QueryParameter.valuepublic final boolean optional
QueryParameter can be omitted or its
 value null.public void errorIfInvalid(QueryParameter parameter)
Query.checkParameters(). Subclasses
 should be very careful to call super.errorIfInvalid.parameter - Parameter with a matching name to be validated.
                
                
Version: 5.3.4-ice35-b69
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.