Clover Coverage Report - KS Common 1.2-M2-SNAPSHOT (Aggregated)
Coverage timestamp: Fri Apr 22 2011 04:34:25 EST
../../../../../../img/srcFileCovDistChart9.png 17% of files have more coverage
28   154   28   1
0   114   1   7
28     1  
4    
 
  CommonLookupParam       Line # 9 28 0% 28 6 89.3% 0.89285713
  CommonLookupParam.Widget       Line # 29 0 - 0 0 - -1.0
  CommonLookupParam.WriteAccess       Line # 33 0 - 0 0 - -1.0
  CommonLookupParam.Usage       Line # 38 0 - 0 0 - -1.0
 
  (3)
 
1    package org.kuali.student.common.dictionary.dto;
2   
3    import java.io.Serializable;
4    import java.util.ArrayList;
5   
6   
7   
8   
 
9    public class CommonLookupParam implements Serializable {
10   
11   
12    private static final long serialVersionUID = 1L;
13    private String key;
14    private CommonLookup childLookup;
15    private WriteAccess writeAccess;
16    private DataType dataType;
17    private boolean optional;
18   
19    private ArrayList<String> defaultValueList;
20    private String defaultValueString;
21   
22    private String name;
23    private String desc;
24    private boolean caseSensitive;
25    private Usage usage;
26    protected String fieldPath;
27    protected String fieldPathMessageId;
28   
 
29    public enum Widget {
30    SUGGEST_BOX, DROPDOWN_LIST, RADIO_BUTTONS, CHECK_BOXES, TEXT_BOX, CALENDAR, PICKER
31    }
32   
 
33    public enum WriteAccess {
34    ON_CREATE, /* must also be required */
35    ALWAYS, NEVER, WHEN_NULL, REQUIRED
36    }
37   
 
38    public enum Usage {
39    DEFAULT, ADVANCED, CUSTOM, ADVANCED_CUSTOM
40    }
41    private Widget widget;
42   
 
43  54 toggle public String getKey() {
44  54 return key;
45    }
46   
 
47  364 toggle public void setKey(String key) {
48  364 this.key = key;
49    }
50   
 
51  50 toggle public CommonLookup getChildLookup() {
52  50 return childLookup;
53    }
54   
 
55  0 toggle public void setChildLookup(CommonLookup childLookup) {
56  0 this.childLookup = childLookup;
57    }
58   
 
59  90 toggle public WriteAccess getWriteAccess() {
60  90 return writeAccess;
61    }
62   
 
63  320 toggle public void setWriteAccess(WriteAccess writeAccess) {
64  320 this.writeAccess = writeAccess;
65    }
66   
 
67  100 toggle public DataType getDataType() {
68  100 return dataType;
69    }
70   
 
71  290 toggle public void setDataType(DataType dataType) {
72  290 this.dataType = dataType;
73    }
74   
 
75  50 toggle public boolean isOptional() {
76  50 return optional;
77    }
78   
 
79  154 toggle public void setOptional(boolean optional) {
80  154 this.optional = optional;
81    }
82   
 
83  50 toggle public ArrayList<String> getDefaultValueList() {
84  50 return defaultValueList;
85    }
86   
 
87  44 toggle public void setDefaultValueList(ArrayList<String> defaultValueList) {
88  44 this.defaultValueList = defaultValueList;
89    }
90   
 
91  54 toggle public String getDefaultValueString() {
92  54 return defaultValueString;
93    }
94   
 
95  72 toggle public void setDefaultValueString(String defaultValueString) {
96  72 this.defaultValueString = defaultValueString;
97    }
98   
 
99  50 toggle public String getName() {
100  50 return name;
101    }
102   
 
103  340 toggle public void setName(String name) {
104  340 this.name = name;
105    }
106   
 
107  50 toggle public String getDesc() {
108  50 return desc;
109    }
110   
 
111  340 toggle public void setDesc(String desc) {
112  340 this.desc = desc;
113    }
114   
 
115  50 toggle public boolean isCaseSensitive() {
116  50 return caseSensitive;
117    }
118   
 
119  302 toggle public void setCaseSensitive(boolean caseSensitive) {
120  302 this.caseSensitive = caseSensitive;
121    }
122   
 
123  50 toggle public Usage getUsage() {
124  50 return usage;
125    }
126   
 
127  162 toggle public void setUsage(Usage usage) {
128  162 this.usage = usage;
129    }
130   
 
131  62 toggle public String getFieldPath() {
132  62 return fieldPath;
133    }
134   
 
135  26 toggle public void setFieldPath(String fieldPath) {
136  26 this.fieldPath = fieldPath;
137    }
138   
 
139  50 toggle public Widget getWidget() {
140  50 return widget;
141    }
142   
 
143  74 toggle public void setWidget(Widget widget) {
144  74 this.widget = widget;
145    }
146   
 
147  0 toggle public String getFieldPathMessageId() {
148  0 return fieldPathMessageId;
149    }
150   
 
151  0 toggle public void setFieldPathMessageId(String fieldPathMessageId) {
152  0 this.fieldPathMessageId = fieldPathMessageId;
153    }
154    }