-
Notifications
You must be signed in to change notification settings - Fork 1
/
my.genmodel
27 lines (27 loc) · 1.86 KB
/
my.genmodel
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
<?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="/emf-mongodb/src/main/java" modelPluginID="emf-mongodb"
modelName="My" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
importerID="org.eclipse.emf.importer.ecore" bundleManifest="false" complianceLevel="5.0"
copyrightFields="false" operationReflection="true" importOrganizing="true">
<foreignModel>my.ecore</foreignModel>
<genPackages prefix="My" basePackage="net.latuske.emfmogodb" disposableProviderFactory="true"
ecorePackage="my.ecore#/">
<genEnums typeSafeEnumCompatible="false" ecoreEnum="my.ecore#//EMailAddressType">
<genEnumLiterals ecoreEnumLiteral="my.ecore#//EMailAddressType/Private"/>
<genEnumLiterals ecoreEnumLiteral="my.ecore#//EMailAddressType/Office"/>
</genEnums>
<genClasses ecoreClass="my.ecore#//Person">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute my.ecore#//Person/name"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference my.ecore#//Person/address"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference my.ecore#//Person/emailAddresses"/>
</genClasses>
<genClasses ecoreClass="my.ecore#//Address">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute my.ecore#//Address/city"/>
</genClasses>
<genClasses ecoreClass="my.ecore#//EMailAddress">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute my.ecore#//EMailAddress/email"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute my.ecore#//EMailAddress/type"/>
</genClasses>
</genPackages>
</genmodel:GenModel>