ontomde-demo-bpm 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +2 -0
- data/Manifest.txt +56 -0
- data/README.txt +79 -0
- data/Rakefile +22 -0
- data/bin/ontomde-demo-bpm-install +11 -0
- data/demo/1-unpack.sh +5 -0
- data/demo/2-generate.sh +5 -0
- data/demo/3-start-app.sh +10 -0
- data/demo/4-stop-app.sh +7 -0
- data/demo/5-debug.sh +18 -0
- data/demo/6-nodebug.sh +2 -0
- data/demo/9-eclipse.bat +5 -0
- data/demo/9-eclipse.sh +6 -0
- data/demo/debug.sh +18 -0
- data/demo/domain/pom.xml +110 -0
- data/demo/domain/src/main/java/cas1/Magasinier.java +233 -0
- data/demo/domain/src/main/java/cas2/Banquier.java +172 -0
- data/demo/domain/src/main/java/cas2/Client.java +140 -0
- data/demo/domain/src/main/java/cas2/Personne.java +225 -0
- data/demo/domain/src/main/java/cas3/Commande.java +221 -0
- data/demo/domain/src/main/java/cas3/ProcessusPreparation.java +382 -0
- data/demo/domain/src/main/java/cas4/CommandeLivraison.java +325 -0
- data/demo/domain/src/main/java/cas4/ProcessusLivraison.java +366 -0
- data/demo/domain/src/main/java/cas4/TacheHumaine.java +225 -0
- data/demo/domain/src/main/java/cas4/TacheSuiteErreurLivraison.java +201 -0
- data/demo/domain/src/main/resources/META-INF/persistence.xml +25 -0
- data/demo/ear/pom.xml +175 -0
- data/demo/mda/clean-generated.sh +24 -0
- data/demo/mda/pom.xml +227 -0
- data/demo/mda/src/main/mda/customDataTypes.rb +1 -0
- data/demo/mda/src/main/mda/dbDiscriminatorCache.rb +72 -0
- data/demo/mda/src/main/model/.project +12 -0
- data/demo/mda/src/main/model/model.emx +606 -0
- data/demo/mda/src/main/model/model.emx.nt +2904 -0
- data/demo/mda/src/main/model/model.emx.nt_kb.pprj +1432 -0
- data/demo/mda/src/main/model/model.emx.nt_kb.rdf +73 -0
- data/demo/mda/src/main/model/model.emx.nt_kb.rdfs +709 -0
- data/demo/mda/src/main/process/.classpath +10 -0
- data/demo/mda/src/main/process/.project +17 -0
- data/demo/mda/src/main/process/processList.txt +2 -0
- data/demo/mda/src/main/process/src/cas3.ProcessusPreparation/gpd.xml +43 -0
- data/demo/mda/src/main/process/src/cas3.ProcessusPreparation/processdefinition.xml +40 -0
- data/demo/mda/src/main/process/src/cas3.ProcessusPreparation/processimage.jpg +0 -0
- data/demo/mda/src/main/process/src/cas4.ProcessusLivraison/gpd.xml +30 -0
- data/demo/mda/src/main/process/src/cas4.ProcessusLivraison/processdefinition.xml +28 -0
- data/demo/mda/src/main/process/src/cas4.ProcessusLivraison/processimage.jpg +0 -0
- data/demo/mda/src/main/resources/formatter.properties +260 -0
- data/demo/ontomde-bpm-ear-copy/pom.xml +128 -0
- data/demo/pom.xml +126 -0
- data/demo/readme.txt +15 -0
- data/demo/runMyApp.sh +22 -0
- data/demo/setenv.sh-sample +7 -0
- data/demo/stopMyApp.sh +15 -0
- data/demo/stopdebug.sh +2 -0
- data/demo/webapp/pom.xml +102 -0
- data/lib/ontomde-demo-bpm.rb +1 -0
- metadata +121 -0
data/demo/ear/pom.xml
ADDED
@@ -0,0 +1,175 @@
|
|
1
|
+
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
3
|
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
4
|
+
<modelVersion>4.0.0</modelVersion>
|
5
|
+
<parent>
|
6
|
+
<groupId>net.sourceforge.ontomde.samples.bpm</groupId>
|
7
|
+
<artifactId>projectbase</artifactId>
|
8
|
+
<version>1.0-SNAPSHOT</version>
|
9
|
+
</parent>
|
10
|
+
<artifactId>sample-ear</artifactId>
|
11
|
+
<packaging>ear</packaging>
|
12
|
+
<name>sample-ear</name>
|
13
|
+
<url>http://maven.apache.org</url>
|
14
|
+
<dependencies>
|
15
|
+
|
16
|
+
<dependency>
|
17
|
+
<groupId>net.sourceforge.ontomde</groupId>
|
18
|
+
<artifactId>ontomde-bpm-client</artifactId>
|
19
|
+
<version>${ontomde.lib.version}</version>
|
20
|
+
<type>ejb</type>
|
21
|
+
</dependency>
|
22
|
+
<!--
|
23
|
+
<dependency>
|
24
|
+
<groupId>${pom.groupId}</groupId>
|
25
|
+
<artifactId>service</artifactId>
|
26
|
+
<version>${pom.version}</version>
|
27
|
+
<type>ejb</type>
|
28
|
+
</dependency>
|
29
|
+
-->
|
30
|
+
<dependency>
|
31
|
+
<groupId>${pom.groupId}</groupId>
|
32
|
+
<artifactId>domain</artifactId>
|
33
|
+
<version>${pom.version}</version>
|
34
|
+
</dependency>
|
35
|
+
|
36
|
+
<dependency>
|
37
|
+
<groupId>${pom.groupId}</groupId>
|
38
|
+
<artifactId>webapp</artifactId>
|
39
|
+
<version>${pom.version}</version>
|
40
|
+
<type>war</type>
|
41
|
+
</dependency>
|
42
|
+
|
43
|
+
</dependencies>
|
44
|
+
|
45
|
+
<!-- 4. Specify the content of generated artifact. -->
|
46
|
+
<build>
|
47
|
+
|
48
|
+
<!-- 4.1. Specify the final name of the artifact. -->
|
49
|
+
<finalName>${artifactId}</finalName>
|
50
|
+
|
51
|
+
<defaultGoal>package</defaultGoal>
|
52
|
+
|
53
|
+
<!-- 4.2. We don't want to filter for this module: "filters" section is empty. -->
|
54
|
+
|
55
|
+
<plugins>
|
56
|
+
|
57
|
+
<plugin>
|
58
|
+
<groupId>org.apache.maven.plugins</groupId>
|
59
|
+
<artifactId>maven-ear-plugin</artifactId>
|
60
|
+
<configuration>
|
61
|
+
<encoding>UTF-8</encoding>
|
62
|
+
<version>5</version>
|
63
|
+
<!-- 4.5. Specify modules to include. -->
|
64
|
+
<modules>
|
65
|
+
|
66
|
+
<webModule>
|
67
|
+
<groupId>${pom.groupId}</groupId>
|
68
|
+
<artifactId>webapp</artifactId>
|
69
|
+
<contextRoot>/webapp</contextRoot>
|
70
|
+
<!-- 4.5.3.1. Only if you want different file name inside "ear" file.
|
71
|
+
<bundleFileName>myBundleWebApplicationModule1FileName</bundleFileName>
|
72
|
+
-->
|
73
|
+
<!-- 4.5.3.2. Specify the context root if you need different name. -->
|
74
|
+
<!-- Default is: "/${pom.artifactId} -->
|
75
|
+
</webModule>
|
76
|
+
<!-- 4.5.2. Include EJB Module.
|
77
|
+
<ejbModule>
|
78
|
+
<groupId>${pom.groupId}</groupId>
|
79
|
+
<artifactId>service</artifactId>
|
80
|
+
</ejbModule>
|
81
|
+
-->
|
82
|
+
<ejbModule>
|
83
|
+
<groupId>net.sourceforge.ontomde</groupId>
|
84
|
+
<artifactId>ontomde-bpm-client</artifactId>
|
85
|
+
</ejbModule>
|
86
|
+
<javaModule>
|
87
|
+
<groupId>${pom.groupId}</groupId>
|
88
|
+
<artifactId>domain</artifactId>
|
89
|
+
</javaModule>
|
90
|
+
</modules>
|
91
|
+
<archive>
|
92
|
+
<addMavenDescriptor>false</addMavenDescriptor>
|
93
|
+
</archive>
|
94
|
+
</configuration>
|
95
|
+
</plugin>
|
96
|
+
|
97
|
+
</plugins>
|
98
|
+
</build>
|
99
|
+
|
100
|
+
<profiles>
|
101
|
+
<profile>
|
102
|
+
<id>JBOSS</id>
|
103
|
+
<activation>
|
104
|
+
<property>
|
105
|
+
<!-- a BUG avoid using ${env.JEE_SERVER} instead using mvn task -DJEE_SERVER -->
|
106
|
+
<name>JEE_SERVER</name>
|
107
|
+
<value>JBOSS</value>
|
108
|
+
</property>
|
109
|
+
</activation>
|
110
|
+
<build>
|
111
|
+
<plugins>
|
112
|
+
<plugin>
|
113
|
+
<groupId>org.codehaus.mojo</groupId>
|
114
|
+
<artifactId>jboss-maven-plugin</artifactId>
|
115
|
+
<executions>
|
116
|
+
<execution>
|
117
|
+
<phase>install</phase>
|
118
|
+
<goals>
|
119
|
+
<goal>deploy</goal>
|
120
|
+
</goals>
|
121
|
+
</execution>
|
122
|
+
</executions>
|
123
|
+
<configuration>
|
124
|
+
<jbossHome>
|
125
|
+
${env.JBOSS_HOME}
|
126
|
+
</jbossHome>
|
127
|
+
</configuration>
|
128
|
+
</plugin>
|
129
|
+
</plugins>
|
130
|
+
</build>
|
131
|
+
</profile>
|
132
|
+
<profile>
|
133
|
+
|
134
|
+
<id>GLASSFISH</id>
|
135
|
+
<activation>
|
136
|
+
<activeByDefault>true</activeByDefault>
|
137
|
+
<property>
|
138
|
+
<!-- a BUG avoid using ${env.JEE_SERVER} instead using mvn task -DJEE_SERVER -->
|
139
|
+
<name>JEE_SERVER</name>
|
140
|
+
<value>GLASSFISH</value>
|
141
|
+
</property>
|
142
|
+
</activation>
|
143
|
+
<build>
|
144
|
+
<plugins>
|
145
|
+
<plugin>
|
146
|
+
<artifactId>maven-antrun-plugin</artifactId>
|
147
|
+
<executions>
|
148
|
+
<execution>
|
149
|
+
<id>install</id>
|
150
|
+
<phase>install</phase>
|
151
|
+
<goals>
|
152
|
+
<goal>run</goal>
|
153
|
+
</goals>
|
154
|
+
<configuration>
|
155
|
+
<tasks>
|
156
|
+
<echo>
|
157
|
+
-------- Deploying Module BPM --------
|
158
|
+
</echo>
|
159
|
+
|
160
|
+
|
161
|
+
<copy
|
162
|
+
todir="../runtime/autodeploy"
|
163
|
+
file="${project.build.directory}/${pom.artifactId}.ear" />
|
164
|
+
</tasks>
|
165
|
+
</configuration>
|
166
|
+
</execution>
|
167
|
+
|
168
|
+
</executions>
|
169
|
+
</plugin>
|
170
|
+
</plugins>
|
171
|
+
</build>
|
172
|
+
</profile>
|
173
|
+
</profiles>
|
174
|
+
|
175
|
+
</project>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
cd `dirname $0`
|
4
|
+
|
5
|
+
D="`date +%Y-%m-%d-%H-%M`"
|
6
|
+
Z="deleted-$D.zip"
|
7
|
+
T="$D.timestamp"
|
8
|
+
L="$D.TOBEDELETED"
|
9
|
+
|
10
|
+
find ../domain/src -path '*/.svn/*' -prune \
|
11
|
+
-or \( -type d -not -path '*/.svn/*' -empty -delete \) \
|
12
|
+
-or -name "*.java" -exec grep --silent XMDA_BEGIN_reverse {} \; \( -exec grep --silent XMDA_BEGIN_reverse=\"yes\" {} \; -exec echo KEEP : {} \; \
|
13
|
+
-or -exec echo DELETE: {} \; \) | tee $L | grep -v DELETE
|
14
|
+
|
15
|
+
find ../webapp/src -path '*/.svn/*' -prune \
|
16
|
+
-or \( -type d -not -path '*/.svn/*' -empty -delete \) \
|
17
|
+
-or -name "*.java" -exec grep --silent XMDA_BEGIN_reverse {} \; \( -exec grep --silent XMDA_BEGIN_reverse=\"yes\" {} \; -exec echo KEEP : {} \; \
|
18
|
+
-or -exec echo DELETE: {} \; \) | tee $L | grep -v DELETE
|
19
|
+
|
20
|
+
#empty directory are removed by zip
|
21
|
+
cat $L | sed 's/^DELETE: *//g' | zip -m $Z -@
|
22
|
+
rm $L
|
23
|
+
|
24
|
+
echo "deleted file have been moved to $Z"
|
data/demo/mda/pom.xml
ADDED
@@ -0,0 +1,227 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
4
|
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
5
|
+
<parent>
|
6
|
+
<groupId>net.sourceforge.ontomde.samples.bpm</groupId>
|
7
|
+
<artifactId>projectbase</artifactId>
|
8
|
+
<version>1.0-SNAPSHOT</version>
|
9
|
+
</parent>
|
10
|
+
<modelVersion>4.0.0</modelVersion>
|
11
|
+
<artifactId>mda</artifactId>
|
12
|
+
<packaging>pom</packaging>
|
13
|
+
<name>Model</name>
|
14
|
+
|
15
|
+
<profiles>
|
16
|
+
<profile>
|
17
|
+
<id>xmda</id>
|
18
|
+
<activation>
|
19
|
+
<property>
|
20
|
+
<name>xmda</name>
|
21
|
+
<value>generate</value>
|
22
|
+
</property>
|
23
|
+
</activation>
|
24
|
+
<build>
|
25
|
+
<defaultGoal>process-sources</defaultGoal>
|
26
|
+
<plugins>
|
27
|
+
<plugin>
|
28
|
+
<artifactId>maven-antrun-plugin</artifactId>
|
29
|
+
<executions>
|
30
|
+
<execution>
|
31
|
+
<id>generate-sources</id>
|
32
|
+
<phase>generate-sources</phase>
|
33
|
+
<goals>
|
34
|
+
<goal>run</goal>
|
35
|
+
</goals>
|
36
|
+
<configuration>
|
37
|
+
<tasks>
|
38
|
+
<echo>
|
39
|
+
-------- Ontomde Library
|
40
|
+
Version=${ontomde.lib.version}
|
41
|
+
--------
|
42
|
+
</echo>
|
43
|
+
<echo>
|
44
|
+
- Generate Protege Data
|
45
|
+
Files -
|
46
|
+
</echo>
|
47
|
+
<exec
|
48
|
+
executable="ontomde-umlToProtege${ontomde.extension}"
|
49
|
+
failonerror="true">
|
50
|
+
<arg value="--nt" />
|
51
|
+
<arg
|
52
|
+
value="${basedir}/src/main/model/model.emx.nt" />
|
53
|
+
</exec>
|
54
|
+
<exec
|
55
|
+
executable="ontomde-java${ontomde.extension}"
|
56
|
+
failonerror="true">
|
57
|
+
<arg
|
58
|
+
value="${ontomde.generator.version.underscore}" />
|
59
|
+
<arg value="--no-verbose" />
|
60
|
+
<arg value="-m" />
|
61
|
+
<arg value="jpa" />
|
62
|
+
<arg value="--ddl_mode" />
|
63
|
+
<!-- database will be created every time -->
|
64
|
+
<arg value="create" />
|
65
|
+
<!-- update -->
|
66
|
+
<!-- unzip is not available (manual unzip required) -->
|
67
|
+
<arg value="--useUnzip" />
|
68
|
+
<!-- a default implementation will be generate for every method when possible -->
|
69
|
+
<arg
|
70
|
+
value="--simulateNotImplementedMethods" />
|
71
|
+
<arg
|
72
|
+
value="--withAutoImplementProperty" />
|
73
|
+
<arg
|
74
|
+
value="--withAutoImplementOperation" />
|
75
|
+
<!-- deactivate enum as string -->
|
76
|
+
<arg
|
77
|
+
value="--no-withEnumAsString" />
|
78
|
+
<!-- use uml datatype to java type mapping -->
|
79
|
+
<arg value="--load" />
|
80
|
+
<arg
|
81
|
+
value="src/main/mda/customDataTypes.rb" />
|
82
|
+
<!-- run generator internal checks -->
|
83
|
+
<arg
|
84
|
+
value="--message-check" />
|
85
|
+
<!-- use uml model source -->
|
86
|
+
<arg value="--nt" />
|
87
|
+
<arg
|
88
|
+
value="src/main/model/model.emx.nt" />
|
89
|
+
<!-- generate application in target directory -->
|
90
|
+
<arg value="--targetDir" />
|
91
|
+
<arg
|
92
|
+
value="${basedir}${file.separator}..${file.separator}" />
|
93
|
+
<arg
|
94
|
+
value="--webContentRelativeDir" />
|
95
|
+
<arg
|
96
|
+
value="webapp/src/main/webapp" />
|
97
|
+
<arg
|
98
|
+
value="--javaRelativeDir" />
|
99
|
+
<arg
|
100
|
+
value="domain/src/main/java/" />
|
101
|
+
<arg
|
102
|
+
value="--webResourcesDir" />
|
103
|
+
<arg
|
104
|
+
value="webapp/src/main/resources/" />
|
105
|
+
<arg
|
106
|
+
value="--javaFilePathRegexp" />
|
107
|
+
<arg
|
108
|
+
value="\.methods\.@webapp/src/main/java/" />
|
109
|
+
<arg
|
110
|
+
value="--javaFilePathRegexp" />
|
111
|
+
<arg
|
112
|
+
value="\.struts\.@webapp/src/main/java/" />
|
113
|
+
|
114
|
+
<arg
|
115
|
+
value="--no-logFileWrite" />
|
116
|
+
<arg
|
117
|
+
value="--dbTypeDiscriminator" />
|
118
|
+
<arg value="int" />
|
119
|
+
<arg value="--load" />
|
120
|
+
<arg
|
121
|
+
value="src/main/mda/dbDiscriminatorCache.rb" />
|
122
|
+
<arg
|
123
|
+
value="--dbDiscriminatorCacheRelFile" />
|
124
|
+
<arg
|
125
|
+
value="src/main/mda/dbDiscriminatorCache.r" />
|
126
|
+
<arg
|
127
|
+
value="--no-generateAntBuildFile" />
|
128
|
+
<arg value="--struts" />
|
129
|
+
<arg
|
130
|
+
value="--no-generateXMLStrutsForm" />
|
131
|
+
<arg value="--backTrace" />
|
132
|
+
<arg value="--testDataRDF" />
|
133
|
+
<arg value="src/main/model/model.emx.nt_kb.rdf" />
|
134
|
+
<arg value="--bpm" />
|
135
|
+
<arg value="--jpdlList" />
|
136
|
+
<arg
|
137
|
+
value="src/main/process/processList.txt" />
|
138
|
+
</exec>
|
139
|
+
</tasks>
|
140
|
+
</configuration>
|
141
|
+
</execution>
|
142
|
+
|
143
|
+
</executions>
|
144
|
+
</plugin>
|
145
|
+
<!--
|
146
|
+
<plugin>
|
147
|
+
<groupId>net.sourceforge.ontomde</groupId>
|
148
|
+
<artifactId>formatter-maven-plugin</artifactId>
|
149
|
+
<configuration>
|
150
|
+
<formatterConfigFile>${basedir}\src\main\resources\formatter.properties</formatterConfigFile>
|
151
|
+
<javaDirs>
|
152
|
+
<javaDir>${basedir}\..\domain\src\main\java</javaDir>
|
153
|
+
<javaDir>${basedir}\..\webapp\src\main\java</javaDir>
|
154
|
+
</javaDirs>
|
155
|
+
</configuration>
|
156
|
+
<executions>
|
157
|
+
<execution>
|
158
|
+
<id>format-sources</id>
|
159
|
+
<phase>process-sources</phase>
|
160
|
+
<goals>
|
161
|
+
<goal>formatter</goal>
|
162
|
+
</goals>
|
163
|
+
</execution>
|
164
|
+
|
165
|
+
</executions>
|
166
|
+
</plugin>
|
167
|
+
-->
|
168
|
+
</plugins>
|
169
|
+
</build>
|
170
|
+
</profile>
|
171
|
+
<profile>
|
172
|
+
<id>configure</id>
|
173
|
+
<activation>
|
174
|
+
<property>
|
175
|
+
<name>xmda</name>
|
176
|
+
<value>configure</value>
|
177
|
+
</property>
|
178
|
+
</activation>
|
179
|
+
<build>
|
180
|
+
<defaultGoal>process-sources</defaultGoal>
|
181
|
+
<plugins>
|
182
|
+
<plugin>
|
183
|
+
<groupId>org.apache.maven.plugins</groupId>
|
184
|
+
<artifactId>maven-dependency-plugin</artifactId>
|
185
|
+
<executions>
|
186
|
+
<execution>
|
187
|
+
<id>unpack</id>
|
188
|
+
<phase>generate-resources</phase>
|
189
|
+
<goals>
|
190
|
+
<goal>unpack</goal>
|
191
|
+
</goals>
|
192
|
+
<configuration>
|
193
|
+
<artifactItems>
|
194
|
+
<artifactItem>
|
195
|
+
<groupId>
|
196
|
+
net.sourceforge.ontomde
|
197
|
+
</groupId>
|
198
|
+
<artifactId>
|
199
|
+
ontomde-glassfish-runtime
|
200
|
+
</artifactId>
|
201
|
+
<version>
|
202
|
+
${ontomde.lib.version}
|
203
|
+
</version>
|
204
|
+
<type>jar</type>
|
205
|
+
<overWrite>yes</overWrite>
|
206
|
+
<outputDirectory>
|
207
|
+
${basedir}/../runtime
|
208
|
+
</outputDirectory>
|
209
|
+
</artifactItem>
|
210
|
+
</artifactItems>
|
211
|
+
<overWriteReleases>
|
212
|
+
true
|
213
|
+
</overWriteReleases>
|
214
|
+
<overWriteSnapshots>
|
215
|
+
true
|
216
|
+
</overWriteSnapshots>
|
217
|
+
</configuration>
|
218
|
+
</execution>
|
219
|
+
</executions>
|
220
|
+
</plugin>
|
221
|
+
</plugins>
|
222
|
+
</build>
|
223
|
+
</profile>
|
224
|
+
</profiles>
|
225
|
+
</project>
|
226
|
+
|
227
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
# addDataTypeMapping("MonnetaryAmount",Java_mapping_Long)
|
@@ -0,0 +1,72 @@
|
|
1
|
+
# saved discriminator numbers
|
2
|
+
# This file is read and rewritten by generator
|
3
|
+
def declarePredefinedDiscrimators()
|
4
|
+
# first parameter is java qualified class name
|
5
|
+
# second parameter is the identifier used in database
|
6
|
+
# when different java type are stored in a
|
7
|
+
# single table and need to be differenciated.
|
8
|
+
db_disc("package1.AdresseType2",0)
|
9
|
+
db_disc("package1.Contrat",1)
|
10
|
+
db_disc("xmda.test.methods.UserDatagetsession_1MPC",2)
|
11
|
+
db_disc("package1.Session",3)
|
12
|
+
db_disc("xmda.test.methods.UserDatagetDUPONT1MPC",4)
|
13
|
+
db_disc("xmda.test.methods.UserDatagetDUPONT2MPC",5)
|
14
|
+
db_disc("package1.AdresseType1",6)
|
15
|
+
db_disc("package1.Client",7)
|
16
|
+
db_disc("xmda.test.UserData",9)
|
17
|
+
db_disc("package1.Adresse",10)
|
18
|
+
db_disc("xmda.test.methods.UserDatainit__ns_8_strutsAndTest_emx_nt_kb_Instance_10002MPC",14)
|
19
|
+
db_disc("package1.Femme",15)
|
20
|
+
db_disc("package1.Homme",16)
|
21
|
+
db_disc("xmda.test.methods.UserDatainitDUPONT2MPC",17)
|
22
|
+
db_disc("xmda.test.methods.UserDatainitsession_1MPC",18)
|
23
|
+
db_disc("xmda.test.methods.UserDatainitDUPONT1MPC",19)
|
24
|
+
db_disc("package1.methods.ClientajoutRapideContratMPC",20)
|
25
|
+
db_disc("java.lang.Class",21)
|
26
|
+
db_disc("com.jbpm.wrapper.process.Process",22)
|
27
|
+
db_disc("package1.Deliver",25)
|
28
|
+
db_disc("package1.DeliverBis",29)
|
29
|
+
db_disc("xmda.bpm.client.Process<>",30)
|
30
|
+
db_disc("package1.DeliverBis",31)
|
31
|
+
db_disc("xmda.bpm.client.Process<String>",32)
|
32
|
+
end
|
33
|
+
# ###########################
|
34
|
+
# END OF USER MODIFIABLE ZONE
|
35
|
+
# ###########################
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
# Conversion to model URI
|
40
|
+
def db_disc(k,v)
|
41
|
+
::Muml_Class::DB_DISCRIMINATOR[::Muml_Class::DB_URI_ALIAS[k]]=v
|
42
|
+
end
|
43
|
+
::Muml_Class::DB_URI_ALIAS.merge!({
|
44
|
+
%{com.jbpm.wrapper.process.Process} => %{com.jbpm.wrapper.process.Process} ,
|
45
|
+
%{java.lang.Class} => %{java.lang.Class} ,
|
46
|
+
%{package1.DeliverBis} => %{package1.DeliverBis} ,
|
47
|
+
%{package1.Deliver} => %{ukb__BZ1m8Ja5Edy8MdcZyeb5Kw_proc} ,
|
48
|
+
%{package1.Femme} => %{ukb__DmkocIC5Edykv_1FYm8uuQ} ,
|
49
|
+
%{package1.AdresseType1} => %{ukb__OwYN4EDQEdyns9CNPlmfXw} ,
|
50
|
+
%{package1.Adresse} => %{ukb__RHhQkDuPEdyltIorAFYEcg} ,
|
51
|
+
%{package1.AdresseType2} => %{ukb__VQg6EEDQEdyns9CNPlmfXw} ,
|
52
|
+
%{package1.DeliverBis} => %{ukb__XwnHEIu1EdyxkaPAgImFEg} ,
|
53
|
+
%{package1.Homme} => %{ukb___gYPIIC4Edykv_1FYm8uuQ} ,
|
54
|
+
%{package1.Session} => %{ukb__jQ4fIDuOEdyltIorAFYEcg} ,
|
55
|
+
%{package1.Contrat} => %{ukb__p4-NcDuOEdyltIorAFYEcg} ,
|
56
|
+
%{package1.Client} => %{ukb__rtzBEDuOEdyltIorAFYEcg} ,
|
57
|
+
%{package1.methods.ClientajoutRapideContratMPC} => %{ukb__rtzBEDuOEdyltIorAFYEcgukb__ozRUMDuPEdyltIorAFYEcg_mpc} ,
|
58
|
+
%{xmda.bpm.client.Process<>} => %{xmda.bpm.client.Process<>} ,
|
59
|
+
%{xmda.bpm.client.Process<String>} => %{xmda.bpm.client.Process<String>} ,
|
60
|
+
%{xmda.test.UserData} => %{xmda.test.UserData} ,
|
61
|
+
%{xmda.test.methods.UserDatagetDUPONT1MPC} => %{xmda.test.UserDatagetDUPONT1_mpc} ,
|
62
|
+
%{xmda.test.methods.UserDatagetDUPONT2MPC} => %{xmda.test.UserDatagetDUPONT2_mpc} ,
|
63
|
+
%{xmda.test.methods.UserDatagetsession_1MPC} => %{xmda.test.UserDatagetsession_1_mpc} ,
|
64
|
+
%{xmda.test.methods.UserDatainit__ns_8_strutsAndTest_emx_nt_kb_Instance_10002MPC} => %{xmda.test.UserDatainit__ns_8_strutsAndTest_emx_nt_kb_Instance_10002_mpc} ,
|
65
|
+
%{xmda.test.methods.UserDatainitDUPONT1MPC} => %{xmda.test.UserDataxmda.test.UserDatainitDUPONT1_mpc} ,
|
66
|
+
%{xmda.test.methods.UserDatainitDUPONT2MPC} => %{xmda.test.UserDataxmda.test.UserDatainitDUPONT2_mpc} ,
|
67
|
+
%{xmda.test.methods.UserDatainitsession_1MPC} => %{xmda.test.UserDataxmda.test.UserDatainitsession_1_mpc} ,
|
68
|
+
})
|
69
|
+
declarePredefinedDiscrimators();
|
70
|
+
#free ressources
|
71
|
+
def declarePredefinedDiscrimators()
|
72
|
+
end
|