1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.r1.common.entity;
17
18 import javax.persistence.Column;
19 import javax.persistence.Embeddable;
20
21 @Deprecated
22 @Embeddable
23 public class FieldDescriptorEntity {
24
25 @Column(name = "NAME", nullable = false)
26 protected String name;
27 @Column(name = "DESCR", nullable = false)
28 protected String descr;
29 @Column(name = "DATA_TYPE", nullable = false)
30 protected String dataType;
31 @Column(name="MIN_VALUE")
32 protected String minValue;
33 @Column(name="MAX_VALUE")
34 protected String maxValue;
35 @Column(name="MIN_LENGTH")
36 protected Integer minLength;
37 @Column(name="MAX_LENGTH")
38 protected Integer maxLength;
39 @Column(name="VALID_CHARS")
40 protected String validChars;
41 @Column(name="INVALID_CHARS")
42 protected String invalidChars;
43 @Column(name="MIN_OCCURS")
44 protected Integer minOccurs;
45 @Column(name="MAX_OCCURS")
46 protected Integer maxOccurs;
47 @Column(name="READ_ONLY", nullable = false)
48 protected boolean readOnly = false;
49
50
51
52 public String getName() {
53 return name;
54 }
55
56
57
58 public void setName(String name) {
59 this.name = name;
60 }
61
62
63
64 public String getDescr() {
65 return descr;
66 }
67
68
69
70 public void setDescr(String descr) {
71 this.descr = descr;
72 }
73
74
75
76 public String getDataType() {
77 return dataType;
78 }
79
80
81
82 public void setDataType(String dataType) {
83 this.dataType = dataType;
84 }
85
86
87
88 public String getMinValue() {
89 return minValue;
90 }
91
92
93
94 public void setMinValue(String minValue) {
95 this.minValue = minValue;
96 }
97
98
99
100 public String getMaxValue() {
101 return maxValue;
102 }
103
104
105
106 public void setMaxValue(String maxValue) {
107 this.maxValue = maxValue;
108 }
109
110
111
112 public Integer getMinLength() {
113 return minLength;
114 }
115
116
117
118 public void setMinLength(Integer minLength) {
119 this.minLength = minLength;
120 }
121
122
123
124 public Integer getMaxLength() {
125 return maxLength;
126 }
127
128
129
130 public void setMaxLength(Integer maxLength) {
131 this.maxLength = maxLength;
132 }
133
134
135
136 public String getValidChars() {
137 return validChars;
138 }
139
140
141
142 public void setValidChars(String validChars) {
143 this.validChars = validChars;
144 }
145
146
147
148 public String getInvalidChars() {
149 return invalidChars;
150 }
151
152
153
154 public void setInvalidChars(String invalidChars) {
155 this.invalidChars = invalidChars;
156 }
157
158
159
160 public Integer getMinOccurs() {
161 return minOccurs;
162 }
163
164
165
166 public void setMinOccurs(Integer minOccurs) {
167 this.minOccurs = minOccurs;
168 }
169
170
171
172 public Integer getMaxOccurs() {
173 return maxOccurs;
174 }
175
176
177
178 public void setMaxOccurs(Integer maxOccurs) {
179 this.maxOccurs = maxOccurs;
180 }
181
182
183
184 public boolean isReadOnly() {
185 return readOnly;
186 }
187
188
189
190 public void setReadOnly(boolean readOnly) {
191 this.readOnly = readOnly;
192 }
193 }