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.xml53
-rw-r--r--src/main/resources/mapFiles/StateMachineMap.xml8
2 files changed, 38 insertions, 23 deletions
diff --git a/src/main/resources/mapFiles/JobListMap.xml b/src/main/resources/mapFiles/JobListMap.xml
index 7352248..ee18d48 100644
--- a/src/main/resources/mapFiles/JobListMap.xml
+++ b/src/main/resources/mapFiles/JobListMap.xml
@@ -2,40 +2,55 @@
<mapping>
<class name="com.c2kernel.entity.agent.Job">
<map-to xml="Job"/>
- <field name="mItemSysKey" type="integer" direct="false" get-method="getItemSysKey" set-method="setItemSysKey">
+ <field name="id" type="integer" direct="false" get-method="getId" set-method="setId">
+ <bind-xml name="Id" node="attribute"/>
+ </field>
+ <field name="itemSysKey" type="integer" direct="false" get-method="getItemSysKey" set-method="setItemSysKey">
<bind-xml name="ItemSysKey" node="attribute"/>
</field>
- <field name="mID" type="integer" direct="false" get-method="getID" set-method="setID">
- <bind-xml name="ID" node="attribute"/>
+ <field name="stepName" type="string" direct="false" get-method="getStepName" set-method="setStepName">
+ <bind-xml name="StepName" node="attribute"/>
+ </field>
+ <field name="stepType" type="string" direct="false" get-method="getStepType" set-method="setStepType">
+ <bind-xml name="StepType" node="attribute"/>
</field>
- <field name="mStepPath" type="string" direct="false" get-method="getStepPath" set-method="setStepPath">
+ <field name="stepPath" type="string" direct="false" get-method="getStepPath" set-method="setStepPath">
<bind-xml name="StepPath" node="attribute"/>
</field>
- <field name="mPossibleTransition" type="integer" direct="false" get-method="getPossibleTransition" set-method="setPossibleTransition">
- <bind-xml name="PossibleTransition" node="attribute"/>
+ <field name="transitionId" type="integer" direct="false" get-method="getTransitionId" set-method="setTransitionId">
+ <bind-xml name="TransitionId" node="attribute"/>
</field>
- <field name="mCurrentState" type="integer" direct="false" get-method="getCurrentState" set-method="setCurrentState">
- <bind-xml name="CurrentState" node="attribute"/>
+ <field name="currentStateId" type="integer" direct="false" get-method="getCurrentStateId" set-method="setCurrentStateId">
+ <bind-xml name="CurrentStateId" node="attribute"/>
</field>
- <field name="mTargetState" type="integer" direct="false" get-method="getTargetState" set-method="setTargetState">
- <bind-xml name="TargetState" node="attribute"/>
- </field>
- <field name="mStepName" type="string" direct="false" get-method="getStepName" set-method="setStepName">
- <bind-xml name="StepName" node="attribute"/>
+ <field name="targetStateId" type="integer" direct="false" get-method="getTargetStateId" set-method="setTargetStateId">
+ <bind-xml name="TargetStateId" node="attribute"/>
</field>
- <field name="mAgentId" type="integer" direct="false" get-method="getAgentId" set-method="setAgentId">
+ <field name="agentId" type="integer" direct="false" get-method="getAgentId" set-method="setAgentId">
<bind-xml name="AgentId" node="attribute"/>
</field>
- <field name="mAgentName" type="string" direct="false" get-method="getAgentName" set-method="setAgentName">
+ <field name="agentName" type="string" direct="false" get-method="getAgentName" set-method="setAgentName">
<bind-xml name="AgentName" node="attribute"/>
</field>
- <field name="mAgentRole" type="string" direct="false" get-method="getAgentRole" set-method="setAgentRole">
+ <field name="agentRole" type="string" direct="false" get-method="getAgentRole" set-method="setAgentRole">
<bind-xml name="AgentRole" node="attribute"/>
</field>
- <field name="mStepType" type="string" direct="false" get-method="getStepType" set-method="setStepType">
- <bind-xml name="StepType" node="attribute"/>
+ <field name="schemaName" type="string" direct="false" get-method="getSchemaName" set-method="setSchemaName">
+ <bind-xml name="SchemaName" node="attribute"/>
+ </field>
+ <field name="schemaVersion" type="integer" direct="false" get-method="getSchemaVersion" set-method="setSchemaVersion">
+ <bind-xml name="SchemaVersion" node="attribute"/>
+ </field>
+ <field name="outcomeRequired" type="boolean" direct="false" get-method="isOutcomeRequired" set-method="setOutcomeRequired">
+ <bind-xml name="OutcomeRequired" node="attribute"/>
+ </field>
+ <field name="scriptName" type="string" direct="false" get-method="getScriptName" set-method="setScriptName">
+ <bind-xml name="ScriptName" node="attribute"/>
+ </field>
+ <field name="scriptVersion" type="integer" direct="false" get-method="getScriptVersion" set-method="setScriptVersion">
+ <bind-xml name="ScriptVersion" node="attribute"/>
</field>
- <field name="mActProps" type="com.c2kernel.utils.KeyValuePair" collection="array" container="false" direct="false" get-method="getKeyValuePairs" set-method="setKeyValuePairs">
+ <field name="actProps" type="com.c2kernel.utils.KeyValuePair" collection="array" container="false" direct="false" get-method="getKeyValuePairs" set-method="setKeyValuePairs">
<bind-xml name="ActProps" node="element"/>
</field>
</class>
diff --git a/src/main/resources/mapFiles/StateMachineMap.xml b/src/main/resources/mapFiles/StateMachineMap.xml
index fb13789..7309647 100644
--- a/src/main/resources/mapFiles/StateMachineMap.xml
+++ b/src/main/resources/mapFiles/StateMachineMap.xml
@@ -22,8 +22,8 @@
<field name="name" type="string" direct="false">
<bind-xml name="name" node="attribute" />
</field>
- <field name="proceeds" type="boolean" direct="false">
- <bind-xml name="proceeds" node="attribute" />
+ <field name="finished" type="boolean" direct="false">
+ <bind-xml name="finishedd" node="attribute" />
</field>
</class>
<class name="com.c2kernel.lifecycle.instance.stateMachine.Transition">
@@ -36,8 +36,8 @@
<field name="originStateCode" type="integer" direct="false">
<bind-xml name="origin" node="attribute" />
</field>
- <field name="terminalStateCode" type="integer" direct="false">
- <bind-xml name="terminus" node="attribute" />
+ <field name="targetStateCode" type="integer" direct="false">
+ <bind-xml name="target" node="attribute" />
</field>
<field name="enabledProp" type="string" direct="false">
<bind-xml name="enablingProperty" node="attribute" />