summaryrefslogtreecommitdiff
path: root/resources/mapFiles/CastorHashMapMap.xml
blob: 601cf061299bea60586e66cf67c66ec74b521b3b (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
<?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>