diff options
Diffstat (limited to 'src/main/resources/mapFiles/PropertiesMap.xml')
| -rw-r--r-- | src/main/resources/mapFiles/PropertiesMap.xml | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/main/resources/mapFiles/PropertiesMap.xml b/src/main/resources/mapFiles/PropertiesMap.xml new file mode 100644 index 0000000..7936a75 --- /dev/null +++ b/src/main/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>
|
