Clover Coverage Report - KS Common 1.3.0-SNAPSHOT (Aggregated)
Coverage timestamp: Thu Apr 28 2011 06:00:36 EDT
../../../../../../img/srcFileCovDistChart0.png 0% of files have more coverage
26   146   26   1
0   107   1   6.5
26     1  
4    
 
  CommonLookupParam       Line # 9 26 0% 26 52 0% 0.0
  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
 
No Tests
 
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   
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  0 toggle public String getKey() {
44  0 return key;
45    }
46   
 
47  0 toggle public void setKey(String key) {
48  0 this.key = key;
49    }
50   
 
51  0 toggle public CommonLookup getChildLookup() {
52  0 return childLookup;
53    }
54   
 
55  0 toggle public void setChildLookup(CommonLookup childLookup) {
56  0 this.childLookup = childLookup;
57    }
58   
 
59  0 toggle public WriteAccess getWriteAccess() {
60  0 return writeAccess;
61    }
62   
 
63  0 toggle public void setWriteAccess(WriteAccess writeAccess) {
64  0 this.writeAccess = writeAccess;
65    }
66   
 
67  0 toggle public DataType getDataType() {
68  0 return dataType;
69    }
70   
 
71  0 toggle public void setDataType(DataType dataType) {
72  0 this.dataType = dataType;
73    }
74   
 
75  0 toggle public boolean isOptional() {
76  0 return optional;
77    }
78   
 
79  0 toggle public void setOptional(boolean optional) {
80  0 this.optional = optional;
81    }
82   
 
83  0 toggle public ArrayList<String> getDefaultValueList() {
84  0 return defaultValueList;
85    }
86   
 
87  0 toggle public void setDefaultValueList(ArrayList<String> defaultValueList) {
88  0 this.defaultValueList = defaultValueList;
89    }
90   
 
91  0 toggle public String getDefaultValueString() {
92  0 return defaultValueString;
93    }
94   
 
95  0 toggle public void setDefaultValueString(String defaultValueString) {
96  0 this.defaultValueString = defaultValueString;
97    }
98   
 
99  0 toggle public String getName() {
100  0 return name;
101    }
102   
 
103  0 toggle public void setName(String name) {
104  0 this.name = name;
105    }
106   
 
107  0 toggle public String getDesc() {
108  0 return desc;
109    }
110   
 
111  0 toggle public void setDesc(String desc) {
112  0 this.desc = desc;
113    }
114   
 
115  0 toggle public boolean isCaseSensitive() {
116  0 return caseSensitive;
117    }
118   
 
119  0 toggle public void setCaseSensitive(boolean caseSensitive) {
120  0 this.caseSensitive = caseSensitive;
121    }
122   
 
123  0 toggle public Usage getUsage() {
124  0 return usage;
125    }
126   
 
127  0 toggle public void setUsage(Usage usage) {
128  0 this.usage = usage;
129    }
130   
 
131  0 toggle public String getFieldPath() {
132  0 return fieldPath;
133    }
134   
 
135  0 toggle public void setFieldPath(String fieldPath) {
136  0 this.fieldPath = fieldPath;
137    }
138   
 
139  0 toggle public Widget getWidget() {
140  0 return widget;
141    }
142   
 
143  0 toggle public void setWidget(Widget widget) {
144  0 this.widget = widget;
145    }
146    }