SomeMetamodel.genmodel 3.64 KB
Newer Older
Erwan Bousse's avatar
Erwan Bousse committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?xml version="1.0" encoding="UTF-8"?>
<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
    xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/SomeMetamodel/src" modelPluginID="SomeMetamodel"
    modelName="SomeMetamodel" rootExtendsInterface="fr.inria.diverse.cloning.cloner.emfextension.ShareableEObject"
    rootExtendsClass="fr.inria.diverse.cloning.cloner.emfextension.impl.AbstractShareableEObject"
    importerID="org.eclipse.emf.importer.ecore" complianceLevel="5.0" copyrightFields="false"
    operationReflection="true" importOrganizing="true">
  <foreignModel>SomeMetamodel.ecore</foreignModel>
  <foreignModel>SomeMetamodelExtension.ecore</foreignModel>
  <genPackages prefix="Somemetamodel" disposableProviderFactory="true" ecorePackage="SomeMetamodel.ecore#/">
    <genClasses ecoreClass="SomeMetamodel.ecore#//A">
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference SomeMetamodel.ecore#//A/b"/>
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference SomeMetamodel.ecore#//A/c"/>
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference SomeMetamodel.ecore#//A/d"/>
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference SomeMetamodel.ecore#//A/e"/>
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference SomeMetamodel.ecore#//A/x"/>
    </genClasses>
    <genClasses ecoreClass="SomeMetamodel.ecore#//B">
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute SomeMetamodel.ecore#//B/n1_m"/>
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute SomeMetamodel.ecore#//B/n2"/>
    </genClasses>
    <genClasses ecoreClass="SomeMetamodel.ecore#//C">
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute SomeMetamodel.ecore#//C/yay_m"/>
    </genClasses>
    <genClasses ecoreClass="SomeMetamodel.ecore#//D">
      <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference SomeMetamodel.ecore#//D/a"/>
    </genClasses>
    <genClasses ecoreClass="SomeMetamodel.ecore#//E"/>
  </genPackages>
  <genPackages prefix="Somemetamodelextension" disposableProviderFactory="true" ecorePackage="SomeMetamodelExtension.ecore#/">
    <genClasses ecoreClass="SomeMetamodelExtension.ecore#//X"/>
    <genClasses ecoreClass="SomeMetamodelExtension.ecore#//R">
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute SomeMetamodelExtension.ecore#//R/a_m"/>
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute SomeMetamodelExtension.ecore#//R/b"/>
    </genClasses>
    <nestedGenPackages prefix="Hidden" basePackage="somemetamodelextension" disposableProviderFactory="true"
        ecorePackage="SomeMetamodelExtension.ecore#//hidden">
      <genClasses ecoreClass="SomeMetamodelExtension.ecore#//hidden/Y">
        <genFeatures notify="false" createChild="false" propertySortChoices="true"
            ecoreFeature="ecore:EReference SomeMetamodelExtension.ecore#//hidden/Y/z"/>
      </genClasses>
      <genClasses ecoreClass="SomeMetamodelExtension.ecore#//hidden/Z">
        <genFeatures notify="false" createChild="false" propertySortChoices="true"
            ecoreFeature="ecore:EReference SomeMetamodelExtension.ecore#//hidden/Z/y"/>
        <genFeatures createChild="false" ecoreFeature="ecore:EAttribute SomeMetamodelExtension.ecore#//hidden/Z/i_m"/>
      </genClasses>
    </nestedGenPackages>
  </genPackages>
</genmodel:GenModel>