diff options
Diffstat (limited to 'src/main/resources/mapFiles/CollectionMap.xml')
| -rw-r--r-- | src/main/resources/mapFiles/CollectionMap.xml | 116 |
1 files changed, 116 insertions, 0 deletions
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>
|
