blob: 6f339ff5e45350748dd8f375cad3efb22aa48664 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?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="/org.eclipse.emf.teneo.hibernate.test/src"
modelPluginID="org.eclipse.emf.teneo.hibernate.test" modelName="UserType" importerID="org.eclipse.emf.importer.ecore">
<foreignModel>usertype.ecore</foreignModel>
<genPackages prefix="Usertype" basePackage="org.eclipse.emf.teneo.samples.emf.hibernate"
resource="XML" disposableProviderFactory="true" ecorePackage="usertype.ecore#/">
<genDataTypes ecoreDataType="usertype.ecore#//Name"/>
<genDataTypes ecoreDataType="usertype.ecore#//PhoneNumber"/>
<genDataTypes ecoreDataType="usertype.ecore#//IntArray"/>
<genClasses ecoreClass="usertype.ecore#//Person">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute usertype.ecore#//Person/name"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute usertype.ecore#//Person/numbers"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute usertype.ecore#//Person/phoneNumbers"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute usertype.ecore#//Person/emergencyContact"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference usertype.ecore#//Person/addresses"/>
</genClasses>
<genClasses ecoreClass="usertype.ecore#//Address">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute usertype.ecore#//Address/addressInfo"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference usertype.ecore#//Address/person"/>
</genClasses>
</genPackages>
</genmodel:GenModel>
|