View Javadoc

1   /**
2    * Copyright 2010 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10   * software distributed under the License is distributed on an "AS IS"
11   * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12   * or implied. See the License for the specific language governing
13   * permissions and limitations under the License.
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   * This class was generated by Apache CXF 2.1.3
30   * Thu Jan 22 10:27:37 EST 2009
31   * Generated source version: 2.1.3
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  public class DataValidationErrorExceptionBean {
39  
40      private java.lang.String message;
41  	private List<ValidationResultInfo> validationResults;
42  	
43  	
44      public java.lang.String getMessage() {
45          return this.message;
46      }
47  
48      public void setMessage(java.lang.String newMessage)  {
49          this.message = newMessage;
50      }
51  
52  	public void setValidationResults(List<ValidationResultInfo> validationResults) {
53  		this.validationResults = validationResults;
54  	}
55  
56  	public List<ValidationResultInfo> getValidationResults() {
57  		if(validationResults == null){
58  			validationResults = new ArrayList<ValidationResultInfo>(0);
59  		}
60  		return validationResults;
61  	}
62  
63  }
64