1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krad.uif.field;
17
18 import java.io.Serializable;
19 import java.util.ArrayList;
20 import java.util.HashMap;
21 import java.util.List;
22 import java.util.Map;
23
24 import org.kuali.rice.krad.datadictionary.Copyable;
25
26
27
28
29
30
31
32 public class AttributeQueryResult implements Serializable, Copyable {
33 private static final long serialVersionUID = -6688384365943881516L;
34
35 private String resultMessage;
36 private String resultMessageStyleClasses;
37
38 private Map<String, String> resultFieldData;
39 private List<Object> resultData;
40
41 public AttributeQueryResult() {
42 resultFieldData = new HashMap<String, String>();
43 resultData = new ArrayList<Object>();
44 }
45
46
47
48
49
50
51
52 public String getResultMessage() {
53 return resultMessage;
54 }
55
56
57
58
59
60
61 public void setResultMessage(String resultMessage) {
62 this.resultMessage = resultMessage;
63 }
64
65
66
67
68
69
70 public String getResultMessageStyleClasses() {
71 return resultMessageStyleClasses;
72 }
73
74
75
76
77
78
79 public void setResultMessageStyleClasses(String resultMessageStyleClasses) {
80 this.resultMessageStyleClasses = resultMessageStyleClasses;
81 }
82
83
84
85
86
87
88
89 public Map<String, String> getResultFieldData() {
90 return resultFieldData;
91 }
92
93
94
95
96
97
98 public void setResultFieldData(Map<String, String> resultFieldData) {
99 this.resultFieldData = resultFieldData;
100 }
101
102
103
104
105
106
107 public List<Object> getResultData() {
108 return resultData;
109 }
110
111
112
113
114
115
116 public void setResultData(List<Object> resultData) {
117 this.resultData = resultData;
118 }
119
120
121
122
123 @Override
124 public AttributeQueryResult clone() throws CloneNotSupportedException {
125 return (AttributeQueryResult) super.clone();
126 }
127
128 }