1 | |
package org.kuali.student.core.dictionary.dto; |
2 | |
|
3 | |
import javax.xml.bind.annotation.XmlAccessType; |
4 | |
import javax.xml.bind.annotation.XmlAccessorType; |
5 | |
import javax.xml.bind.annotation.XmlElement; |
6 | |
import javax.xml.bind.annotation.XmlIDREF; |
7 | |
|
8 | |
@XmlAccessorType(XmlAccessType.FIELD) |
9 | 0 | public class FieldDefinition extends Constraint { |
10 | |
|
11 | |
@XmlElement |
12 | |
protected String name; |
13 | |
|
14 | |
|
15 | |
@XmlElement |
16 | |
protected DataType dataType; |
17 | |
|
18 | |
@XmlIDREF |
19 | |
@XmlElement |
20 | |
protected ObjectStructureDefinition dataObjectStructure; |
21 | |
|
22 | |
|
23 | 0 | @XmlElement |
24 | |
protected boolean dynamic = false; |
25 | |
|
26 | |
|
27 | |
@XmlElement |
28 | |
protected Object defaultValue; |
29 | |
|
30 | |
@XmlElement |
31 | |
protected String defaultValuePath; |
32 | |
|
33 | |
|
34 | |
|
35 | |
|
36 | |
|
37 | |
|
38 | |
|
39 | |
|
40 | |
|
41 | |
|
42 | |
|
43 | 0 | @XmlElement |
44 | |
protected boolean readOnly = false; |
45 | |
|
46 | 0 | @XmlElement |
47 | |
protected boolean hide = false; |
48 | |
|
49 | 0 | @XmlElement |
50 | |
protected boolean mask = false; |
51 | |
|
52 | 0 | @XmlElement |
53 | |
protected boolean partialMask = false; |
54 | |
|
55 | |
@XmlElement |
56 | |
protected String partialMaskFormatter; |
57 | |
|
58 | |
@XmlElement |
59 | |
protected String maskFormatter; |
60 | |
|
61 | |
public String getName() { |
62 | 0 | return name; |
63 | |
} |
64 | |
public void setName(String name) { |
65 | 0 | this.name = name; |
66 | 0 | } |
67 | |
public DataType getDataType() { |
68 | 0 | return dataType; |
69 | |
} |
70 | |
public void setDataType(DataType dataType) { |
71 | 0 | this.dataType = dataType; |
72 | 0 | } |
73 | |
public ObjectStructureDefinition getDataObjectStructure() { |
74 | 0 | return dataObjectStructure; |
75 | |
} |
76 | |
public void setDataObjectStructure(ObjectStructureDefinition dataObjectStructure) { |
77 | 0 | this.dataObjectStructure = dataObjectStructure; |
78 | 0 | } |
79 | |
public Object getDefaultValue() { |
80 | 0 | return defaultValue; |
81 | |
} |
82 | |
public void setDefaultValue(Object defaultValue) { |
83 | 0 | this.defaultValue = defaultValue; |
84 | 0 | } |
85 | |
public String getDefaultValuePath() { |
86 | 0 | return defaultValuePath; |
87 | |
} |
88 | |
public void setDefaultValuePath(String defaultValuePath) { |
89 | 0 | this.defaultValuePath = defaultValuePath; |
90 | 0 | } |
91 | |
public boolean isReadOnly() { |
92 | 0 | return readOnly; |
93 | |
} |
94 | |
public void setReadOnly(boolean readOnly) { |
95 | 0 | this.readOnly = readOnly; |
96 | 0 | } |
97 | |
public boolean isHide() { |
98 | 0 | return hide; |
99 | |
} |
100 | |
public void setHide(boolean hide) { |
101 | 0 | this.hide = hide; |
102 | 0 | } |
103 | |
public boolean isMask() { |
104 | 0 | return mask; |
105 | |
} |
106 | |
public void setMask(boolean mask) { |
107 | 0 | this.mask = mask; |
108 | 0 | } |
109 | |
public boolean isPartialMask() { |
110 | 0 | return partialMask; |
111 | |
} |
112 | |
public void setPartialMask(boolean partialMask) { |
113 | 0 | this.partialMask = partialMask; |
114 | 0 | } |
115 | |
|
116 | |
public boolean isDynamic() { |
117 | 0 | return dynamic; |
118 | |
} |
119 | |
public void setDynamic(boolean dynamic) { |
120 | 0 | this.dynamic = dynamic; |
121 | 0 | } |
122 | |
public String getPartialMaskFormatter() { |
123 | 0 | return partialMaskFormatter; |
124 | |
} |
125 | |
public void setPartialMaskFormatter(String partialMaskFormatter) { |
126 | 0 | this.partialMaskFormatter = partialMaskFormatter; |
127 | 0 | } |
128 | |
public String getMaskFormatter() { |
129 | 0 | return maskFormatter; |
130 | |
} |
131 | |
public void setMaskFormatter(String maskFormatter) { |
132 | 0 | this.maskFormatter = maskFormatter; |
133 | 0 | } |
134 | |
} |