<field name="key" type="string">\r
<bind-xml name="key" node="attribute" />\r
</field>\r
- <field name="value" type="string">\r
- <bind-xml node="text" />\r
+ <field name="value">\r
+ <bind-xml auto-naming="deriveByClass" />\r
</field>\r
</class>\r
</bind-xml>\r
</field>\r
</class>\r
\r
- <class name="org.argeo.slc.execution.SimpleExecutionSpec">\r
+ <!-- Specs -->\r
+ <class name="org.argeo.slc.core.execution.DefaultExecutionSpec">\r
<map-to ns-uri="http://argeo.org/projects/slc/schemas"\r
ns-prefix="slc" />\r
<field name="name" identity="true">\r
</field>\r
</class>\r
\r
- <class name="org.argeo.slc.execution.AbstractSpecAttribute">\r
+ <class name="org.argeo.slc.core.execution.AbstractSpecAttribute">\r
<map-to ns-uri="http://argeo.org/projects/slc/schemas"\r
ns-prefix="slc" />\r
<field name="isParameter">\r
<bind-xml name="isParameter" node="attribute" />\r
</field>\r
+ <field name="isFrozen">\r
+ <bind-xml name="isFrozen" node="attribute" />\r
+ </field>\r
+ <field name="isHidden">\r
+ <bind-xml name="isHidden" node="attribute" />\r
+ </field>\r
</class>\r
\r
- <class name="org.argeo.slc.execution.SimpleSpecAttribute"\r
- extends="org.argeo.slc.execution.AbstractSpecAttribute">\r
+ <class name="org.argeo.slc.core.execution.PrimitiveSpecAttribute"\r
+ extends="org.argeo.slc.core.execution.AbstractSpecAttribute">\r
<map-to ns-uri="http://argeo.org/projects/slc/schemas"\r
ns-prefix="slc" />\r
- <field name="value" />\r
+ <field name="type">\r
+ <bind-xml name="type" node="attribute" />\r
+ </field>\r
+ <field name="value" type="string"\r
+ handler="org.argeo.slc.castor.execution.PrimitiveFieldHandler" />\r
</class>\r
\r
- <class name="org.argeo.slc.execution.RefSpecAttribute" extends="org.argeo.slc.execution.AbstractSpecAttribute">\r
+ <class name="org.argeo.slc.core.execution.RefSpecAttribute"\r
+ extends="org.argeo.slc.core.execution.AbstractSpecAttribute">\r
<map-to ns-uri="http://argeo.org/projects/slc/schemas"\r
ns-prefix="slc" />\r
<field name="targetClassName">\r
<bind-xml name="targetClassName" node="attribute" />\r
</field>\r
</class>\r
+\r
+ <!-- Values -->\r
+ <class name="org.argeo.slc.core.execution.PrimitiveValue">\r
+ <map-to ns-uri="http://argeo.org/projects/slc/schemas"\r
+ ns-prefix="slc" />\r
+ <field name="type">\r
+ <bind-xml name="type" node="attribute" />\r
+ </field>\r
+ <field name="value" type="string"\r
+ handler="org.argeo.slc.castor.execution.PrimitiveFieldHandler" />\r
+ </class>\r
+\r
+ <class name="org.argeo.slc.core.execution.RefValue">\r
+ <map-to ns-uri="http://argeo.org/projects/slc/schemas"\r
+ ns-prefix="slc" />\r
+ <field name="label" />\r
+ </class>\r
</mapping>
\ No newline at end of file