Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 0ed9f1b757884f0ab78448ca45776057bbd50556 (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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
<?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 Thu Feb 01 13:04:24 CET 2007 -->
<hibernate-mapping>
	<class entity-name="WorkflowElement" abstract="true" lazy="false" table="`workflowelement`">
		<meta attribute="eclassName">WorkflowElement</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta>
		<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
			<meta attribute="syntheticId">true</meta>
			<generator class="native"/>
		</id>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
			<meta attribute="syntheticVersion">true</meta>
		</version>
		<property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`name`"/>
		</property>
		<property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`comment`"/>
		</property>
		<property name="x" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
			<column not-null="false" unique="false" name="`x`"/>
		</property>
		<property name="y" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
			<column not-null="false" unique="false" name="`y`"/>
		</property>
		<property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
			<column not-null="false" unique="false" name="`width`"/>
		</property>
		<property name="height" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
			<column not-null="false" unique="false" name="`height`"/>
		</property>
	</class>
	<joined-subclass entity-name="Workflow" abstract="false" lazy="false" extends="WorkflowElement" table="`workflow`">
		<meta attribute="eclassName">Workflow</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta>
		<key>
			<column name="`workflowelement_id`"/>
		</key>
		<list name="nodes" lazy="true" cascade="all,delete-orphan">
			<key update="true">
				<column name="`workflownode_workflow_id`" not-null="false" unique="false"/>
			</key>
			<list-index column="`workflow_nodes_idx`"/>
			<one-to-many entity-name="WorkflowNode"/>
		</list>
		<list name="edges" lazy="true" cascade="all,delete-orphan">
			<key update="true">
				<column name="`edge_workflow_id`" not-null="false" unique="false"/>
			</key>
			<list-index column="`workflow_edges_idx`"/>
			<one-to-many entity-name="Edge"/>
		</list>
		<list name="comments" lazy="true" cascade="all,delete-orphan">
			<key update="true">
				<column name="`comment_workflow_id`" not-null="false" unique="false"/>
			</key>
			<list-index column="`workflow_comments_idx`"/>
			<one-to-many entity-name="Comment"/>
		</list>
	</joined-subclass>
	<joined-subclass entity-name="WorkflowNode" abstract="true" lazy="false" extends="WorkflowElement" table="`workflownode`">
		<meta attribute="eclassName">WorkflowNode</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta>
		<key>
			<column name="`workflowelement_id`"/>
		</key>
		<many-to-one name="workflow" entity-name="Workflow" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
			<column not-null="false" unique="false" name="`workflownode_workflow_id`"/>
		</many-to-one>
		<list name="outputs" lazy="true" cascade="all,delete-orphan">
			<key update="true">
				<column name="`outputport_node_id`" not-null="false" unique="false"/>
			</key>
			<list-index column="`workflownode_outputs_idx`"/>
			<one-to-many entity-name="OutputPort"/>
		</list>
		<list name="inputs" lazy="true" cascade="all,delete-orphan">
			<key update="true">
				<column name="`inputport_node_id`" not-null="false" unique="false"/>
			</key>
			<list-index column="`workflownode_inputs_idx`"/>
			<one-to-many entity-name="InputPort"/>
		</list>
		<property name="isStart" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean">
			<column not-null="true" unique="false" name="`isstart`"/>
		</property>
		<property name="isFinish" lazy="false" insert="true" update="true" not-null="true" unique="false" type="boolean">
			<column not-null="true" unique="false" name="`isfinish`"/>
		</property>
	</joined-subclass>
	<joined-subclass entity-name="Edge" abstract="false" lazy="false" extends="WorkflowElement" table="`edge`">
		<meta attribute="eclassName">Edge</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta>
		<key>
			<column name="`workflowelement_id`"/>
		</key>
		<many-to-one name="workflow" entity-name="Workflow" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
			<column not-null="false" unique="false" name="`edge_workflow_id`"/>
		</many-to-one>
		<many-to-one name="target" entity-name="InputPort" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
			<column not-null="false" unique="false" name="`edge_target_id`"/>
		</many-to-one>
		<many-to-one name="source" entity-name="OutputPort" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
			<column not-null="false" unique="false" name="`edge_source_id`"/>
		</many-to-one>
	</joined-subclass>
	<joined-subclass entity-name="Port" abstract="true" lazy="false" extends="WorkflowElement" table="`port`">
		<meta attribute="eclassName">Port</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta>
		<key>
			<column name="`workflowelement_id`"/>
		</key>
	</joined-subclass>
	<joined-subclass entity-name="InputPort" abstract="false" lazy="false" extends="Port" table="`inputport`">
		<meta attribute="eclassName">InputPort</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta>
		<key>
			<column name="`port_id`"/>
		</key>
		<many-to-one name="node" entity-name="WorkflowNode" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
			<column not-null="false" unique="false" name="`inputport_node_id`"/>
		</many-to-one>
		<list name="edges" lazy="true" cascade="merge,persist,save-update,lock,refresh">
			<key update="true">
				<column name="`edge_target_id`" not-null="false" unique="false"/>
			</key>
			<list-index column="`inputport_edges_idx`"/>
			<one-to-many entity-name="Edge"/>
		</list>
	</joined-subclass>
	<joined-subclass entity-name="OutputPort" abstract="false" lazy="false" extends="Port" table="`outputport`">
		<meta attribute="eclassName">OutputPort</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta>
		<key>
			<column name="`port_id`"/>
		</key>
		<many-to-one name="node" entity-name="WorkflowNode" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
			<column not-null="false" unique="false" name="`outputport_node_id`"/>
		</many-to-one>
		<list name="edges" lazy="true" cascade="merge,persist,save-update,lock,refresh">
			<key update="true">
				<column name="`edge_source_id`" not-null="false" unique="false"/>
			</key>
			<list-index column="`outputport_edges_idx`"/>
			<one-to-many entity-name="Edge"/>
		</list>
	</joined-subclass>
	<joined-subclass entity-name="Fault" abstract="false" lazy="false" extends="OutputPort" table="`fault`">
		<meta attribute="eclassName">Fault</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta>
		<key>
			<column name="`outputport_id`"/>
		</key>
	</joined-subclass>
	<joined-subclass entity-name="CompoundTask" abstract="false" lazy="false" extends="WorkflowNode" table="`compoundtask`">
		<meta attribute="eclassName">CompoundTask</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta>
		<key>
			<column name="`workflownode_id`"/>
		</key>
		<many-to-one name="subworkflow" entity-name="Workflow" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="true">
			<column not-null="true" unique="false" name="`workflow_subworkflow_id`"/>
		</many-to-one>
	</joined-subclass>
	<joined-subclass entity-name="TransformationTask" abstract="false" lazy="false" extends="WorkflowNode" table="`transformationtask`">
		<meta attribute="eclassName">TransformationTask</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta>
		<key>
			<column name="`workflownode_id`"/>
		</key>
		<property name="transformExpression" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`transformexpression`"/>
		</property>
	</joined-subclass>
	<joined-subclass entity-name="ConditionalTask" abstract="false" lazy="false" extends="WorkflowNode" table="`conditionaltask`">
		<meta attribute="eclassName">ConditionalTask</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta>
		<key>
			<column name="`workflownode_id`"/>
		</key>
	</joined-subclass>
	<joined-subclass entity-name="LoopTask" abstract="false" lazy="false" extends="CompoundTask" table="`looptask`">
		<meta attribute="eclassName">LoopTask</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta>
		<key>
			<column name="`compoundtask_id`"/>
		</key>
		<property name="whileCondition" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
			<column not-null="true" unique="false" name="`whilecondition`"/>
		</property>
	</joined-subclass>
	<joined-subclass entity-name="ConditionalOutputPort" abstract="false" lazy="false" extends="OutputPort" table="`conditionaloutputport`">
		<meta attribute="eclassName">ConditionalOutputPort</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta>
		<key>
			<column name="`outputport_id`"/>
		</key>
		<property name="condition" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
			<column not-null="true" unique="false" name="`condition`"/>
		</property>
	</joined-subclass>
	<joined-subclass entity-name="Comment" abstract="false" lazy="false" extends="WorkflowElement" table="`comment`">
		<meta attribute="eclassName">Comment</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta>
		<key>
			<column name="`workflowelement_id`"/>
		</key>
		<many-to-one name="workflow" entity-name="Workflow" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
			<column not-null="false" unique="false" name="`comment_workflow_id`"/>
		</many-to-one>
	</joined-subclass>
	<joined-subclass entity-name="Task" abstract="false" lazy="false" extends="WorkflowNode" table="`task`">
		<meta attribute="eclassName">Task</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/workflow</meta>
		<key>
			<column name="`workflownode_id`"/>
		</key>
	</joined-subclass>
</hibernate-mapping>

Back to the top