diff options
| author | Andrew Branson <andrew.branson@cern.ch> | 2012-05-30 08:37:45 +0200 |
|---|---|---|
| committer | Andrew Branson <andrew.branson@cern.ch> | 2012-05-30 08:37:45 +0200 |
| commit | b086f57f56bf0eb9dab9cf321a0f69aaaae84347 (patch) | |
| tree | 8e6e26e8b7eed6abad7a17b093bdbb55c5e6b1ba /src/main/resources/mapFiles/ViewpointMap.xml | |
| parent | 22088ae8d2d5ff390518dbe1c4372325ffb3a647 (diff) | |
Initial Maven Conversion
Diffstat (limited to 'src/main/resources/mapFiles/ViewpointMap.xml')
| -rw-r--r-- | src/main/resources/mapFiles/ViewpointMap.xml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/main/resources/mapFiles/ViewpointMap.xml b/src/main/resources/mapFiles/ViewpointMap.xml new file mode 100644 index 0000000..6799418 --- /dev/null +++ b/src/main/resources/mapFiles/ViewpointMap.xml @@ -0,0 +1,21 @@ +<?xml version="1.0"?>
+<mapping>
+ <class name="com.c2kernel.persistency.outcome.Viewpoint">
+ <map-to xml="Viewpoint"/>
+ <field name="sysKey" type="integer" direct="false" get-method="getSysKey" set-method="setSysKey">
+ <bind-xml name="SysKey" node="attribute"/>
+ </field>
+ <field name="schemaName" type="string" direct="false" get-method="getSchemaName" set-method="setSchemaName">
+ <bind-xml name="SchemaName" node="attribute"/>
+ </field>
+ <field name="name" type="string" direct="false" get-method="getName" set-method="setName">
+ <bind-xml name="Name" node="attribute"/>
+ </field>
+ <field name="schemaVersion" type="integer" direct="false" get-method="getSchemaVersion" set-method="setSchemaVersion">
+ <bind-xml name="SchemaVersion" node="attribute"/>
+ </field>
+ <field name="eventId" type="integer" direct="false" get-method="getEventId" set-method="setEventId">
+ <bind-xml name="Last" node="attribute"/>
+ </field>
+ </class>
+</mapping>
|
