summaryrefslogtreecommitdiff
path: root/src/main/resources/mapFiles/JobListMap.xml
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2012-05-30 08:37:45 +0200
committerAndrew Branson <andrew.branson@cern.ch>2012-05-30 08:37:45 +0200
commitb086f57f56bf0eb9dab9cf321a0f69aaaae84347 (patch)
tree8e6e26e8b7eed6abad7a17b093bdbb55c5e6b1ba /src/main/resources/mapFiles/JobListMap.xml
parent22088ae8d2d5ff390518dbe1c4372325ffb3a647 (diff)
Initial Maven Conversion
Diffstat (limited to 'src/main/resources/mapFiles/JobListMap.xml')
-rw-r--r--src/main/resources/mapFiles/JobListMap.xml48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/main/resources/mapFiles/JobListMap.xml b/src/main/resources/mapFiles/JobListMap.xml
new file mode 100644
index 0000000..7352248
--- /dev/null
+++ b/src/main/resources/mapFiles/JobListMap.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+<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">
+ <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>
+ <field name="mStepPath" 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>
+ <field name="mCurrentState" type="integer" direct="false" get-method="getCurrentState" set-method="setCurrentState">
+ <bind-xml name="CurrentState" 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>
+ <field name="mAgentId" 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">
+ <bind-xml name="AgentName" node="attribute"/>
+ </field>
+ <field name="mAgentRole" 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>
+ <field name="mActProps" 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>
+ <class name="com.c2kernel.entity.agent.JobArrayList">
+ <map-to xml="JobArrayList"/>
+ <field name="list" collection="arraylist" direct="true" type="com.c2kernel.entity.agent.Job">
+ <bind-xml name="JobArrayList" node="element"/>
+ </field>
+ </class>
+</mapping>