
ModelQuerySet is the root of query model. One root per query model is expected.
ModelQuerySet::name must be unique (in the Eclipse platform) and equal to the containing file name. We recommend to use a name prefix with a name space, for example: org.eclipse.gmt.modisco.example1.querySet1.
ModelQuerySet::isEditable is true if the query can be edited. If the query is stored into a compiled file ModelQuerySet::isEditable is false.
ModelQuerySet::getQuery(EString) returns the contained ModelQuery having the requested name.
ModelQuerySet::associatedMetamodels points to the meta-models used by the contained queries.
ModelQuerySet::queries refers to the contained queries.
ModelQuery is an abstract class representing a query.
ModelQuery::name is the query name. In each query set the query names must be unique.
ModelQuery::parameters a set of ModelQueryParameter instance describing the query parameters.
ModelQuery::returnType is an ecore::DataType representing the query return type.
ModelQuery::scope is the set of type on which the query is applicable. Those types are represented by ecore::DataType instances.
ModelQueryParameter is a class representing the query parameters.
ModelQueryParameter::type is an ecore::DataType representing the query parameter type.
ModelQueryParameter::name is the parameter name. In each query the parameter names must be unique.
ModelQuery::isExternalContextDependent must be true if two evaluations of the same query with the same context and parameters can return different results.
JavaModelQuery is a sub class of ModelQuery which points to a Java implemented query.
JavaModelQuery::implemenationClassName contains the qualified name of the class implementing the query. This class must be a sub class of org.eclipse.gmt.modisco.infra.query.core.java.IJavaModelQuery. The Java implementation class must be stored in the same plug-in (or plug-in project) than the query model.
OCLModelQuery::query is the OCL query string.
Copyright (c) 2009 Mia-Software. All rights reserved. This document is made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html
Contributors: