1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.common.ui.client.service; |
17 | |
|
18 | |
import java.io.Serializable; |
19 | |
import java.util.List; |
20 | |
|
21 | |
import org.kuali.student.core.assembly.data.Data; |
22 | |
import org.kuali.student.core.validation.dto.ValidationResultInfo; |
23 | |
|
24 | |
|
25 | |
public class DataSaveResult implements Serializable { |
26 | |
private static final long serialVersionUID = 1L; |
27 | |
private List<ValidationResultInfo> validationResults; |
28 | |
private Data value; |
29 | |
|
30 | |
public DataSaveResult() { |
31 | 0 | super(); |
32 | 0 | } |
33 | |
public DataSaveResult(final List<ValidationResultInfo> validationResults, final Data value) { |
34 | 0 | super(); |
35 | 0 | setValidationResults(validationResults); |
36 | 0 | setValue(value); |
37 | 0 | } |
38 | |
public List<ValidationResultInfo> getValidationResults() { |
39 | 0 | return this.validationResults; |
40 | |
} |
41 | |
public Data getValue() { |
42 | 0 | return this.value; |
43 | |
} |
44 | |
public void setValidationResults( |
45 | |
List<ValidationResultInfo> validationResults) { |
46 | 0 | this.validationResults = validationResults; |
47 | 0 | } |
48 | |
public void setValue(Data value) { |
49 | 0 | this.value = value; |
50 | 0 | } |
51 | |
|
52 | |
} |