Add closeDate support
authorMathieu Baudier <mbaudier@argeo.org>
Tue, 9 Dec 2008 07:24:57 +0000 (07:24 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Tue, 9 Dec 2008 07:24:57 +0000 (07:24 +0000)
ASSIGNED - bug 71: Extend capabilities of web services
https://www.argeo.org/bugzilla/show_bug.cgi?id=71

git-svn-id: https://svn.argeo.org/slc/trunk@1975 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

runtime/org.argeo.slc.support.castor/src/main/resources/org/argeo/slc/castor/msg.xml
runtime/org.argeo.slc.support.simple/src/main/java/org/argeo/slc/core/test/tree/ResultAttributes.java

index 1f9e9b7b29e6f49a6af55cac55b600109952de0b..24cc908eae8bc3d6ea9cb21883b055cc40aeeff5 100644 (file)
@@ -92,6 +92,7 @@
                <map-to ns-uri="http://argeo.org/projects/slc/schemas"
                        ns-prefix="slc" />
                <field name="uuid" />
+               <field name="closeDate" />
                <field name="attributes" collection="hashtable">
                        <bind-xml name="attribute" location="attributes">
                                <class name="org.exolab.castor.mapping.MapItem">
index cd0213ca750d5e60785aa695f2443f71e12455b5..3a2c842e36930a8241e8c24bc16a41f3b0cf2734 100644 (file)
@@ -1,10 +1,12 @@
 package org.argeo.slc.core.test.tree;
 
+import java.util.Date;
 import java.util.Hashtable;
 import java.util.Map;
 
 public class ResultAttributes {
        private String uuid = null;
+       private Date closeDate = null;
        private Map<String, String> attributes = new Hashtable<String, String>();
 
        public ResultAttributes() {
@@ -15,6 +17,7 @@ public class ResultAttributes {
                super();
                this.uuid = ttr.getUuid();
                this.attributes = ttr.getAttributes();
+               this.closeDate = ttr.getCloseDate();
        }
 
        public String getUuid() {
@@ -33,4 +36,12 @@ public class ResultAttributes {
                this.attributes = attributes;
        }
 
+       public Date getCloseDate() {
+               return closeDate;
+       }
+
+       public void setCloseDate(Date closeDate) {
+               this.closeDate = closeDate;
+       }
+
 }