Skip to main content
summaryrefslogtreecommitdiffstats
blob: f8149b3d736bc27c2ac9f1d31e5f74af9eb1f309 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0" encoding="ASCII"?>
<orm:entity-mappings xmlns:orm="http://www.eclipse.org/eclipselink/xsds/persistence/orm" version="2.3">
  <orm:persistence-unit-metadata>
    <orm:persistence-unit-defaults>
      <orm:delimited-identifiers/>
    </orm:persistence-unit-defaults>
  </orm:persistence-unit-metadata>
  <orm:access>FIELD</orm:access>
  <orm:entity class="org.eclipse.emf.texo.test.model.samples.sport.club.Club" name="club_Club">
    <orm:converter class="org.eclipse.emf.texo.test.TexoTestObjectConverter" name="TexoTestObjectConverter"/>
    <orm:converter class="org.eclipse.emf.texo.test.TexoTestQNameConverter" name="TexoTestQNameConverter"/>
    <orm:attributes>
      <orm:one-to-many name="teams">
        <orm:order-column name="club_Club_teams_ind"/>
        <orm:join-column name="club_Club_teams"/>
        <orm:cascade>
          <orm:cascade-all/>
        </orm:cascade>
      </orm:one-to-many>
    </orm:attributes>
  </orm:entity>
  <orm:entity class="org.eclipse.emf.texo.test.model.samples.sport.club.Team" name="club_Team">
    <orm:table name="club_Team"/>
    <orm:discriminator-column length="255"/>
    <orm:converter class="org.eclipse.emf.texo.test.TexoTestObjectConverter" name="TexoTestObjectConverter"/>
    <orm:converter class="org.eclipse.emf.texo.test.TexoTestQNameConverter" name="TexoTestQNameConverter"/>
    <orm:attributes>
      <orm:basic name="name">
        <orm:column name="name"/>
        <orm:convert>TexoTestObjectConverter</orm:convert>
      </orm:basic>
      <orm:many-to-many name="members">
        <orm:order-column name="club_Team_members_ind"/>
        <orm:join-table name="club_Team_members">
          <orm:join-column name="club_Team_members"/>
          <orm:inverse-join-column name="members_club_Member"/>
        </orm:join-table>
        <orm:cascade>
          <orm:cascade-persist/>
          <orm:cascade-merge/>
          <orm:cascade-refresh/>
        </orm:cascade>
      </orm:many-to-many>
    </orm:attributes>
  </orm:entity>
  <orm:entity class="org.eclipse.emf.texo.test.model.samples.sport.club.Member" name="club_Member">
    <orm:table name="club_Member"/>
    <orm:discriminator-column length="255"/>
    <orm:converter class="org.eclipse.emf.texo.test.TexoTestObjectConverter" name="TexoTestObjectConverter"/>
    <orm:converter class="org.eclipse.emf.texo.test.TexoTestQNameConverter" name="TexoTestQNameConverter"/>
    <orm:attributes>
      <orm:basic name="name">
        <orm:column name="name"/>
        <orm:convert>TexoTestObjectConverter</orm:convert>
      </orm:basic>
      <orm:basic name="lastName">
        <orm:column name="lastName"/>
        <orm:convert>TexoTestObjectConverter</orm:convert>
      </orm:basic>
      <orm:basic name="age">
        <orm:column name="age"/>
        <orm:convert>TexoTestObjectConverter</orm:convert>
      </orm:basic>
      <orm:basic name="gender">
        <orm:column name="gender"/>
        <orm:enumerated>STRING</orm:enumerated>
      </orm:basic>
    </orm:attributes>
  </orm:entity>
</orm:entity-mappings>

Back to the top