<?xml version="1.0"?>\r
+<!--\r
+\r
+ Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>\r
+\r
+ Licensed under the Apache License, Version 2.0 (the "License");\r
+ you may not use this file except in compliance with the License.\r
+ You may obtain a copy of the License at\r
+\r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+ Unless required by applicable law or agreed to in writing, software\r
+ distributed under the License is distributed on an "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ See the License for the specific language governing permissions and\r
+ limitations under the License.\r
+\r
+-->\r
+\r
\r
<!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Mapping DTD Version 1.0//EN" "http://castor.org/mapping.dtd">\r
\r
<field name="type" />\r
<field name="host" />\r
<field name="user" />\r
- <field name="steps" collection="vector"\r
+ <field name="realizedFlows" collection="arraylist"\r
+ type="org.argeo.slc.process.RealizedFlow">\r
+ <bind-xml auto-naming="deriveByClass" location="realized-flows" />\r
+ </field>\r
+ <field name="steps" collection="arraylist"\r
type="org.argeo.slc.process.SlcExecutionStep">\r
<bind-xml auto-naming="deriveByClass" location="steps" />\r
</field>\r
<field name="attributes" collection="map">\r
<bind-xml name="attribute" location="attributes">\r
<class name="org.exolab.castor.mapping.MapItem">\r
- <map-to\r
- ns-uri="http://argeo.org/projects/slc/schemas" ns-prefix="slc" />\r
+ <map-to ns-uri="http://argeo.org/projects/slc/schemas"\r
+ ns-prefix="slc" />\r
<field name="key" type="string">\r
<bind-xml name="name" node="attribute" />\r
</field>\r
</field>\r
</class>\r
\r
+ <class name="org.argeo.slc.process.RealizedFlow">\r
+ <map-to ns-uri="http://argeo.org/projects/slc/schemas"\r
+ ns-prefix="slc" />\r
+ <field name="moduleName"/>\r
+ <field name="moduleVersion" />\r
+ <field name="flowDescriptor">\r
+ <bind-xml auto-naming="deriveByClass" />\r
+ </field>\r
+ <field name="executionSpec">\r
+ <bind-xml auto-naming="deriveByClass" />\r
+ </field>\r
+ </class>\r
+\r
<class name="org.argeo.slc.process.SlcExecutionStep">\r
<map-to ns-uri="http://argeo.org/projects/slc/schemas"\r
ns-prefix="slc" />\r
<bind-xml node="attribute" />\r
</field>\r
<field name="type" />\r
- <field name="begin" />\r
- <field name="logLines" collection="vector" type="string">\r
+ <field name="thread" />\r
+ <field name="timestamp" />\r
+ <field name="logLines" collection="arraylist" type="string">\r
<bind-xml name="log-line" location="log-lines" />\r
</field>\r
</class>\r
- \r
+\r
</mapping>
\ No newline at end of file