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$ $Date$)
- 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: 4.3.4-dbcbce5a-b4
Copyright © 2009 The University of Dundee. All Rights Reserved.