summaryrefslogtreecommitdiff
path: root/resources/mapFiles/CastorHashMapMap.xml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/mapFiles/CastorHashMapMap.xml')
-rwxr-xr-xresources/mapFiles/CastorHashMapMap.xml41
1 files changed, 41 insertions, 0 deletions
diff --git a/resources/mapFiles/CastorHashMapMap.xml b/resources/mapFiles/CastorHashMapMap.xml
new file mode 100755
index 0000000..601cf06
--- /dev/null
+++ b/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>
+