]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.support.castor/src/main/resources/org/argeo/slc/castor/attachment.xml
Attachments management
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.castor / src / main / resources / org / argeo / slc / castor / attachment.xml
diff --git a/runtime/org.argeo.slc.support.castor/src/main/resources/org/argeo/slc/castor/attachment.xml b/runtime/org.argeo.slc.support.castor/src/main/resources/org/argeo/slc/castor/attachment.xml
new file mode 100644 (file)
index 0000000..6faf852
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>\r
+\r
+<!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Mapping DTD Version 1.0//EN" "http://castor.org/mapping.dtd">\r
+\r
+<mapping>\r
+       <description>Attachment objects XML mapping</description>\r
+\r
+       <class name="org.argeo.slc.core.attachment.SimpleAttachment">\r
+               <map-to ns-uri="http://argeo.org/projects/slc/schemas"\r
+                       ns-prefix="slc" />\r
+               <field name="uuid" type="string" />\r
+               <field name="name" type="string" />\r
+               <field name="contentType" type="string" />\r
+       </class>\r
+\r
+</mapping>
\ No newline at end of file