sgen.genmodel 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <genmodel:GenModel xmi:version="2.0"
  3. xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
  4. xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.yakindu.sct.model.sgen/src"
  5. modelPluginID="org.yakindu.sct.model.sgen" modelName="Sgen" importerID="org.eclipse.emf.importer.ecore"
  6. complianceLevel="5.0" copyrightFields="false" usedGenPackages="../../../org.yakindu.sct.model.sgraph/model/emf/sgraph.genmodel#//sgraph ../../../org.eclipse.xtext.common.types/model/JavaVMTypes.genmodel#//types ../../../org.eclipse.xtext.xbase/model/Xbase.genmodel#//xbase">
  7. <foreignModel>sgen.ecore</foreignModel>
  8. <genPackages prefix="SGen" basePackage="org.yakindu.sct.model" disposableProviderFactory="true"
  9. loadInitialization="true" ecorePackage="sgen.ecore#/">
  10. <genEnums typeSafeEnumCompatible="false" ecoreEnum="sgen.ecore#//ParameterTypes">
  11. <genEnumLiterals ecoreEnumLiteral="sgen.ecore#//ParameterTypes/STRING"/>
  12. <genEnumLiterals ecoreEnumLiteral="sgen.ecore#//ParameterTypes/FLOAT"/>
  13. <genEnumLiterals ecoreEnumLiteral="sgen.ecore#//ParameterTypes/BOOLEAN"/>
  14. <genEnumLiterals ecoreEnumLiteral="sgen.ecore#//ParameterTypes/INTEGER"/>
  15. </genEnums>
  16. <genClasses ecoreClass="sgen.ecore#//GeneratorModel">
  17. <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference sgen.ecore#//GeneratorModel/entries"/>
  18. <genFeatures createChild="false" ecoreFeature="ecore:EAttribute sgen.ecore#//GeneratorModel/generatorId"/>
  19. </genClasses>
  20. <genClasses ecoreClass="sgen.ecore#//GeneratorConfiguration">
  21. <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference sgen.ecore#//GeneratorConfiguration/configurations"/>
  22. </genClasses>
  23. <genClasses ecoreClass="sgen.ecore#//FeatureType">
  24. <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference sgen.ecore#//FeatureType/parameters"/>
  25. <genFeatures property="Readonly" notify="false" createChild="false" ecoreFeature="ecore:EReference sgen.ecore#//FeatureType/library"/>
  26. <genFeatures createChild="false" ecoreFeature="ecore:EAttribute sgen.ecore#//FeatureType/optional"/>
  27. </genClasses>
  28. <genClasses ecoreClass="sgen.ecore#//FeatureParameter">
  29. <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference sgen.ecore#//FeatureParameter/featureType"/>
  30. <genFeatures createChild="false" ecoreFeature="ecore:EAttribute sgen.ecore#//FeatureParameter/optional"/>
  31. <genFeatures createChild="false" ecoreFeature="ecore:EAttribute sgen.ecore#//FeatureParameter/parameterType"/>
  32. </genClasses>
  33. <genClasses ecoreClass="sgen.ecore#//FeatureConfiguration">
  34. <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference sgen.ecore#//FeatureConfiguration/type"/>
  35. <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference sgen.ecore#//FeatureConfiguration/parameterValues"/>
  36. <genOperations ecoreOperation="sgen.ecore#//FeatureConfiguration/getParameterValue">
  37. <genParameters ecoreParameter="sgen.ecore#//FeatureConfiguration/getParameterValue/parameterName"/>
  38. </genOperations>
  39. </genClasses>
  40. <genClasses ecoreClass="sgen.ecore#//GeneratorEntry">
  41. <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference sgen.ecore#//GeneratorEntry/statechart"/>
  42. <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference sgen.ecore#//GeneratorEntry/features"/>
  43. <genOperations ecoreOperation="sgen.ecore#//GeneratorEntry/getFeatureConfiguration">
  44. <genParameters ecoreParameter="sgen.ecore#//GeneratorEntry/getFeatureConfiguration/featureName"/>
  45. </genOperations>
  46. </genClasses>
  47. <genClasses ecoreClass="sgen.ecore#//FeatureParameterValue">
  48. <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference sgen.ecore#//FeatureParameterValue/parameter"/>
  49. <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference sgen.ecore#//FeatureParameterValue/featureConfiguration"/>
  50. <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference sgen.ecore#//FeatureParameterValue/expression"/>
  51. <genOperations ecoreOperation="sgen.ecore#//FeatureParameterValue/setValue">
  52. <genParameters ecoreParameter="sgen.ecore#//FeatureParameterValue/setValue/string"/>
  53. </genOperations>
  54. <genOperations ecoreOperation="sgen.ecore#//FeatureParameterValue/setValue.1">
  55. <genParameters ecoreParameter="sgen.ecore#//FeatureParameterValue/setValue.1/boolean"/>
  56. </genOperations>
  57. <genOperations ecoreOperation="sgen.ecore#//FeatureParameterValue/getStringValue"/>
  58. <genOperations ecoreOperation="sgen.ecore#//FeatureParameterValue/getBooleanValue"/>
  59. </genClasses>
  60. <genClasses ecoreClass="sgen.ecore#//FeatureTypeLibrary">
  61. <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference sgen.ecore#//FeatureTypeLibrary/types"/>
  62. <genFeatures createChild="false" ecoreFeature="ecore:EAttribute sgen.ecore#//FeatureTypeLibrary/name"/>
  63. </genClasses>
  64. </genPackages>
  65. </genmodel:GenModel>