summaryrefslogtreecommitdiff
path: root/src/main/resources/mapFiles/PropertiesMap.xml
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2012-05-30 08:37:45 +0200
committerAndrew Branson <andrew.branson@cern.ch>2012-05-30 08:37:45 +0200
commitb086f57f56bf0eb9dab9cf321a0f69aaaae84347 (patch)
tree8e6e26e8b7eed6abad7a17b093bdbb55c5e6b1ba /src/main/resources/mapFiles/PropertiesMap.xml
parent22088ae8d2d5ff390518dbe1c4372325ffb3a647 (diff)
Initial Maven Conversion
Diffstat (limited to 'src/main/resources/mapFiles/PropertiesMap.xml')
-rw-r--r--src/main/resources/mapFiles/PropertiesMap.xml46
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>