1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.core.proposal.dto; |
17 | |
|
18 | |
import java.io.Serializable; |
19 | |
import java.util.ArrayList; |
20 | |
import java.util.Date; |
21 | |
import java.util.HashMap; |
22 | |
import java.util.List; |
23 | |
import java.util.Map; |
24 | |
|
25 | |
import javax.xml.bind.annotation.XmlAccessType; |
26 | |
import javax.xml.bind.annotation.XmlAccessorType; |
27 | |
import javax.xml.bind.annotation.XmlAttribute; |
28 | |
import javax.xml.bind.annotation.XmlElement; |
29 | |
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
30 | |
|
31 | |
import org.kuali.student.core.dto.HasAttributes; |
32 | |
import org.kuali.student.core.dto.HasTypeState; |
33 | |
import org.kuali.student.core.dto.Idable; |
34 | |
import org.kuali.student.core.dto.MetaInfo; |
35 | |
import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; |
36 | |
|
37 | |
|
38 | |
|
39 | |
|
40 | |
|
41 | |
|
42 | |
|
43 | |
|
44 | |
|
45 | |
|
46 | |
@XmlAccessorType(XmlAccessType.FIELD) |
47 | 0 | public class ProposalInfo implements Serializable, Idable, HasTypeState, HasAttributes { |
48 | |
|
49 | |
private static final long serialVersionUID = 1L; |
50 | |
|
51 | |
@XmlElement |
52 | |
private String name; |
53 | |
|
54 | |
@XmlElement |
55 | |
private List<String> proposerPerson; |
56 | |
|
57 | |
@XmlElement |
58 | |
private List<String> proposerOrg; |
59 | |
|
60 | |
@XmlElement |
61 | |
private String proposalReferenceType; |
62 | |
|
63 | |
@XmlElement |
64 | |
private List<String> proposalReference; |
65 | |
|
66 | |
@XmlElement |
67 | |
private String rationale; |
68 | |
|
69 | |
@XmlElement |
70 | |
private String detailDesc; |
71 | |
|
72 | |
@XmlElement |
73 | |
private Date effectiveDate; |
74 | |
|
75 | |
@XmlElement |
76 | |
private Date expirationDate; |
77 | |
|
78 | |
@XmlElement |
79 | |
private String workflowId; |
80 | |
|
81 | |
@XmlElement |
82 | |
@XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) |
83 | |
private Map<String, String> attributes; |
84 | |
|
85 | |
@XmlElement |
86 | |
private MetaInfo metaInfo; |
87 | |
|
88 | |
@XmlAttribute |
89 | |
private String type; |
90 | |
|
91 | |
@XmlAttribute |
92 | |
private String state; |
93 | |
|
94 | |
@XmlAttribute |
95 | |
private String id; |
96 | |
|
97 | |
|
98 | |
|
99 | |
|
100 | |
public String getName() { |
101 | 0 | return name; |
102 | |
} |
103 | |
|
104 | |
public void setName(String name) { |
105 | 0 | this.name = name; |
106 | 0 | } |
107 | |
|
108 | |
|
109 | |
|
110 | |
|
111 | |
public List<String> getProposerPerson() { |
112 | 0 | if (proposerPerson == null) { |
113 | 0 | proposerPerson = new ArrayList<String>(0); |
114 | |
} |
115 | 0 | return proposerPerson; |
116 | |
} |
117 | |
|
118 | |
public void setProposerPerson(List<String> proposerPerson) { |
119 | 0 | this.proposerPerson = proposerPerson; |
120 | 0 | } |
121 | |
|
122 | |
|
123 | |
|
124 | |
|
125 | |
public List<String> getProposerOrg() { |
126 | 0 | if (proposerOrg == null) { |
127 | 0 | proposerOrg = new ArrayList<String>(0); |
128 | |
} |
129 | 0 | return proposerOrg; |
130 | |
} |
131 | |
|
132 | |
public void setProposerOrg(List<String> proposerOrg) { |
133 | 0 | this.proposerOrg = proposerOrg; |
134 | 0 | } |
135 | |
|
136 | |
|
137 | |
|
138 | |
|
139 | |
public String getProposalReferenceType() { |
140 | 0 | return proposalReferenceType; |
141 | |
} |
142 | |
|
143 | |
public void setProposalReferenceType(String proposalReferenceType) { |
144 | 0 | this.proposalReferenceType = proposalReferenceType; |
145 | 0 | } |
146 | |
|
147 | |
|
148 | |
|
149 | |
|
150 | |
public List<String> getProposalReference() { |
151 | 0 | if (proposalReference == null) { |
152 | 0 | proposalReference = new ArrayList<String>(0); |
153 | |
} |
154 | 0 | return proposalReference; |
155 | |
} |
156 | |
|
157 | |
public void setProposalReference(List<String> proposalReference) { |
158 | 0 | this.proposalReference = proposalReference; |
159 | 0 | } |
160 | |
|
161 | |
|
162 | |
|
163 | |
|
164 | |
public String getRationale() { |
165 | 0 | return rationale; |
166 | |
} |
167 | |
|
168 | |
public void setRationale(String rationale) { |
169 | 0 | this.rationale = rationale; |
170 | 0 | } |
171 | |
|
172 | |
|
173 | |
|
174 | |
|
175 | |
public String getDetailDesc() { |
176 | 0 | return detailDesc; |
177 | |
} |
178 | |
|
179 | |
public void setDetailDesc(String detailDesc) { |
180 | 0 | this.detailDesc = detailDesc; |
181 | 0 | } |
182 | |
|
183 | |
|
184 | |
|
185 | |
|
186 | |
public Date getEffectiveDate() { |
187 | 0 | return effectiveDate; |
188 | |
} |
189 | |
|
190 | |
public void setEffectiveDate(Date effectiveDate) { |
191 | 0 | this.effectiveDate = effectiveDate; |
192 | 0 | } |
193 | |
|
194 | |
|
195 | |
|
196 | |
|
197 | |
public Date getExpirationDate() { |
198 | 0 | return expirationDate; |
199 | |
} |
200 | |
|
201 | |
public void setExpirationDate(Date expirationDate) { |
202 | 0 | this.expirationDate = expirationDate; |
203 | 0 | } |
204 | |
|
205 | |
|
206 | |
|
207 | |
|
208 | |
public Map<String, String> getAttributes() { |
209 | 0 | if (attributes == null) { |
210 | 0 | attributes = new HashMap<String, String>(); |
211 | |
} |
212 | 0 | return attributes; |
213 | |
} |
214 | |
|
215 | |
public void setAttributes(Map<String, String> attributes) { |
216 | 0 | this.attributes = attributes; |
217 | 0 | } |
218 | |
|
219 | |
|
220 | |
|
221 | |
|
222 | |
public MetaInfo getMetaInfo() { |
223 | 0 | return metaInfo; |
224 | |
} |
225 | |
|
226 | |
public void setMetaInfo(MetaInfo metaInfo) { |
227 | 0 | this.metaInfo = metaInfo; |
228 | 0 | } |
229 | |
|
230 | |
|
231 | |
|
232 | |
|
233 | |
public String getType() { |
234 | 0 | return type; |
235 | |
} |
236 | |
|
237 | |
public void setType(String type) { |
238 | 0 | this.type = type; |
239 | 0 | } |
240 | |
|
241 | |
|
242 | |
|
243 | |
|
244 | |
public String getState() { |
245 | 0 | return state; |
246 | |
} |
247 | |
|
248 | |
public void setState(String state) { |
249 | 0 | this.state = state; |
250 | 0 | } |
251 | |
|
252 | |
|
253 | |
|
254 | |
|
255 | |
public String getId() { |
256 | 0 | return id; |
257 | |
} |
258 | |
|
259 | |
public void setId(String id) { |
260 | 0 | this.id = id; |
261 | 0 | } |
262 | |
|
263 | |
|
264 | |
|
265 | |
|
266 | |
|
267 | |
public String getWorkflowId() { |
268 | 0 | return workflowId; |
269 | |
} |
270 | |
|
271 | |
public void setWorkflowId(String workflowId) { |
272 | 0 | this.workflowId = workflowId; |
273 | 0 | } |
274 | |
|
275 | |
|
276 | |
} |