View Javadoc

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