Clover Coverage Report - Kuali Student 1.2-M6-SNAPSHOT (Aggregated)
Coverage timestamp: Mon Sep 12 2011 05:03:53 EDT
../../../../../../../img/srcFileCovDistChart3.png 41% of files have more coverage
7   52   6   1.4
2   29   0.86   5
5     1.2  
1    
 
  SaveResult       Line # 24 7 0% 6 10 28.6% 0.2857143
 
  (1)
 
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.assembly.old.data;
17   
18    import java.io.Serializable;
19    import java.util.List;
20   
21    import org.kuali.student.common.validation.dto.ValidationResultInfo;
22   
23    @Deprecated
 
24    public class SaveResult<T> implements Serializable{
25    private static final long serialVersionUID = 1L;
26   
27    private T value;
28    private List<ValidationResultInfo> validationResults;
 
29  6 toggle public T getValue() {
30  6 return value;
31    }
 
32  3 toggle public void setValue(T value) {
33  3 this.value = value;
34    }
35   
 
36  0 toggle public List<ValidationResultInfo> getValidationResults() {
37  0 return validationResults;
38    }
39   
 
40  0 toggle public void setValidationResults(List<ValidationResultInfo> validationResults) {
41  0 this.validationResults = validationResults;
42    }
43   
 
44  0 toggle public void addValidationResults(List<ValidationResultInfo> validationResults){
45  0 if (this.validationResults == null){
46  0 setValidationResults(this.validationResults);
47    } else{
48  0 this.validationResults.addAll(validationResults);
49    }
50    }
51   
52    }