summaryrefslogtreecommitdiff
path: root/src/main/resources/mapFiles
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
parent22088ae8d2d5ff390518dbe1c4372325ffb3a647 (diff)
Initial Maven Conversion
Diffstat (limited to 'src/main/resources/mapFiles')
-rw-r--r--src/main/resources/mapFiles/CastorHashMapMap.xml41
-rw-r--r--src/main/resources/mapFiles/CollectionMap.xml116
-rw-r--r--src/main/resources/mapFiles/HistoryMap.xml43
-rw-r--r--src/main/resources/mapFiles/JobListMap.xml48
-rw-r--r--src/main/resources/mapFiles/KeyValuePairMap.xml30
-rw-r--r--src/main/resources/mapFiles/LifeCycleMap.xml121
-rw-r--r--src/main/resources/mapFiles/ModuleMap.xml27
-rw-r--r--src/main/resources/mapFiles/NewEntityMap.xml102
-rw-r--r--src/main/resources/mapFiles/PropertiesMap.xml46
-rw-r--r--src/main/resources/mapFiles/TransferMap.xml19
-rw-r--r--src/main/resources/mapFiles/ViewpointMap.xml21
-rw-r--r--src/main/resources/mapFiles/graphModelMap.xml126
-rw-r--r--src/main/resources/mapFiles/index10
13 files changed, 750 insertions, 0 deletions
diff --git a/src/main/resources/mapFiles/CastorHashMapMap.xml b/src/main/resources/mapFiles/CastorHashMapMap.xml
new file mode 100644
index 0000000..601cf06
--- /dev/null
+++ b/src/main/resources/mapFiles/CastorHashMapMap.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0"?>
+
+<mapping>
+ <class name="com.c2kernel.utils.KeyValuePair">
+ <map-to xml="KeyValuePair"/>
+ <field name="mKey"
+ type="string"
+ direct="false"
+ get-method="getKey"
+ set-method="setKey">
+ <bind-xml name="Key" node="attribute"/>
+ </field>
+ <field name="IntegerValue"
+ type="java.lang.Integer"
+ direct="false">
+ <bind-xml name="Integer" node="attribute"/>
+ </field>
+ <field name="StringValue"
+ type="java.lang.String"
+ direct="false">
+ <bind-xml name="String" node="attribute"/>
+ </field>
+ <field name="BooleanValue"
+ type="java.lang.Boolean"
+ direct="false">
+ <bind-xml name="Boolean" node="attribute"/>
+ </field>
+ <field name="FloatValue"
+ type="java.lang.Float"
+ direct="false">
+ <bind-xml name="Float" node="attribute"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.utils.CastorArrayList">
+ <map-to xml="ArrayList"/>
+ <field name="list" collection="arraylist" direct="true" container="false">
+ <bind-xml name="ArrayListMember" node="element"/>
+ </field>
+ </class>
+</mapping>
+
diff --git a/src/main/resources/mapFiles/CollectionMap.xml b/src/main/resources/mapFiles/CollectionMap.xml
new file mode 100644
index 0000000..8c6408c
--- /dev/null
+++ b/src/main/resources/mapFiles/CollectionMap.xml
@@ -0,0 +1,116 @@
+<?xml version="1.0"?>
+<!-- edited with XML Spy v4.2 U (http://www.xmlspy.com) by Sebastian Gaspard (Agilium) -->
+<mapping>
+ <class name="com.c2kernel.collection.CollectionMemberList">
+ <map-to xml="CollectionMemberList"/>
+ <field name="list"
+ collection="arraylist"
+ direct="true"
+ type="com.c2kernel.collection.CollectionMember">
+ <bind-xml auto-naming="deriveByClass" node="element"/>
+ </field>
+ </class>
+
+ <class name="com.c2kernel.collection.DependencyMember">
+ <map-to xml="DependencyMember"/>
+ <field name="ID" type="integer" direct="false">
+ <bind-xml name="ID" node="attribute"/>
+ </field>
+ <field name="mEntityKey"
+ type="integer"
+ direct="false"
+ get-method="getEntityKey"
+ set-method="setEntityKey">
+ <bind-xml name="EntityKey" node="attribute"/>
+ </field>
+ <field name="mProperties"
+ type="com.c2kernel.utils.KeyValuePair"
+ collection="array"
+ container="false"
+ direct="false"
+ get-method="getKeyValuePairs"
+ set-method="setKeyValuePairs">
+ <bind-xml name="Properties" node="element"/>
+ </field>
+ </class>
+
+ <class name="com.c2kernel.collection.AggregationMember"
+ extends="com.c2kernel.graph.model.GraphableVertex">
+ <map-to xml="AggregationMember"/>
+ <field name="mEntityKey"
+ type="integer"
+ direct="false"
+ get-method="getEntityKey"
+ set-method="setEntityKey">
+ <bind-xml name="EntityKey" node="attribute"/>
+ </field>
+ <field name="mClassProps"
+ type="string"
+ direct="false"
+ get-method="getClassProps"
+ set-method="setClassProps">
+ <bind-xml name="ClassProps" node="attribute"/>
+ </field>
+ </class>
+
+
+ <class name="com.c2kernel.collection.Parent2ChildCollection">
+ <map-to xml="Parent2ChildCollection"/>
+ <field name="mMembers"
+ type="com.c2kernel.collection.CollectionMemberList"
+ direct="false"
+ get-method="getMembers"
+ set-method="setMembers">
+ <bind-xml auto-naming="deriveByClass" node="element"/>
+ </field>
+ <field name="mURLInfo"
+ type="string"
+ direct="false"
+ get-method="getURLInfo"
+ set-method="setURLInfo">
+ <bind-xml name="URLInfo" node="attribute"/>
+ </field>
+ <field name="mName"
+ type="string"
+ direct="false"
+ get-method="getName"
+ set-method="setName">
+ <bind-xml name="CollectionName" node="attribute"/>
+ </field>
+
+ </class>
+ <class name="com.c2kernel.collection.Dependency" extends="com.c2kernel.collection.Parent2ChildCollection">
+ <map-to xml="Dependency"/>
+ <field name="mClassProps"
+ type="string"
+ direct="false"
+ get-method="getClassProps"
+ set-method="setClassProps">
+ <bind-xml name="ClassProps" node="attribute"/>
+ </field>
+ <field name="mProperties"
+ type="com.c2kernel.utils.KeyValuePair"
+ collection="array"
+ container="false"
+ direct="false"
+ get-method="getKeyValuePairs"
+ set-method="setKeyValuePairs">
+ <bind-xml name="Properties" node="element"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.collection.DependencyDescription" extends="com.c2kernel.collection.Dependency">
+ <map-to xml="DependencyDescription"/>
+ </class>
+ <class name="com.c2kernel.collection.Aggregation" extends="com.c2kernel.collection.Parent2ChildCollection">
+ <map-to xml="Aggregation"/>
+ <field name="mLayout" type="com.c2kernel.graph.model.GraphModel" direct="false" get-method="getLayout" set-method="setLayout">
+ <bind-xml name="Layout" node="element"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.collection.AggregationDescription" extends="com.c2kernel.collection.Aggregation">
+ <map-to xml="AggregationDescription"/>
+ </class>
+ <class name="com.c2kernel.collection.AggregationInstance" extends="com.c2kernel.collection.Aggregation">
+ <map-to xml="AggregationInstance"/>
+ </class>
+</mapping>
diff --git a/src/main/resources/mapFiles/HistoryMap.xml b/src/main/resources/mapFiles/HistoryMap.xml
new file mode 100644
index 0000000..803bf64
--- /dev/null
+++ b/src/main/resources/mapFiles/HistoryMap.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+<mapping>
+
+ <class name="com.c2kernel.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="mEntitySystemKey" type="integer" direct="false" get-method="getEntitySystemKey" set-method="setEntitySystemKey">
+ <bind-xml name="EntitySystemKey" 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="mCurrentState" type="integer" direct="false" get-method="getCurrentState" set-method="setCurrentState">
+ <bind-xml name="CurrentState" 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="mAgentName" type="string" direct="false"
+ get-method="getAgentName"
+ set-method="setAgentName">
+ <bind-xml name="AgentId" 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="com.c2kernel.common.GTimeStamp" direct="false" get-method="getTimeStamp" set-method="setTimeStamp">
+ <bind-xml name="TimeStamp" node="element"/>
+ </field>
+ </class>
+</mapping>
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>
diff --git a/src/main/resources/mapFiles/KeyValuePairMap.xml b/src/main/resources/mapFiles/KeyValuePairMap.xml
new file mode 100644
index 0000000..8175151
--- /dev/null
+++ b/src/main/resources/mapFiles/KeyValuePairMap.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+
+<mapping>
+ <class name="com.c2kernel.utils.KeyValuePair">
+ <map-to xml="KeyValuePair"/>
+ <field name="mKey"
+ type="string"
+ direct="false"
+ get-method="getKey"
+ set-method="setKey">
+ <bind-xml name="Key" node="attribute"/>
+ </field>
+ <field name="IntegerValue"
+ type="java.lang.Integer"
+ direct="false">
+ <bind-xml name="Integer" node="attribute"/>
+ </field>
+ <field name="StringValue"
+ type="java.lang.String"
+ direct="false">
+ <bind-xml name="String" node="attribute"/>
+ </field>
+ <field name="BooleanValue"
+ type="java.lang.Boolean"
+ direct="false">
+ <bind-xml name="Boolean" node="attribute"/>
+ </field>
+ </class>
+</mapping>
+
diff --git a/src/main/resources/mapFiles/LifeCycleMap.xml b/src/main/resources/mapFiles/LifeCycleMap.xml
new file mode 100644
index 0000000..8291dee
--- /dev/null
+++ b/src/main/resources/mapFiles/LifeCycleMap.xml
@@ -0,0 +1,121 @@
+<?xml version="1.0"?>
+<mapping>
+ <class name="com.c2kernel.lifecycle.NextDef" extends="com.c2kernel.graph.model.GraphableEdge">
+ <map-to xml="NextDef"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.WfVertexDef" extends="com.c2kernel.graph.model.GraphableVertex">
+ <map-to xml="WfVertexDef"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.ActivityDef" extends="com.c2kernel.lifecycle.WfVertexDef">
+ <map-to xml="ActivityDef"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.CompositeActivityDef" extends="com.c2kernel.lifecycle.ActivityDef">
+ <map-to xml="CompositeActivityDef"/>
+ <field name="castorNonLayoutableChildren" type="string" direct="false" collection="array">
+ <bind-xml name="castorNonLayoutableChildren" node="element"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.ActivitySlotDef" extends="com.c2kernel.lifecycle.WfVertexDef">
+ <map-to xml="ActivitySlotDef"/>
+ <field name="activityDef" type="string" direct="false">
+ <bind-xml name="activityDef" node="element"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.JoinDef" extends="com.c2kernel.lifecycle.WfVertexDef">
+ <map-to xml="JoinDef"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.AndSplitDef" extends="com.c2kernel.lifecycle.WfVertexDef">
+ <map-to xml="AndSplitDef"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.OrSplitDef" extends="com.c2kernel.lifecycle.AndSplitDef">
+ <map-to xml="OrSplitDef"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.XOrSplitDef" extends="com.c2kernel.lifecycle.AndSplitDef">
+ <map-to xml="XOrSplitDef"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.LoopDef" extends="com.c2kernel.lifecycle.XOrSplitDef">
+ <map-to xml="LoopDef"/>
+ <field name="isNext" type="integer" direct="true">
+ <bind-xml name="isNext" node="attribute"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.Next" extends="com.c2kernel.graph.model.GraphableEdge">
+ <map-to xml="Next"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.WfVertex" extends="com.c2kernel.graph.model.GraphableVertex"/>
+ <class name="com.c2kernel.lifecycle.instance.Activity" extends="com.c2kernel.lifecycle.instance.WfVertex">
+ <map-to xml="AtomicActivity"/>
+ <field name="active" type="boolean" direct="false">
+ <bind-xml name="active" node="attribute"/>
+ </field>
+ <field name="state" type="integer" direct="false">
+ <bind-xml name="state" node="attribute"/>
+ </field>
+ <field name="type" type="string" direct="false">
+ <bind-xml name="Type" node="attribute"/>
+ </field>
+ <field name="eventIds" type="com.c2kernel.lifecycle.instance.EventStorage" direct="true">
+ <bind-xml name="eventIds" node="element"/>
+ </field>
+ <field name="startDate" type="com.c2kernel.common.GTimeStamp" direct="false">
+ <bind-xml name="startDate" node="element"/>
+ </field>
+ <field name="activeDate" type="com.c2kernel.common.GTimeStamp" direct="false">
+ <bind-xml name="activeDate" node="element"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.CompositeActivity" extends="com.c2kernel.lifecycle.instance.Activity">
+ <map-to xml="CompositeActivity"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.Workflow" extends="com.c2kernel.lifecycle.instance.CompositeActivity">
+ <map-to xml="Workflow"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.Join" extends="com.c2kernel.lifecycle.instance.WfVertex">
+ <map-to xml="Join"/>
+ <field name="counter" type="integer" direct="true">
+ <bind-xml name="counter" node="attribute"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.Split" extends="com.c2kernel.lifecycle.instance.WfVertex">
+ <map-to xml="Split"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.AndSplit" extends="com.c2kernel.lifecycle.instance.Split">
+ <map-to xml="AndSplit"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.OrSplit" extends="com.c2kernel.lifecycle.instance.Split">
+ <map-to xml="OrSplit"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.XOrSplit" extends="com.c2kernel.lifecycle.instance.Split">
+ <map-to xml="XOrSplit"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.Loop" extends="com.c2kernel.lifecycle.instance.XOrSplit">
+ <map-to xml="Loop"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.predefined.PredefinedStepContainer">
+ <map-to xml="PredefinedStepContainer"/>
+ <field name="ID" type="integer" direct="false">
+ <bind-xml name="id" node="attribute"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.predefined.ServerPredefinedStepContainer" extends="com.c2kernel.lifecycle.instance.predefined.PredefinedStepContainer">
+ <map-to xml="ServerPredefinedStepContainer"/>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.EventStorage">
+ <map-to xml="EventStorage"/>
+ <field name="lastTransitionStored" type="integer" direct="true">
+ <bind-xml name="lastTransitionStored" node="attribute"/>
+ </field>
+ <field name="lists" type="com.c2kernel.lifecycle.instance.EventList" collection="array" direct="false">
+ <bind-xml name="lists" node="element"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.EventList">
+ <map-to xml="EventList"/>
+ <field name="transition" type="integer" direct="true">
+ <bind-xml name="transition" node="attribute"/>
+ </field>
+ <field name="nums" type="integer" collection="array" direct="false">
+ <bind-xml name="nums" node="element"/>
+ </field>
+ </class>
+</mapping>
diff --git a/src/main/resources/mapFiles/ModuleMap.xml b/src/main/resources/mapFiles/ModuleMap.xml
new file mode 100644
index 0000000..4bc4db1
--- /dev/null
+++ b/src/main/resources/mapFiles/ModuleMap.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<mapping>
+ <class name="com.c2kernel.process.Module">
+ <map-to xml="CristalModule"/>
+ <field name="ns" direct="false" type="string">
+ <bind-xml name="ns" node="attribute"/>
+ </field>
+ <field name="name" direct="false" type="string">
+ <bind-xml name="name" node="attribute"/>
+ </field>
+ <field name="desc" direct="false" type="string">
+ <bind-xml name="Description" node="element"/>
+ </field>
+ <field name="version" direct="false" type="string">
+ <bind-xml name="Version" node="element"/>
+ </field>
+ <field name="dependency" collection="array" direct="false" type="string">
+ <bind-xml name="Dependency" node="element"/>
+ </field>
+ <field name="resURL" direct="false" type="string">
+ <bind-xml name="ResourceURL" node="element"/>
+ </field>
+ <field name="dependency" collection="arraylist" direct="false" type="string">
+ <bind-xml name="Config" node="element"/>
+ </field>
+ </class>
+</mapping>
diff --git a/src/main/resources/mapFiles/NewEntityMap.xml b/src/main/resources/mapFiles/NewEntityMap.xml
new file mode 100644
index 0000000..5d9d7ca
--- /dev/null
+++ b/src/main/resources/mapFiles/NewEntityMap.xml
@@ -0,0 +1,102 @@
+<?xml version="1.0"?>
+<mapping>
+ <class name="com.c2kernel.lifecycle.instance.predefined.entitycreation.NewItem">
+ <map-to xml="NewItem"/>
+ <field name="name" type="string" direct="true">
+ <bind-xml name="name" node="attribute"/>
+ </field>
+ <field name="initialPath" type="string" direct="true">
+ <bind-xml name="initialPath" node="attribute"/>
+ </field>
+ <field name="workflow" type="string" direct="true">
+ <bind-xml name="workflow" node="attribute"/>
+ </field>
+ <field name="propertyList" collection="arraylist" direct="true" type="com.c2kernel.lifecycle.instance.predefined.entitycreation.Property">
+ <bind-xml name="Property" node="element"/>
+ </field>
+ <field name="aggregationList" collection="arraylist" direct="true" type="com.c2kernel.lifecycle.instance.predefined.entitycreation.Aggregation">
+ <bind-xml name="Aggregation" node="element"/>
+ </field>
+ <field name="dependencyList" collection="arraylist" direct="true" type="com.c2kernel.lifecycle.instance.predefined.entitycreation.Dependency">
+ <bind-xml name="Dependency" node="element"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.predefined.entitycreation.Property">
+ <field name="name" type="string" direct="true">
+ <bind-xml name="name" node="attribute"/>
+ </field>
+ <field name="value" type="string" direct="true">
+ <bind-xml name="value" node="attribute"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.predefined.entitycreation.Aggregation">
+ <field name="name" type="string" direct="true">
+ <bind-xml name="name" node="attribute"/>
+ </field>
+ <field name="isDescription" type="boolean" direct="true">
+ <bind-xml name="isDescription" node="attribute"/>
+ </field>
+ <field name="aggregationMemberList" collection="arraylist" direct="true" type="com.c2kernel.lifecycle.instance.predefined.entitycreation.AggregationMember">
+ <bind-xml name="AggregationMember" node="element"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.predefined.entitycreation.AggregationMember">
+ <field name="slotNo" type="int" direct="true">
+ <bind-xml name="slotNo" node="attribute"/>
+ </field>
+ <field name="itemDescriptionPath" type="string" direct="true">
+ <bind-xml name="itemDescriptionPath" node="attribute"/>
+ </field>
+ <field name="itemPath" type="string" direct="true">
+ <bind-xml name="itemPath" node="attribute"/>
+ </field>
+ <field name="geometry" direct="true" type="com.c2kernel.lifecycle.instance.predefined.entitycreation.Geometry">
+ <bind-xml name="Geometry" node="element"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.predefined.entitycreation.Geometry">
+ <field name="x" type="int" direct="true">
+ <bind-xml name="x" node="attribute"/>
+ </field>
+ <field name="y" type="int" direct="true">
+ <bind-xml name="y" node="attribute"/>
+ </field>
+ <field name="width" type="int" direct="true">
+ <bind-xml name="width" node="attribute"/>
+ </field>
+ <field name="height" type="int" direct="true">
+ <bind-xml name="height" node="attribute"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.predefined.entitycreation.Dependency">
+ <field name="name" type="string" direct="true">
+ <bind-xml name="name" node="attribute"/>
+ </field>
+ <field name="isDescription" type="boolean" direct="true">
+ <bind-xml name="isDescription" node="attribute"/>
+ </field>
+ <field name="itemDescriptionPath" type="string" direct="true">
+ <bind-xml name="itemDescriptionPath" node="attribute"/>
+ </field>
+ <field name="dependencyMemberList" collection="arraylist" direct="true" type="com.c2kernel.lifecycle.instance.predefined.entitycreation.DependencyMember">
+ <bind-xml name="DependencyMember" node="element"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.predefined.entitycreation.DependencyMember">
+ <field name="itemPath" type="string" direct="true">
+ <bind-xml name="itemPath" node="attribute"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.lifecycle.instance.predefined.entitycreation.NewAgent">
+ <map-to xml="NewAgent"/>
+ <field name="name" type="string" direct="true">
+ <bind-xml name="name" node="attribute"/>
+ </field>
+ <field name="password" type="string" direct="true">
+ <bind-xml name="password" node="attribute"/>
+ </field>
+ <field name="roles" collection="arraylist" direct="true" type="string">
+ <bind-xml name="Role" node="element"/>
+ </field>
+ </class>
+</mapping>
diff --git a/src/main/resources/mapFiles/PropertiesMap.xml b/src/main/resources/mapFiles/PropertiesMap.xml
new file mode 100644
index 0000000..7936a75
--- /dev/null
+++ b/src/main/resources/mapFiles/PropertiesMap.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0"?>
+<mapping>
+ <class name="com.c2kernel.property.Property">
+ <map-to xml="Property"/>
+ <field name="mName" type="string" direct="false" get-method="getName" set-method="setName">
+ <bind-xml name="Name" node="attribute"/>
+ </field>
+ <field name="mValue" type="string" direct="false" get-method="getValue" set-method="setValue">
+ <bind-xml name="Value" node="element"/>
+ </field>
+ </class>
+
+ <class name="com.c2kernel.property.PropertyDescription">
+ <map-to xml="PropertyDescription"/>
+ <field name="mName" type="string" direct="false" get-method="getName" set-method="setName">
+ <bind-xml name="Name" node="attribute"/>
+ </field>
+ <field name="mIsClassIdentifier" type="boolean" direct="false" get-method="getIsClassIdentifier" set-method="setIsClassIdentifier">
+ <bind-xml name="IsClassIdentifier" node="attribute"/>
+ </field>
+ <field name="mDefaultValue" type="string" direct="false" get-method="getDefaultValue" set-method="setDefaultValue">
+ <bind-xml name="DefaultValue" node="attribute"/>
+ </field>
+ <field name="mIsMutable" type="boolean" direct="false" get-method="getIsMutable" set-method="setIsMutable">
+ <bind-xml name="IsMutable" node="attribute"/>
+ </field>
+ </class>
+
+
+ <class name="com.c2kernel.property.PropertyDescriptionList">
+ <map-to xml="AllProperties"/>
+ <field name="list" collection="arraylist" direct="true" type="com.c2kernel.property.PropertyDescription">
+ <bind-xml name="PropertyDescription" node="element"/>
+ </field>
+ </class>
+
+ <class name="com.c2kernel.property.PropertyArrayList">
+ <map-to xml="PropertyList"/>
+ <field name="list"
+ collection="arraylist"
+ direct="true"
+ type="com.c2kernel.property.Property">
+ <bind-xml name="Property" node="element"/>
+ </field>
+ </class>
+</mapping>
diff --git a/src/main/resources/mapFiles/TransferMap.xml b/src/main/resources/mapFiles/TransferMap.xml
new file mode 100644
index 0000000..a280ef3
--- /dev/null
+++ b/src/main/resources/mapFiles/TransferMap.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+<mapping>
+ <class name="com.c2kernel.entity.transfer.TransferSet">
+ <map-to xml="TransferSet"/>
+ <field name="items" collection="arraylist" direct="true"
+ type="com.c2kernel.entity.transfer.TransferItem">
+ <bind-xml name="Item" node="element"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.entity.transfer.TransferItem">
+ <field name="sysKey" type="integer" direct="true">
+ <bind-xml name="sysKey" node="attribute"/>
+ </field>
+ <field name="domainPaths" collection="arraylist" direct="true"
+ type="string">
+ <bind-xml name="DomainPaths" node="element"/>
+ </field>
+ </class>
+</mapping>
diff --git a/src/main/resources/mapFiles/ViewpointMap.xml b/src/main/resources/mapFiles/ViewpointMap.xml
new file mode 100644
index 0000000..6799418
--- /dev/null
+++ b/src/main/resources/mapFiles/ViewpointMap.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<mapping>
+ <class name="com.c2kernel.persistency.outcome.Viewpoint">
+ <map-to xml="Viewpoint"/>
+ <field name="sysKey" type="integer" direct="false" get-method="getSysKey" set-method="setSysKey">
+ <bind-xml name="SysKey" node="attribute"/>
+ </field>
+ <field name="schemaName" type="string" direct="false" get-method="getSchemaName" set-method="setSchemaName">
+ <bind-xml name="SchemaName" node="attribute"/>
+ </field>
+ <field name="name" type="string" direct="false" get-method="getName" set-method="setName">
+ <bind-xml name="Name" 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="eventId" type="integer" direct="false" get-method="getEventId" set-method="setEventId">
+ <bind-xml name="Last" node="attribute"/>
+ </field>
+ </class>
+</mapping>
diff --git a/src/main/resources/mapFiles/graphModelMap.xml b/src/main/resources/mapFiles/graphModelMap.xml
new file mode 100644
index 0000000..cebb589
--- /dev/null
+++ b/src/main/resources/mapFiles/graphModelMap.xml
@@ -0,0 +1,126 @@
+<?xml version="1.0"?>
+<!-- edited with XML Spy v4.2 U (http://www.xmlspy.com) by Sebastian Gaspard (Agilium) -->
+<mapping>
+ <class name="com.c2kernel.graph.model.GraphModel">
+ <map-to xml="GraphModel"/>
+ <field name="GraphModelCastorData" type="com.c2kernel.graph.model.GraphModelCastorData" direct="false">
+ <bind-xml auto-naming="deriveByClass" node="element"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.graph.model.GraphPoint">
+ <map-to xml="GraphPoint"/>
+ <field name="x" type="integer" direct="true">
+ <bind-xml name="x" node="attribute"/>
+ </field>
+ <field name="y" type="integer" direct="true">
+ <bind-xml name="y" node="attribute"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.graph.model.GraphModelCastorData">
+ <map-to xml="GraphModelCastorData"/>
+ <field name="mClassNameOfVertexOutlineCreator" type="string" direct="true">
+ <bind-xml name="ClassNameOfVertexOutlineCreator" node="attribute"/>
+ </field>
+ <field name="mVertexImpls" type="com.c2kernel.graph.model.Vertex" direct="true" collection="array">
+ <bind-xml auto-naming="deriveByClass" node="element"/>
+ </field>
+ <field name="mEdgeImpls" type="com.c2kernel.graph.model.DirectedEdge" direct="true" collection="array">
+ <bind-xml auto-naming="deriveByClass" node="element"/>
+ </field>
+ <field name="mStartVertexId" type="integer" direct="true">
+ <bind-xml name="StartVertexId" node="attribute"/>
+ </field>
+ <field name="mNextId" type="integer" direct="true">
+ <bind-xml name="NextId" node="attribute"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.graph.model.Vertex">
+ <map-to xml="Vertex"/>
+ <field name="ID" type="integer" direct="false">
+ <bind-xml name="ID" node="attribute"/>
+ </field>
+ <field name="Name" type="string" direct="false">
+ <bind-xml name="Name" node="attribute"/>
+ </field>
+ <field name="Height" type="integer" direct="false">
+ <bind-xml name="Height" node="attribute"/>
+ </field>
+ <field name="Width" type="integer" direct="false">
+ <bind-xml name="Width" node="attribute"/>
+ </field>
+ <field name="CentrePoint" type="com.c2kernel.graph.model.GraphPoint" direct="false">
+ <bind-xml name="CentrePoint" node="element"/>
+ </field>
+ <field name="OutlinePoints" type="com.c2kernel.graph.model.GraphPoint" direct="false" collection="array">
+ <bind-xml name="OutlinePoint" node="element"/>
+ </field>
+ <field name="InEdgeIds" type="integer" direct="false" collection="array">
+ <bind-xml name="InEdgeId" node="element"/>
+ </field>
+ <field name="OutEdgeIds" type="integer" direct="false" collection="array">
+ <bind-xml name="OutEdgeId" node="element"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.graph.model.DirectedEdge">
+ <map-to xml="DirectedEdge"/>
+ <field name="ID" type="integer" direct="false">
+ <bind-xml name="ID" node="attribute"/>
+ </field>
+ <field name="OriginPoint" type="com.c2kernel.graph.model.GraphPoint" direct="false">
+ <bind-xml name="OriginPoint" node="element"/>
+ </field>
+ <field name="TerminusPoint" type="com.c2kernel.graph.model.GraphPoint" direct="false">
+ <bind-xml name="TerminusPoint" node="element"/>
+ </field>
+ <field name="OriginVertexId" type="integer" direct="false">
+ <bind-xml name="OriginVertexId" node="attribute"/>
+ </field>
+ <field name="TerminusVertexId" type="integer" direct="false">
+ <bind-xml name="TerminusVertexId" node="attribute"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.graph.model.GraphableEdge" extends="com.c2kernel.graph.model.DirectedEdge">
+ <map-to xml="GraphableEdge"/>
+ <field name="mProperties"
+ type="com.c2kernel.utils.KeyValuePair"
+ collection="array"
+ container="false"
+ direct="false"
+ get-method="getKeyValuePairs"
+ set-method="setKeyValuePairs">
+ <bind-xml name="Properties" node="element"/>
+ </field>
+ </class>
+ <class name="com.c2kernel.graph.model.GraphableVertex" extends="com.c2kernel.graph.model.Vertex">
+ <map-to xml="GraphableVertex"/>
+ <field name="mIsLayoutable"
+ type="boolean"
+ direct="false"
+ get-method="getIsLayoutable"
+ set-method="setIsLayoutable">
+ <bind-xml name="IsLayoutable" node="attribute"/>
+ </field>
+ <field name="mIsComposite"
+ type="boolean"
+ direct="false"
+ get-method="getIsComposite"
+ set-method="setIsComposite">
+ <bind-xml name="IsComposite" node="attribute"/>
+ </field>
+ <field name="childrenGraphModel" type="com.c2kernel.graph.model.GraphModel" direct="false">
+ <bind-xml name="childrenGraphModel" node="element"/>
+ </field>
+ <field name="cNonLayoutableChildren" type="com.c2kernel.graph.model.GraphableVertex" direct="false" collection="array">
+ <bind-xml auto-naming="deriveByClass" node="element"/>
+ </field>
+ <field name="mProperties"
+ type="com.c2kernel.utils.KeyValuePair"
+ collection="array"
+ container="false"
+ direct="false"
+ get-method="getKeyValuePairs"
+ set-method="setKeyValuePairs">
+ <bind-xml name="Properties" node="element"/>
+ </field>
+ </class>
+</mapping>
diff --git a/src/main/resources/mapFiles/index b/src/main/resources/mapFiles/index
new file mode 100644
index 0000000..03de6f2
--- /dev/null
+++ b/src/main/resources/mapFiles/index
@@ -0,0 +1,10 @@
+graphModelMap.xml
+KeyValuePairMap.xml
+HistoryMap.xml
+PropertiesMap.xml
+LifeCycleMap.xml
+CollectionMap.xml
+JobListMap.xml
+ViewpointMap.xml
+TransferMap.xml
+NewEntityMap.xml