ome.services.query
Class CollectionQueryParameterDef
java.lang.Object
ome.services.query.QueryParameterDef
ome.services.query.CollectionQueryParameterDef
public class CollectionQueryParameterDef
- extends QueryParameterDef
extension of QueryParameterDef
which restricts the
type
to a
Collection
, and specifies the element types of that
Collection. Also overrides validation to check that type.
- Since:
- OMERO 3.0
- Version:
- 1.0 (Internal version: $Rev: 1167 $ $Date: 2006-12-15 10:39:34 +0000 (Fri, 15 Dec 2006) $)
- Author:
- Josh Moore, josh.moore@gmx.de
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
elementType
public Class elementType
CollectionQueryParameterDef
public CollectionQueryParameterDef(String name,
boolean optional,
Class elementType)
errorIfInvalid
public void errorIfInvalid(ome.parameters.QueryParameter parameter)
- Description copied from class:
QueryParameterDef
- validation method called by
Query.checkParameters()
. Subclasses
should be very careful to call super.errorIfInvalid.
- Overrides:
errorIfInvalid
in class QueryParameterDef
- Parameters:
parameter
- Parameter with a matching name to be validated.
OmeroJava Api
Version: Beta-4.2.0-r7571-b29
Copyright © 2009 The University of Dundee. All Rights Reserved.