Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
WidgetConfigInfo |
|
| 0.0;0 |
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.ui.client.configurable.mvc; | |
17 | ||
18 | import java.util.List; | |
19 | ||
20 | import org.kuali.student.common.ui.client.configurable.mvc.impl.DefaultWidgetFactoryImpl; | |
21 | import org.kuali.student.core.assembly.data.LookupMetadata; | |
22 | import org.kuali.student.core.assembly.data.Metadata; | |
23 | import org.kuali.student.core.assembly.data.Data.DataType; | |
24 | import org.kuali.student.core.assembly.data.Metadata.WriteAccess; | |
25 | ||
26 | /** | |
27 | * Data class used for passing relevant metadata info during auto field generation in DefaultWidgetFactory | |
28 | * @see DefaultWidgetFactory | |
29 | * @see DefaultWidgetFactoryImpl | |
30 | * @author Kuali Student Team | |
31 | * | |
32 | */ | |
33 | 0 | public class WidgetConfigInfo { |
34 | 0 | public DataType type = null; |
35 | 0 | public Integer maxLength = null; |
36 | 0 | public WriteAccess access = null; |
37 | 0 | public boolean isRichText = false; |
38 | 0 | public boolean isMultiLine = false; |
39 | 0 | public boolean isRepeating = false; |
40 | 0 | public Metadata metadata = null; |
41 | 0 | public LookupMetadata lookupMeta = null; |
42 | 0 | public List<LookupMetadata> additionalLookups = null; |
43 | 0 | public boolean canEdit = true; |
44 | 0 | public boolean canUnmask = false; |
45 | 0 | public boolean canView = true; |
46 | } |