Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 3ee6fb71db27fe87b94288fc2b43e8d01ffc6ff5 (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
25
26
27
28
29
30
31
32
33
34
35
36
<?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#/">
    <genEnums typeSafeEnumCompatible="false" ecoreEnum="usertype.ecore#//CitySize">
      <genEnumLiterals ecoreEnumLiteral="usertype.ecore#//CitySize/SMALL"/>
      <genEnumLiterals ecoreEnumLiteral="usertype.ecore#//CitySize/MEDIUM"/>
      <genEnumLiterals ecoreEnumLiteral="usertype.ecore#//CitySize/LARGE"/>
    </genEnums>
    <genDataTypes ecoreDataType="usertype.ecore#//Name"/>
    <genDataTypes ecoreDataType="usertype.ecore#//PhoneNumber"/>
    <genDataTypes ecoreDataType="usertype.ecore#//IntArray"/>
    <genDataTypes ecoreDataType="usertype.ecore#//myDoubleType"/>
    <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"/>
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute usertype.ecore#//Person/birthPlace"/>
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute usertype.ecore#//Person/double"/>
    </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>
    <genClasses ecoreClass="usertype.ecore#//City">
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute usertype.ecore#//City/id"/>
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute usertype.ecore#//City/size"/>
    </genClasses>
  </genPackages>
</genmodel:GenModel>

Back to the top