blob: a9611a57eaa2263a0ffb1a8dcb741ba53eaf9cad [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2009 Mia-Software and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v20.html
Contributors:
Gregoire DUPE (Mia-Software) - initial API and implementation
-->
<query:ModelQuerySet xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:query="http://www.eclipse.org/MoDisco/infra/query/0.8.incubation" name="test001">
<associatedMetamodels href="http://www.eclipse.org/emf/2002/Ecore#/"/>
<queries xsi:type="query:OCLModelQuery" name="nbEClassifiers" description="counts the owned EClassifiers of an EPackage" query="self.eClassifiers->size()">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<scope href="http://www.eclipse.org/emf/2002/Ecore#//EPackage"/>
</queries>
<queries xsi:type="query:JavaModelQuery" name="getSubClasses" description="get sub classes" upperBound="-1" implementationClassName="org.eclipse.modisco.infra.facet.tests.samples.GetSubClasses">
<returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
<scope href="http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
</queries>
</query:ModelQuerySet>