summaryrefslogtreecommitdiff
path: root/src/main/resources/mapFiles/JobListMap.xml
blob: 7eb52371b031806eb0dd0bf9e9ff9f3ac697cde2 (plain)
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
<?xml version="1.0"?>
<mapping>
	<class name="com.c2kernel.entity.agent.Job">
		<map-to xml="Job"/>
		<field name="id" type="integer" direct="false" get-method="getId" set-method="setId">
			<bind-xml name="Id" node="attribute"/>
		</field>
        <field name="mItemPath" type="string" direct="false" get-method="getItemUUID" set-method="setItemUUID">
            <bind-xml name="ItemUUID" node="attribute"/>
	    </field>
		<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="stepPath" type="string" direct="false" get-method="getStepPath" set-method="setStepPath">
			<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="element"/>
		</field>
        <field name="mAgentPath" type="string" direct="false" get-method="getAgentUUID" set-method="setAgentUUID">
            <bind-xml name="AgentUUID" node="attribute"/>
	    </field>
		<field name="originStateName" type="string" direct="false" get-method="getOriginStateName" set-method="setOriginStateName">
			<bind-xml name="OriginState" node="attribute"/>
		</field>
		<field name="targetStateName" type="string" direct="false" get-method="getTargetStateName" set-method="setTargetStateName">
			<bind-xml name="TargetState" node="attribute"/>
		</field>
		<field name="agentRole" type="string" direct="false" get-method="getAgentRole" set-method="setAgentRole">
			<bind-xml name="AgentRole" node="attribute"/>
		</field>
		<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>
	<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>