summaryrefslogtreecommitdiff
path: root/resources/mapFiles
diff options
context:
space:
mode:
authorabranson <andrew.branson@cern.ch>2011-10-18 17:00:33 +0200
committerabranson <andrew.branson@cern.ch>2011-10-18 17:00:33 +0200
commit684e01bb190c7d0b95347b732aeb3cdeda4740d7 (patch)
treef3b36e96a4e33b6e46a5e17a29e7492e9ecb4796 /resources/mapFiles
parent38d30cd4f69178cef983ec13262a6f02826a9a45 (diff)
Module support
Diffstat (limited to 'resources/mapFiles')
-rw-r--r--resources/mapFiles/ModuleMap.xml27
-rw-r--r--resources/mapFiles/index2
2 files changed, 28 insertions, 1 deletions
diff --git a/resources/mapFiles/ModuleMap.xml b/resources/mapFiles/ModuleMap.xml
new file mode 100644
index 0000000..4bc4db1
--- /dev/null
+++ b/resources/mapFiles/ModuleMap.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<mapping>
+ <class name="com.c2kernel.process.Module">
+ <map-to xml="CristalModule"/>
+ <field name="ns" direct="false" type="string">
+ <bind-xml name="ns" node="attribute"/>
+ </field>
+ <field name="name" direct="false" type="string">
+ <bind-xml name="name" node="attribute"/>
+ </field>
+ <field name="desc" direct="false" type="string">
+ <bind-xml name="Description" node="element"/>
+ </field>
+ <field name="version" direct="false" type="string">
+ <bind-xml name="Version" node="element"/>
+ </field>
+ <field name="dependency" collection="array" direct="false" type="string">
+ <bind-xml name="Dependency" node="element"/>
+ </field>
+ <field name="resURL" direct="false" type="string">
+ <bind-xml name="ResourceURL" node="element"/>
+ </field>
+ <field name="dependency" collection="arraylist" direct="false" type="string">
+ <bind-xml name="Config" node="element"/>
+ </field>
+ </class>
+</mapping>
diff --git a/resources/mapFiles/index b/resources/mapFiles/index
index 58295a1..03de6f2 100644
--- a/resources/mapFiles/index
+++ b/resources/mapFiles/index
@@ -7,4 +7,4 @@ CollectionMap.xml
JobListMap.xml
ViewpointMap.xml
TransferMap.xml
-NewEntityMap.xml \ No newline at end of file
+NewEntityMap.xml