]> 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
Restructure modules
[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.util.ArrayList;
4 import java.util.Date;
5 import java.util.Hashtable;
6 import java.util.List;
7 import java.util.Map;
8
9 import org.argeo.slc.core.attachment.SimpleAttachment;
10
11 public class ResultAttributes {
12 private String uuid = null;
13 private Date closeDate = null;
14 private Map<String, String> attributes = new Hashtable<String, String>();
15 private List<SimpleAttachment> attachments = new ArrayList<SimpleAttachment>();
16
17 public ResultAttributes() {
18 super();
19 }
20
21 public ResultAttributes(TreeTestResult ttr) {
22 super();
23 this.uuid = ttr.getUuid();
24 this.attributes = ttr.getAttributes();
25 this.closeDate = ttr.getCloseDate();
26 this.attachments = ttr.getAttachments();
27 }
28
29 public String getUuid() {
30 return uuid;
31 }
32
33 public void setUuid(String uuid) {
34 this.uuid = uuid;
35 }
36
37 public Map<String, String> getAttributes() {
38 return attributes;
39 }
40
41 public void setAttributes(Map<String, String> attributes) {
42 this.attributes = attributes;
43 }
44
45 public Date getCloseDate() {
46 return closeDate;
47 }
48
49 public void setCloseDate(Date closeDate) {
50 this.closeDate = closeDate;
51 }
52
53 public List<SimpleAttachment> getAttachments() {
54 return attachments;
55 }
56
57 public void setAttachments(List<SimpleAttachment> attachments) {
58 this.attachments = attachments;
59 }
60
61 }