Clover Coverage Report - Kuali Student 1.3.0-SNAPSHOT (Aggregated)
Coverage timestamp: Thu Apr 28 2011 05:03:32 EDT
../../../../../../../img/srcFileCovDistChart0.png 2% of files have more coverage
27   108   24   1.35
6   82   0.89   20
20     1.2  
1    
 
  ExportElement       Line # 6 27 0% 24 53 0% 0.0
 
No Tests
 
1    package org.kuali.student.common.ui.client.util;
2   
3    import java.io.Serializable;
4    import java.util.List;
5   
 
6    public class ExportElement implements Serializable {
7   
8    private static final long serialVersionUID = 1L;
9    private String fieldLabel;
10    private boolean isMandatory;
11   
12    private String fieldValue;
13    private String fieldValue2;
14    private String viewName;
15    private String sectionName;
16    private List<ExportElement> subset;
17   
 
18  0 toggle public String getViewName() {
19  0 return viewName;
20    }
21   
 
22  0 toggle public void setViewName(String viewName) {
23  0 this.viewName = viewName;
24    }
25   
 
26  0 toggle public String getSectionName() {
27  0 return sectionName;
28    }
29   
 
30  0 toggle public void setSectionName(String sectionName) {
31  0 this.sectionName = sectionName;
32    }
33   
 
34  0 toggle public String getFieldLabel() {
35  0 return fieldLabel;
36    }
37   
 
38  0 toggle public void setFieldLabel(String fieldLabel) {
39  0 this.fieldLabel = fieldLabel;
40    }
41   
 
42  0 toggle public String getFieldValue() {
43  0 if (fieldValue != null) {
44  0 return fieldValue;
45    }
46  0 return "";
47    }
48   
 
49  0 toggle public void setFieldValue(String fieldValue) {
50  0 this.fieldValue = fieldValue;
51    }
52   
 
53  0 toggle public String getKey() {
54  0 return fieldLabel;
55    }
56   
 
57  0 toggle public boolean isSub() {
58  0 return subset != null;
59    }
60   
 
61  0 toggle public List<ExportElement> getSubset() {
62  0 return subset;
63    }
64   
 
65  0 toggle public void setSubset(List<ExportElement> subset) {
66  0 if (subset != null && subset.size() > 0) {
67  0 this.subset = subset;
68    }
69    }
70   
 
71  0 toggle public boolean isMandatory() {
72  0 return isMandatory;
73    }
74   
 
75  0 toggle public void setMandatory(boolean isMandatory) {
76  0 this.isMandatory = isMandatory;
77    }
78   
 
79  0 toggle public String getFieldValue2() {
80  0 if (fieldValue2 != null) {
81  0 return fieldValue2;
82    }
83  0 return "";
84    }
85   
 
86  0 toggle public void setFieldValue2(String fieldValue2) {
87  0 this.fieldValue2 = fieldValue2;
88    }
89   
 
90  0 toggle public String getValue() {
91  0 return this.getFieldValue();
92    }
93   
 
94  0 toggle public String getProposalValue() {
95  0 return this.getFieldValue();
96    }
97   
 
98  0 toggle public String getOriginalValue() {
99  0 return this.getFieldValue2();
100    }
101   
 
102  0 toggle public String printLine() {
103  0 String output = new String();
104  0 output = this.sectionName + " - " + this.viewName + " - " + this.getFieldLabel() + " - " + this.getFieldValue() + " - " + this.getFieldValue2();
105  0 return output;
106    }
107   
108    }