Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'deprecated/org.eclipse.papyrus.core.queries.test/resources/CoreQueriesTest.querySet')
-rw-r--r--deprecated/org.eclipse.papyrus.core.queries.test/resources/CoreQueriesTest.querySet106
1 files changed, 0 insertions, 106 deletions
diff --git a/deprecated/org.eclipse.papyrus.core.queries.test/resources/CoreQueriesTest.querySet b/deprecated/org.eclipse.papyrus.core.queries.test/resources/CoreQueriesTest.querySet
deleted file mode 100644
index 1b7a30de950..00000000000
--- a/deprecated/org.eclipse.papyrus.core.queries.test/resources/CoreQueriesTest.querySet
+++ /dev/null
@@ -1,106 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<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/EmfFacet/infra/query/0.8.incubation" name="CoreQueriesTest" description="Set of Queries for test only">
- <associatedMetamodels href="http://www.eclipse.org/uml2/4.0.0/UML#/"/>
- <associatedMetamodels href="http://www.eclipse.org/uml2/4.0.0/Types#/"/>
- <queries xsi:type="query:JavaModelQuery" name="BooleanTest_NoParameters" description="test - boolean return value - no parameters" implementationClassName="org.eclipse.papyrus.core.queries.test.modisco.queries.BooleanTest_NoParameters">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//Boolean"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="StringTest_NoParameters" description="test - string return value - no parameters" implementationClassName="org.eclipse.papyrus.core.queries.test.modisco.queries.StringTest_NoParameters">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//String"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="StringMultipleTest_NoParameters" description="test - string return multiple values - no parameters" upperBound="-1" implementationClassName="org.eclipse.papyrus.core.queries.test.modisco.queries.StringMultipleTest_NoParameters">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//String"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="BooleanMultipleTest_NoParameters" description="test - boolean return multiple values - no parameters" upperBound="-1" implementationClassName="org.eclipse.papyrus.core.queries.test.modisco.queries.BooleanMultipleTest_NoParameters">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//Boolean"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="BooleanTest_String_1" description="test - boolean return value - String[1]" implementationClassName="org.eclipse.papyrus.core.queries.test.modisco.queries.BooleanTest_String_1">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//Boolean"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/>
- <parameters name="paramString">
- <type xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//String"/>
- </parameters>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="BooleanTest_String_3" description="test - boolean return value - String[3]" implementationClassName="org.eclipse.papyrus.core.queries.test.modisco.queries.BooleanTest_String_3">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//Boolean"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/>
- <parameters name="paramString3" upperBound="3">
- <type xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//String"/>
- </parameters>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="BooleanTest_String_Star" description="test - boolean return value - String[-1]" implementationClassName="org.eclipse.papyrus.core.queries.test.modisco.queries.BooleanTest_String_Star">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//Boolean"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/>
- <parameters name="paramStringStar" upperBound="-1">
- <type xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//String"/>
- </parameters>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="BooleanTest_Boolean_1_Integer_1" description="test - boolean return value - Boolean[1], Integer[1]" implementationClassName="org.eclipse.papyrus.core.queries.test.modisco.queries.BooleanTest_Boolean_1_Integer_1">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//Boolean"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/>
- <parameters name="paramBoolean">
- <type xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//Boolean"/>
- </parameters>
- <parameters name="paramInteger">
- <type xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//Integer"/>
- </parameters>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="BooleanTest_Enum_1" description="test - boolean return value - Enum[1]" implementationClassName="org.eclipse.papyrus.core.queries.test.modisco.queries.BooleanTest_Enum_1">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//Boolean"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/>
- <parameters name="paramEnum">
- <type xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EEnum"/>
- </parameters>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="IsNamed" description="test - test if the name of the element is equal to the specified name" implementationClassName="org.eclipse.papyrus.core.queries.test.modisco.queries.IsNamed">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//Boolean"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement"/>
- <parameters name="name">
- <type xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//String"/>
- </parameters>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="IsNameLongerThan" description="test - check if the element's name is longer than the specified number. The booelan indicates if it is tru when length is equal." implementationClassName="org.eclipse.papyrus.core.queries.test.modisco.queries.IsNameLongerThan">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//Boolean"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement"/>
- <parameters name="isTrueWhenEqual">
- <type xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//Boolean"/>
- </parameters>
- <parameters name="length">
- <type xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//Integer"/>
- </parameters>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="AND" description="test - AND query" implementationClassName="org.eclipse.papyrus.core.queries.test.modisco.queries.AND">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//Boolean"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement"/>
- <parameters name="AND_leftOperand" lowerBound="1">
- <type xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//Boolean"/>
- </parameters>
- <parameters name="AND_rightOperand" lowerBound="1">
- <type xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//Boolean"/>
- </parameters>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="ListElementsWithName" description="test - return a list of named elements for whicv name contains basic" upperBound="-1" implementationClassName="org.eclipse.papyrus.core.queries.test.modisco.queries.ListElementsWithName">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Package"/>
- <parameters name="containedString">
- <type xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//String"/>
- </parameters>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="ListElementsInstanceofClassifiers" description="test - list the elements given as parameters that are instanceof Classifiers" upperBound="-1" implementationClassName="org.eclipse.papyrus.core.queries.test.modisco.queries.ListElementsInstanceofClassifiers">
- <returnType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//Classifier"/>
- <scope href="http://www.eclipse.org/uml2/4.0.0/UML#//Element"/>
- <parameters name="elementList" upperBound="-1">
- <type xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/4.0.0/UML#//NamedElement"/>
- </parameters>
- </queries>
- <queries xsi:type="query:JavaModelQuery" name="isStrictInstanceOf" description="test - test if an element is strict type of given value" implementationClassName="org.eclipse.papyrus.core.queries.test.modisco.queries.IsStrictInstanceOf">
- <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//Boolean"/>
- <parameters name="typeName" lowerBound="1">
- <type xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/4.0.0/Types#//String"/>
- </parameters>
- </queries>
-</query:ModelQuerySet>

Back to the top