]>
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
706a97caa0675b9c858a6a66dd579f4f89faf4da
1 package org
.argeo
.slc
.core
.test
.tree
;
3 import java
.io
.Serializable
;
4 import java
.util
.ArrayList
;
6 import java
.util
.Hashtable
;
10 import org
.argeo
.slc
.core
.attachment
.SimpleAttachment
;
12 public class ResultAttributes
implements Serializable
{
13 private static final long serialVersionUID
= 1L;
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
>();
20 public ResultAttributes() {
24 public ResultAttributes(TreeTestResult ttr
) {
26 this.uuid
= ttr
.getUuid();
27 this.attributes
= ttr
.getAttributes();
28 this.closeDate
= ttr
.getCloseDate();
29 this.attachments
= ttr
.getAttachments();
32 public String
getUuid() {
36 public void setUuid(String uuid
) {
40 public Map
<String
, String
> getAttributes() {
44 public void setAttributes(Map
<String
, String
> attributes
) {
45 this.attributes
= attributes
;
48 public Date
getCloseDate() {
52 public void setCloseDate(Date closeDate
) {
53 this.closeDate
= closeDate
;
56 public List
<SimpleAttachment
> getAttachments() {
60 public void setAttachments(List
<SimpleAttachment
> attachments
) {
61 this.attachments
= attachments
;