1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <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="ModelicaML" description="ModelicaML specific queries"> |
---|
3 | <associatedMetamodels href="http://www.eclipse.org/emf/2002/Ecore#/"/> |
---|
4 | <associatedMetamodels href="http://www.eclipse.org/uml2/3.0.0/UML#/"/> |
---|
5 | <queries xsi:type="query:JavaModelQuery" name="getModelicaMLComponentIconPath" description="returns the icon path" implementationClassName="org.openmodelica.modelicaml.model.explorer.customization.GetModelicaMLComponentIconPath"> |
---|
6 | <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
7 | <scope href="http://www.eclipse.org/uml2/3.0.0/UML#//Property"/> |
---|
8 | </queries> |
---|
9 | <queries xsi:type="query:JavaModelQuery" name="getModelicaMLClassIcon" description="returns the icon path " implementationClassName="org.openmodelica.modelicaml.model.explorer.customization.GetModelicaMLClassIcon"> |
---|
10 | <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
11 | <scope href="http://www.eclipse.org/uml2/3.0.0/UML#//Class"/> |
---|
12 | </queries> |
---|
13 | <queries xsi:type="query:JavaModelQuery" name="getNamedElementLabel" description="returns the name of the naned element" implementationClassName="org.openmodelica.modelicaml.model.explorer.customization.GetNamedElementLabel"> |
---|
14 | <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
15 | <scope href="http://www.eclipse.org/uml2/3.0.0/UML#//NamedElement"/> |
---|
16 | </queries> |
---|
17 | <queries xsi:type="query:JavaModelQuery" name="getGeneralizationLabel" description="returns the name of the generalization target " implementationClassName="org.openmodelica.modelicaml.model.explorer.customization.GetGeneralizationLabel"> |
---|
18 | <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
19 | <scope href="http://www.eclipse.org/uml2/3.0.0/UML#//Generalization"/> |
---|
20 | </queries> |
---|
21 | <queries xsi:type="query:JavaModelQuery" name="GetTypedElementLabel" description="returns the name, type name, etc. of the typed element" implementationClassName="org.openmodelica.modelicaml.model.explorer.customization.GetTypedElementLabel"> |
---|
22 | <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
23 | <scope href="http://www.eclipse.org/uml2/3.0.0/UML#//TypedElement"/> |
---|
24 | </queries> |
---|
25 | <queries xsi:type="query:JavaModelQuery" name="isHaveMoreThanXProperties" description="checks if the class has more then x number of properties" implementationClassName="org.openmodelica.modelicaml.model.explorer.customization.IsHaveMoreThanXProperties"> |
---|
26 | <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
---|
27 | <scope href="http://www.eclipse.org/uml2/3.0.0/UML#//Classifier"/> |
---|
28 | </queries> |
---|
29 | <queries xsi:type="query:JavaModelQuery" name="getColorForTypedElement" description="returns the color for the TypedElement" implementationClassName="org.openmodelica.modelicaml.model.explorer.customization.GetColorForTypedElement"> |
---|
30 | <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
31 | <scope href="http://www.eclipse.org/uml2/3.0.0/UML#//TypedElement"/> |
---|
32 | </queries> |
---|
33 | <queries xsi:type="query:JavaModelQuery" name="isModelicaMLStereotypeApplied" description="looks for the application of any ModelicaML stereotype based on its qualified name" implementationClassName="org.openmodelica.modelicaml.model.explorer.customization.IsModelicaMLStereotypeApplied"> |
---|
34 | <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
---|
35 | <scope href="http://www.eclipse.org/uml2/3.0.0/UML#//NamedElement"/> |
---|
36 | </queries> |
---|
37 | <queries xsi:type="query:JavaModelQuery" name="getConnectorLabel" description="creates the label for Connector" implementationClassName="org.openmodelica.modelicaml.model.explorer.customization.GetConnectorLabel"> |
---|
38 | <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
39 | <scope href="http://www.eclipse.org/uml2/3.0.0/UML#//Connector"/> |
---|
40 | </queries> |
---|
41 | <queries xsi:type="query:JavaModelQuery" name="isInput" description="determines if the variable has the prefix input" implementationClassName="org.openmodelica.modelicaml.model.explorer.customization.IsInput"> |
---|
42 | <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
---|
43 | <scope href="http://www.eclipse.org/uml2/3.0.0/UML#//TypedElement"/> |
---|
44 | </queries> |
---|
45 | <queries xsi:type="query:JavaModelQuery" name="isFlow" description="determines if the variable has the prefix flow" implementationClassName="org.openmodelica.modelicaml.model.explorer.customization.IsFlow"> |
---|
46 | <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
---|
47 | <scope href="http://www.eclipse.org/uml2/3.0.0/UML#//TypedElement"/> |
---|
48 | </queries> |
---|
49 | <queries xsi:type="query:JavaModelQuery" name="isOutput" description="determines if variable has the prefix 'output'" implementationClassName="org.openmodelica.modelicaml.model.explorer.customization.IsOutput"> |
---|
50 | <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
---|
51 | <scope href="http://www.eclipse.org/uml2/3.0.0/UML#//TypedElement"/> |
---|
52 | </queries> |
---|
53 | <queries xsi:type="query:JavaModelQuery" name="isConstant" description="Determines if varialble has the prefix 'constant'" implementationClassName="org.openmodelica.modelicaml.model.explorer.customization.IsConstant"> |
---|
54 | <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
---|
55 | <scope href="http://www.eclipse.org/uml2/3.0.0/UML#//TypedElement"/> |
---|
56 | </queries> |
---|
57 | <queries xsi:type="query:JavaModelQuery" name="isStream" description="Determines if variable has the prefix 'stream'" implementationClassName="org.openmodelica.modelicaml.model.explorer.customization.IsStream"> |
---|
58 | <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
---|
59 | <scope href="http://www.eclipse.org/uml2/3.0.0/UML#//TypedElement"/> |
---|
60 | </queries> |
---|
61 | <queries xsi:type="query:JavaModelQuery" name="getOpaqueBehaviorLabel" description="" implementationClassName="org.openmodelica.modelicaml.model.explorer.customization.GetOpaqueBehaviorLabel"> |
---|
62 | <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
---|
63 | <scope href="http://www.eclipse.org/uml2/3.0.0/UML#//OpaqueBehavior"/> |
---|
64 | </queries> |
---|
65 | <queries xsi:type="query:JavaModelQuery" name="isParameter" description="" implementationClassName="org.openmodelica.modelicaml.model.explorer.customization.IsParameter"> |
---|
66 | <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
---|
67 | <scope href="http://www.eclipse.org/uml2/3.0.0/UML#//TypedElement"/> |
---|
68 | </queries> |
---|
69 | <queries xsi:type="query:JavaModelQuery" name="isPartial" description="Determines if the ModelicaML class has the prefix "partial"" implementationClassName="org.openmodelica.modelicaml.model.explorer.customization.IsPartial"> |
---|
70 | <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
---|
71 | <scope href="http://www.eclipse.org/uml2/3.0.0/UML#//Classifier"/> |
---|
72 | </queries> |
---|
73 | </query:ModelQuerySet> |
---|