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