sgen.ecore 6.7 KB

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