1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.common.exceptions.jaxws; |
17 | |
|
18 | |
import java.util.ArrayList; |
19 | |
import java.util.List; |
20 | |
|
21 | |
import javax.xml.bind.annotation.XmlAccessType; |
22 | |
import javax.xml.bind.annotation.XmlAccessorType; |
23 | |
import javax.xml.bind.annotation.XmlRootElement; |
24 | |
import javax.xml.bind.annotation.XmlType; |
25 | |
|
26 | |
import org.kuali.student.common.validation.dto.ValidationResultInfo; |
27 | |
|
28 | |
|
29 | |
|
30 | |
|
31 | |
|
32 | |
|
33 | |
|
34 | |
@XmlRootElement(name = "DataValidationErrorException", namespace = "http://student.kuali.org/wsdl/exceptions") |
35 | |
@XmlAccessorType(XmlAccessType.FIELD) |
36 | |
@XmlType(name = "DataValidationErrorException", namespace = "http://student.kuali.org/wsdl/exceptions") |
37 | |
|
38 | 0 | public class DataValidationErrorExceptionBean { |
39 | |
|
40 | |
private java.lang.String message; |
41 | |
private List<ValidationResultInfo> validationResults; |
42 | |
|
43 | |
|
44 | |
public java.lang.String getMessage() { |
45 | 0 | return this.message; |
46 | |
} |
47 | |
|
48 | |
public void setMessage(java.lang.String newMessage) { |
49 | 0 | this.message = newMessage; |
50 | 0 | } |
51 | |
|
52 | |
public void setValidationResults(List<ValidationResultInfo> validationResults) { |
53 | 0 | this.validationResults = validationResults; |
54 | 0 | } |
55 | |
|
56 | |
public List<ValidationResultInfo> getValidationResults() { |
57 | 0 | if(validationResults == null){ |
58 | 0 | validationResults = new ArrayList<ValidationResultInfo>(0); |
59 | |
} |
60 | 0 | return validationResults; |
61 | |
} |
62 | |
|
63 | |
} |
64 | |
|