sgen.ecore 5.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ecore:EPackage xmi:version="2.0"
  3. xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="sgen"
  5. nsURI="http://www.yakindu.org/sct/statechart/SGen" nsPrefix="sgen">
  6. <eClassifiers xsi:type="ecore:EClass" name="GeneratorModel">
  7. <eStructuralFeatures xsi:type="ecore:EReference" name="entries" upperBound="-1"
  8. eType="#//GeneratorEntry" containment="true"/>
  9. <eStructuralFeatures xsi:type="ecore:EAttribute" name="generatorId" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  10. </eClassifiers>
  11. <eClassifiers xsi:type="ecore:EClass" name="GeneratorConfiguration">
  12. <eStructuralFeatures xsi:type="ecore:EReference" name="configurations" upperBound="-1"
  13. eType="#//FeatureConfiguration" containment="true"/>
  14. </eClassifiers>
  15. <eClassifiers xsi:type="ecore:EClass" name="FeatureType" eSuperTypes="../../../org.yakindu.sct.model.sgraph/model/emf/sgraph.ecore#//NamedElement">
  16. <eStructuralFeatures xsi:type="ecore:EReference" name="parameters" upperBound="-1"
  17. eType="#//FeatureParameter" containment="true" eOpposite="#//FeatureParameter/featureType"/>
  18. <eStructuralFeatures xsi:type="ecore:EReference" name="library" lowerBound="1"
  19. eType="#//FeatureTypeLibrary" changeable="false" volatile="true" transient="true"
  20. derived="true"/>
  21. <eStructuralFeatures xsi:type="ecore:EAttribute" name="optional" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
  22. defaultValueLiteral="false"/>
  23. </eClassifiers>
  24. <eClassifiers xsi:type="ecore:EClass" name="FeatureParameter" eSuperTypes="../../../org.yakindu.sct.model.sgraph/model/emf/sgraph.ecore#//NamedElement">
  25. <eStructuralFeatures xsi:type="ecore:EReference" name="featureType" eType="#//FeatureType"
  26. eOpposite="#//FeatureType/parameters"/>
  27. <eStructuralFeatures xsi:type="ecore:EAttribute" name="optional" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
  28. defaultValueLiteral="false"/>
  29. <eStructuralFeatures xsi:type="ecore:EAttribute" name="parameterType" eType="#//ParameterTypes"/>
  30. </eClassifiers>
  31. <eClassifiers xsi:type="ecore:EClass" name="FeatureConfiguration">
  32. <eOperations name="getParameterValue" eType="#//FeatureParameterValue">
  33. <eParameters name="parameterName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  34. </eOperations>
  35. <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="#//FeatureType"/>
  36. <eStructuralFeatures xsi:type="ecore:EReference" name="parameterValues" upperBound="-1"
  37. eType="#//FeatureParameterValue" containment="true" eOpposite="#//FeatureParameterValue/featureConfiguration"/>
  38. </eClassifiers>
  39. <eClassifiers xsi:type="ecore:EClass" name="GeneratorEntry">
  40. <eOperations name="getFeatureConfiguration" eType="#//FeatureConfiguration">
  41. <eParameters name="featureName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  42. </eOperations>
  43. <eStructuralFeatures xsi:type="ecore:EReference" name="statechart" eType="ecore:EClass ../../../org.yakindu.sct.model.sgraph/model/emf/sgraph.ecore#//Statechart"/>
  44. <eStructuralFeatures xsi:type="ecore:EReference" name="features" upperBound="-1"
  45. eType="#//FeatureConfiguration" containment="true"/>
  46. </eClassifiers>
  47. <eClassifiers xsi:type="ecore:EClass" name="FeatureParameterValue">
  48. <eOperations name="setValue">
  49. <eParameters name="string" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  50. </eOperations>
  51. <eOperations name="setValue">
  52. <eParameters name="boolean" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
  53. </eOperations>
  54. <eOperations name="getStringValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  55. <eOperations name="getBooleanValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
  56. <eStructuralFeatures xsi:type="ecore:EReference" name="parameter" eType="#//FeatureParameter"/>
  57. <eStructuralFeatures xsi:type="ecore:EReference" name="featureConfiguration" eType="#//FeatureConfiguration"
  58. changeable="false" eOpposite="#//FeatureConfiguration/parameterValues"/>
  59. <eStructuralFeatures xsi:type="ecore:EReference" name="expression" eType="ecore:EClass ../../../org.eclipse.xtext.xbase/model/Xbase.ecore#//XExpression"
  60. containment="true"/>
  61. </eClassifiers>
  62. <eClassifiers xsi:type="ecore:EClass" name="FeatureTypeLibrary">
  63. <eStructuralFeatures xsi:type="ecore:EReference" name="types" upperBound="-1"
  64. eType="#//FeatureType" containment="true"/>
  65. <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  66. </eClassifiers>
  67. <eClassifiers xsi:type="ecore:EEnum" name="ParameterTypes">
  68. <eLiterals name="STRING" value="1"/>
  69. <eLiterals name="FLOAT" value="2" literal="FLOAT"/>
  70. <eLiterals name="BOOLEAN"/>
  71. <eLiterals name="INTEGER" value="3"/>
  72. </eClassifiers>
  73. </ecore:EPackage>