summaryrefslogtreecommitdiff
path: root/src/main/resources/mapFiles/HistoryMap.xml
blob: b044018c51bd4775d0c24a0e38630b5104e8acf4 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?xml version="1.0"?>
<!--

    This file is part of the CRISTAL-iSE kernel.
    Copyright (c) 2001-2014 The CRISTAL Consortium. All rights reserved.

    This library is free software; you can redistribute it and/or modify it
    under the terms of the GNU Lesser General Public License as published
    by the Free Software Foundation; either version 3 of the License, or (at
    your option) any later version.

    This library is distributed in the hope that it will be useful, but WITHOUT
    ANY WARRANTY; with out even the implied warranty of MERCHANTABILITY or
    FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
    License for more details.

    You should have received a copy of the GNU Lesser General Public License
    along with this library; if not, write to the Free Software Foundation,
    Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

    http://www.fsf.org/licensing/licenses/lgpl.html

-->
<mapping>

   <class name="org.cristalise.kernel.events.Event">
      <map-to xml="Event"/>
      <field name="mID" 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="mAgentPath" type="string" direct="false" get-method="getAgentUUID" set-method="setAgentUUID">
         <bind-xml name="AgentUUID" 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="mStepPath" type="string" direct="false" get-method="getStepPath" set-method="setStepPath">
         <bind-xml name="StepPath" 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="mSchemaName" type="string" direct="false" get-method="getSchemaName" set-method="setSchemaName">
         <bind-xml name="SchemaName" node="attribute"/>
      </field>
      <field name="mSchemaVersion" type="integer" direct="false" get-method="getSchemaVersion" set-method="setSchemaVersion">
         <bind-xml name="SchemaVersion" node="attribute"/>
      </field>       
      <field name="mStateMachineName" type="string" direct="false" get-method="getStateMachineName" set-method="setStateMachineName">
         <bind-xml name="StateMachineName" node="attribute"/>
      </field>
      <field name="mStateMachineVersion" type="integer" direct="false" get-method="getStateMachineVersion" set-method="setStateMachineVersion">
         <bind-xml name="StateMachineVersion" node="attribute"/>
      </field>      
      <field name="mViewName" type="string" direct="false" get-method="getViewName" set-method="setViewName">
         <bind-xml name="ViewName" node="attribute"/>
      </field>         
      <field name="mOriginState" type="integer" direct="false" get-method="getOriginState" set-method="setOriginState">
         <bind-xml name="OriginState" 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="mTransition" type="integer" direct="false" get-method="getTransition" set-method="setTransition">
         <bind-xml name="Transition" 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="mTimeStamp" type="org.cristalise.kernel.common.GTimeStamp" direct="false" get-method="getTimeStamp" set-method="setTimeStamp">
         <bind-xml name="TimeStamp" node="element"/>
      </field>
   </class>
</mapping>