summaryrefslogtreecommitdiff
path: root/resources/mapFiles/KeyValuePairMap.xml
diff options
context:
space:
mode:
authorAndrew Branson <andrew@andrewbranson.net>2011-06-21 15:46:02 +0200
committerAndrew Branson <andrew@andrewbranson.net>2011-06-21 15:46:02 +0200
commit254ee6f47eebfc00462c10756a92066e82cc1a96 (patch)
tree8273ff95c704e6faa3f92b4711253427b9ba0481 /resources/mapFiles/KeyValuePairMap.xml
Initial commit2.2
Diffstat (limited to 'resources/mapFiles/KeyValuePairMap.xml')
-rwxr-xr-xresources/mapFiles/KeyValuePairMap.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/resources/mapFiles/KeyValuePairMap.xml b/resources/mapFiles/KeyValuePairMap.xml
new file mode 100755
index 0000000..8175151
--- /dev/null
+++ b/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>
+