]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/core/test/tree/ResultAttributes.java
Use ObjectList everywhere
[gpl/argeo-slc.git] / runtime / org.argeo.slc.core / src / main / java / org / argeo / slc / core / test / tree / ResultAttributes.java
1 package org.argeo.slc.core.test.tree;
2
3 import java.io.Serializable;
4 import java.util.ArrayList;
5 import java.util.Date;
6 import java.util.Hashtable;
7 import java.util.List;
8 import java.util.Map;
9
10 import org.argeo.slc.core.attachment.SimpleAttachment;
11
12 public class ResultAttributes implements Serializable {
13 private static final long serialVersionUID = 1L;
14
15 private String uuid = null;
16 private Date closeDate = null;
17 private Map<String, String> attributes = new Hashtable<String, String>();
18 private List<SimpleAttachment> attachments = new ArrayList<SimpleAttachment>();
19
20 public ResultAttributes() {
21 super();
22 }
23
24 public ResultAttributes(TreeTestResult ttr) {
25 super();
26 this.uuid = ttr.getUuid();
27 this.attributes = ttr.getAttributes();
28 this.closeDate = ttr.getCloseDate();
29 this.attachments = ttr.getAttachments();
30 }
31
32 public String getUuid() {
33 return uuid;
34 }
35
36 public void setUuid(String uuid) {
37 this.uuid = uuid;
38 }
39
40 public Map<String, String> getAttributes() {
41 return attributes;
42 }
43
44 public void setAttributes(Map<String, String> attributes) {
45 this.attributes = attributes;
46 }
47
48 public Date getCloseDate() {
49 return closeDate;
50 }
51
52 public void setCloseDate(Date closeDate) {
53 this.closeDate = closeDate;
54 }
55
56 public List<SimpleAttachment> getAttachments() {
57 return attachments;
58 }
59
60 public void setAttachments(List<SimpleAttachment> attachments) {
61 this.attachments = attachments;
62 }
63
64 }