]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.support.simple/src/main/java/org/argeo/slc/core/test/tree/ResultAttributes.java
Introduce a factory bean to use execution resources
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.simple / src / main / java / org / argeo / slc / core / test / tree / ResultAttributes.java
index 3a2c842e36930a8241e8c24bc16a41f3b0cf2734..ec09ce51f2ec851eb7c3a9750cd3a2b8104348ce 100644 (file)
@@ -1,13 +1,18 @@
 package org.argeo.slc.core.test.tree;
 
+import java.util.ArrayList;
 import java.util.Date;
 import java.util.Hashtable;
+import java.util.List;
 import java.util.Map;
 
+import org.argeo.slc.core.attachment.SimpleAttachment;
+
 public class ResultAttributes {
        private String uuid = null;
        private Date closeDate = null;
        private Map<String, String> attributes = new Hashtable<String, String>();
+       private List<SimpleAttachment> attachments = new ArrayList<SimpleAttachment>();
 
        public ResultAttributes() {
                super();
@@ -18,6 +23,7 @@ public class ResultAttributes {
                this.uuid = ttr.getUuid();
                this.attributes = ttr.getAttributes();
                this.closeDate = ttr.getCloseDate();
+               this.attachments = ttr.getAttachments();
        }
 
        public String getUuid() {
@@ -44,4 +50,12 @@ public class ResultAttributes {
                this.closeDate = closeDate;
        }
 
+       public List<SimpleAttachment> getAttachments() {
+               return attachments;
+       }
+
+       public void setAttachments(List<SimpleAttachment> attachments) {
+               this.attachments = attachments;
+       }
+
 }