Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 1d71037e3975825a7a2ecf599a2cf3be69743403 (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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

<!--	Generated by Teneo on Fri Sep 22 14:57:12 CEST 2006 -->
<hibernate-mapping>
	<class entity-name="ActType" abstract="false" lazy="false" discriminator-value="ActType" table="`acttype`">
		<id type="long" name="e_id" column="e_id">
			<generator class="native"/>
		</id>
		<discriminator column="`dtype`" type="string"/>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
		<list name="scene" lazy="true" cascade="all,delete-orphan">
			<key update="true">
				<column name="`scene_id`" not-null="false" unique="false"/>
			</key>
			<list-index column="`acttype_scene_idx`"/>
			<one-to-many entity-name="SceneType"/>
		</list>
		<property name="pindex" type="byte" lazy="false" column="`pindex`" not-null="false"/>
		<property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
	</class>
	<class entity-name="FmType" abstract="false" lazy="false" discriminator-value="FmType" table="`fmtype`">
		<id type="long" name="e_id" column="e_id">
			<generator class="native"/>
		</id>
		<discriminator column="`dtype`" type="string"/>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
		<list name="p" lazy="true" cascade="all,delete-orphan">
			<key update="true">
				<column name="`p_id`" not-null="true" unique="false"/>
			</key>
			<list-index column="`fmtype_p_idx`"/>
			<element type="java.lang.String"/>
		</list>
	</class>
	<class entity-name="PersonaeType" abstract="false" lazy="false" discriminator-value="PersonaeType" table="`personaetype`">
		<id type="long" name="e_id" column="e_id">
			<generator class="native"/>
		</id>
		<discriminator column="`dtype`" type="string"/>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
		<list name="group" lazy="true" cascade="all,delete-orphan">
			<key update="true">
				<column name="`group_id`" not-null="false" unique="false"/>
			</key>
			<list-index column="`personaetype_group_idx`"/>
			<one-to-many entity-name="PersonaeType_group"/>
		</list>
	</class>
	<class entity-name="PersonaeType_group" lazy="false" table="`personaetype_group`">
		<meta attribute="eclass">PersonaeType</meta>
		<id type="long">
			<generator class="native"/>
		</id>
		<version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
		<property name="fme_feature" type="java.lang.String"/>
		<property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="false"/>
		<property name="persona" type="java.lang.String" lazy="false" column="`persona`" not-null="false"/>
		<many-to-one name="personaGroup" entity-name="PersonaGroupType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
			<column not-null="false" unique="false" name="`personagroup_id`"/>
		</many-to-one>
	</class>
	<class entity-name="PersonaGroupType" abstract="false" lazy="false" discriminator-value="PersonaGroupType" table="`personagrouptype`">
		<id type="long" name="e_id" column="e_id">
			<generator class="native"/>
		</id>
		<discriminator column="`dtype`" type="string"/>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
		<list name="persona" lazy="true" cascade="all,delete-orphan">
			<key update="true">
				<column name="`persona_id`" not-null="true" unique="false"/>
			</key>
			<list-index column="`personagrouptype_persona_idx`"/>
			<element type="java.lang.String"/>
		</list>
		<property name="groupDescription" type="java.lang.String" lazy="false" column="`groupdescription`" not-null="true"/>
	</class>
	<class entity-name="PlayType" abstract="false" lazy="false" discriminator-value="PlayType" table="`playtype`">
		<id type="long" name="e_id" column="e_id">
			<generator class="native"/>
		</id>
		<discriminator column="`dtype`" type="string"/>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
		<property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
		<many-to-one name="fm" entity-name="FmType" cascade="all" lazy="false" insert="true" update="true" not-null="true">
			<column not-null="true" unique="false" name="`fm_id`"/>
		</many-to-one>
		<many-to-one name="personae" entity-name="PersonaeType" cascade="all" lazy="false" insert="true" update="true" not-null="true">
			<column not-null="true" unique="false" name="`personae_id`"/>
		</many-to-one>
		<property name="sceneDescription" type="java.lang.String" lazy="false" column="`scenedescription`" not-null="true"/>
		<property name="playSubTitle" type="java.lang.String" lazy="false" column="`playsubtitle`" not-null="true"/>
		<list name="act" lazy="true" cascade="all,delete-orphan">
			<key update="true">
				<column name="`act_id`" not-null="false" unique="false"/>
			</key>
			<list-index column="`playtype_act_idx`"/>
			<one-to-many entity-name="ActType"/>
		</list>
	</class>
	<class entity-name="SceneType" abstract="false" lazy="false" discriminator-value="SceneType" table="`scenetype`">
		<id type="long" name="e_id" column="e_id">
			<generator class="native"/>
		</id>
		<discriminator column="`dtype`" type="string"/>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
		<list name="group" lazy="true" cascade="all,delete-orphan">
			<key update="true">
				<column name="`group_id`" not-null="false" unique="false"/>
			</key>
			<list-index column="`scenetype_group_idx`"/>
			<one-to-many entity-name="SceneType_group"/>
		</list>
		<property name="pindex" type="java.lang.String" lazy="false" column="`pindex`" not-null="true"/>
		<property name="title" type="java.lang.String" lazy="false" column="`title`" not-null="true"/>
	</class>
	<class entity-name="SceneType_group" lazy="false" table="`scenetype_group`">
		<meta attribute="eclass">SceneType</meta>
		<id type="long">
			<generator class="native"/>
		</id>
		<version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
		<property name="fme_feature" type="java.lang.String"/>
		<property name="stageDirections" type="java.lang.String" lazy="false" column="`stagedirections`" not-null="false"/>
		<many-to-one name="speech" entity-name="SpeechType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
			<column not-null="false" unique="false" name="`speech_id`"/>
		</many-to-one>
	</class>
	<class entity-name="SpeechType" abstract="false" lazy="false" discriminator-value="SpeechType" table="`speechtype`">
		<id type="long" name="e_id" column="e_id">
			<generator class="native"/>
		</id>
		<discriminator column="`dtype`" type="string"/>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
		<list name="group" lazy="true" cascade="all,delete-orphan">
			<key update="true">
				<column name="`group_id`" not-null="false" unique="false"/>
			</key>
			<list-index column="`speechtype_group_idx`"/>
			<one-to-many entity-name="SpeechType_group"/>
		</list>
	</class>
	<class entity-name="SpeechType_group" lazy="false" table="`speechtype_group`">
		<meta attribute="eclass">SpeechType</meta>
		<id type="long">
			<generator class="native"/>
		</id>
		<version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"/>
		<property name="fme_feature" type="java.lang.String"/>
		<property name="speaker" type="java.lang.String" lazy="false" column="`speaker`" not-null="false"/>
		<property name="line" type="java.lang.String" lazy="false" column="`line`" not-null="false"/>
		<property name="stageDirections" type="java.lang.String" lazy="false" column="`stagedirections`" not-null="false"/>
	</class>
</hibernate-mapping>

Back to the top