]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.support.castor/src/main/resources/org/argeo/slc/castor/execution.xml
Remove unused class
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.castor / src / main / resources / org / argeo / slc / castor / execution.xml
index 7e903d26f3bdfcbd3d2d7416ca5ec4a1ed2a1df1..662cbe6afadff614d8c95816dab611965439febc 100644 (file)
@@ -1,5 +1,21 @@
 <?xml version="1.0"?>\r
+<!--\r
 \r
+    Copyright (C) 2007-2012 Mathieu Baudier\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
 <!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Mapping DTD Version 1.0//EN" "http://castor.org/mapping.dtd">\r
 \r
 <mapping>\r
@@ -10,6 +26,8 @@
                        ns-prefix="slc" />\r
                <field name="name" />\r
                <field name="version" />\r
+               <field name="label" />\r
+               <field name="description" />\r
                <field name="executionFlows" collection="arraylist"\r
                        type="org.argeo.slc.execution.ExecutionFlowDescriptor">\r
                        <bind-xml auto-naming="deriveByClass" location="execution-flows" />\r
                <field name="targetClassName">\r
                        <bind-xml name="targetClassName" node="attribute" />\r
                </field>\r
+               <field name="choices" collection="arraylist"\r
+                       type="org.argeo.slc.core.execution.RefValueChoice">\r
+                       <bind-xml auto-naming="deriveByClass" location="choices" />\r
+               </field>\r
        </class>\r
 \r
        <!-- Values -->\r
        <class name="org.argeo.slc.core.execution.RefValue" extends="org.argeo.slc.core.execution.AbstractExecutionValue">\r
                <map-to ns-uri="http://argeo.org/projects/slc/schemas"\r
                        ns-prefix="slc" />\r
-               <field name="label" />\r
+               <field name="ref">\r
+                       <bind-xml name="ref" node="attribute" />\r
+               </field>\r
+               <field name="type">\r
+                       <bind-xml name="type" node="attribute" />\r
+               </field>\r
+       </class>\r
+\r
+       <class name="org.argeo.slc.core.execution.RefValueChoice">\r
+               <map-to ns-uri="http://argeo.org/projects/slc/schemas"\r
+                       ns-prefix="slc" />\r
+               <field name="name">\r
+                       <bind-xml name="name" node="attribute" />\r
+               </field>\r
+               <field name="description" />\r
        </class>\r
 </mapping>
\ No newline at end of file