summaryrefslogtreecommitdiff
path: root/src/main/resources/mapFiles
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/mapFiles')
-rw-r--r--src/main/resources/mapFiles/JobListMap.xml2
-rw-r--r--src/main/resources/mapFiles/ModuleMap.xml6
-rw-r--r--src/main/resources/mapFiles/StateMachineMap.xml18
3 files changed, 13 insertions, 13 deletions
diff --git a/src/main/resources/mapFiles/JobListMap.xml b/src/main/resources/mapFiles/JobListMap.xml
index 84d40ae..d09f7cc 100644
--- a/src/main/resources/mapFiles/JobListMap.xml
+++ b/src/main/resources/mapFiles/JobListMap.xml
@@ -18,7 +18,7 @@
<bind-xml name="StepPath" node="attribute"/>
</field>
<field name="transition" type="com.c2kernel.lifecycle.instance.stateMachine.Transition" direct="false" get-method="getTransition" set-method="setTransition">
- <bind-xml name="Transition" node="attribute"/>
+ <bind-xml name="Transition" node="element"/>
</field>
<field name="agentName" type="string" direct="false" get-method="getAgentName" set-method="setAgentName">
<bind-xml name="AgentName" node="attribute"/>
diff --git a/src/main/resources/mapFiles/ModuleMap.xml b/src/main/resources/mapFiles/ModuleMap.xml
index 541b393..45f6cbe 100644
--- a/src/main/resources/mapFiles/ModuleMap.xml
+++ b/src/main/resources/mapFiles/ModuleMap.xml
@@ -17,12 +17,12 @@
<field name="imports" direct="true" type="com.c2kernel.process.module.ModuleImports">
<bind-xml name="Imports" node="element" />
</field>
- <field name="config" collection="arraylist" direct="true" type="com.c2kernel.process.module.ModuleConfig">
+ <field name="config" collection="arraylist" direct="true" type="com.c2kernel.process.module.ModuleConfig">
<bind-xml name="Config" node="element" />
</field>
- <field name="scripts" collection="arraylist" direct="true" type="com.c2kernel.process.module.ModuleScript">
+ <field name="scripts" collection="arraylist" direct="true" type="com.c2kernel.process.module.ModuleScript">
<bind-xml name="Script" node="element" />
- </field>
+ </field>
</class>
<class name="com.c2kernel.process.module.ModuleImports">
<map-to xml="Imports"/>
diff --git a/src/main/resources/mapFiles/StateMachineMap.xml b/src/main/resources/mapFiles/StateMachineMap.xml
index 53f24e1..023dfb4 100644
--- a/src/main/resources/mapFiles/StateMachineMap.xml
+++ b/src/main/resources/mapFiles/StateMachineMap.xml
@@ -3,12 +3,12 @@
<class name="com.c2kernel.lifecycle.instance.stateMachine.StateMachine">
<map-to xml="StateMachine" />
<field name="states" type="com.c2kernel.lifecycle.instance.stateMachine.State"
- collection="arraylist" container="false" direct="false">
+ collection="arraylist" direct="false" get-method="getStates" set-method="setStates">
<bind-xml name="State" node="element" />
</field>
<field name="transitions"
type="com.c2kernel.lifecycle.instance.stateMachine.Transition"
- collection="arraylist" container="false" direct="false">
+ collection="arraylist" direct="false">
<bind-xml name="Transition" node="element" />
</field>
<field name="initialStateCode" type="integer">
@@ -16,6 +16,7 @@
</field>
</class>
<class name="com.c2kernel.lifecycle.instance.stateMachine.State">
+ <map-to xml="State"/>
<field name="id" type="integer" direct="false">
<bind-xml name="id" node="attribute" />
</field>
@@ -23,10 +24,11 @@
<bind-xml name="name" node="attribute" />
</field>
<field name="finished" type="boolean" direct="false">
- <bind-xml name="finishedd" node="attribute" />
+ <bind-xml name="proceeds" node="attribute" />
</field>
</class>
<class name="com.c2kernel.lifecycle.instance.stateMachine.Transition">
+ <map-to xml="Transition"/>
<field name="id" type="integer" direct="false">
<bind-xml name="id" node="attribute" />
</field>
@@ -48,18 +50,15 @@
<field name="reservation" type="string" direct="false">
<bind-xml name="reservation" node="attribute" />
</field>
- <field name="outcome"
- type="com.c2kernel.lifecycle.instance.stateMachine.TransitionOutcome"
- direct="false" container="false">
+ <field name="outcome" type="com.c2kernel.lifecycle.instance.stateMachine.TransitionOutcome" direct="false">
<bind-xml name="Outcome" node="element" />
</field>
- <field name="script"
- type="com.c2kernel.lifecycle.instance.stateMachine.TransitionScript"
- direct="false" container="false">
+ <field name="script" type="com.c2kernel.lifecycle.instance.stateMachine.TransitionScript" direct="false">
<bind-xml name="Script" node="element" />
</field>
</class>
<class name="com.c2kernel.lifecycle.instance.stateMachine.TransitionOutcome">
+ <map-to xml="Outcome"/>
<field name="schemaName" type="string" direct="false">
<bind-xml name="name" node="attribute" />
</field>
@@ -71,6 +70,7 @@
</field>
</class>
<class name="com.c2kernel.lifecycle.instance.stateMachine.TransitionScript">
+ <map-to xml="Script"/>
<field name="scriptName" type="string" direct="false">
<bind-xml name="name" node="attribute" />
</field>