]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.core/src/main/resources/org/argeo/slc/castor/mapping.xml
Migrate deploy developments to main project
[gpl/argeo-slc.git] / org.argeo.slc.core / src / main / resources / org / argeo / slc / castor / mapping.xml
1 <?xml version="1.0"?>
2
3 <mapping>
4 <description>Mapping of generic types</description>
5
6 <class name="java.lang.Exception" auto-complete="false">
7 <map-to ns-uri="http://argeo.org/projects/slc/schemas"
8 ns-prefix="slc" />
9 <field name="message" type="string" set-method="%1"
10 get-method="getMessage">
11 <bind-xml node="attribute" />
12 </field>
13 <field name="stackTrace" collection="array"
14 type="java.lang.StackTraceElement">
15 <bind-xml auto-naming="deriveByClass"
16 location="stack-trace" />
17 </field>
18 </class>
19
20 <class name="java.lang.StackTraceElement" auto-complete="false"
21 verify-constructable="false">
22 <map-to ns-uri="http://argeo.org/projects/slc/schemas"
23 ns-prefix="slc" />
24 <field name="declaringClass" type="string" set-method="%1"
25 get-method="getClassName">
26 <bind-xml node="attribute" />
27 </field>
28 <field name="methodName" type="string" set-method="%2"
29 get-method="getMethodName">
30 <bind-xml node="attribute" />
31 </field>
32 <field name="fileName" type="string" set-method="%3"
33 get-method="getFileName">
34 <bind-xml node="attribute" />
35 </field>
36 <field name="lineNumber" type="integer" set-method="%4"
37 get-method="getLineNumber">
38 <bind-xml node="attribute" />
39 </field>
40 </class>
41 </mapping>