001/**
002 * Copyright 2005-2016 The Kuali Foundation
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016package org.kuali.rice.krad.datadictionary;
017
018import java.sql.Date;
019import java.sql.Timestamp;
020
021import org.kuali.rice.core.api.util.type.KualiDecimal;
022import org.kuali.rice.core.api.util.type.KualiPercent;
023
024/**
025 * Object for creating generic attribute definitions in the data dictionary
026 *
027 * @deprecated Should be removed - with Spring, parent attribute definitions do not
028 * need to be bound to a business object.
029 *
030 * @author Kuali Rice Team (rice.collab@kuali.org)
031 */
032@Deprecated
033public class AttributeReference {
034
035    private String oneDigitTextCode;
036    private String twoDigitTextCode;
037    private String genericSystemId;
038    private Date genericDate;
039    private Timestamp genericTimestamp;
040    private boolean genericBoolean;
041    private boolean activeIndicator;
042    private KualiDecimal genericAmount;
043    private String genericBigText;
044    private String emailAddress;
045    private KualiPercent percent;
046    private boolean newCollectionRecord;
047    private String workflowDocumentStatus;
048    private Date createDate;
049    private String initiatorNetworkId;
050    private Date activeFromDate;
051    private Date activeToDate;
052    private Date activeAsOfDate;
053    private boolean current;
054    private String infoTextArea;
055    private String extendedTextArea;
056
057    /**
058     * Constructs a AttributeReference.java.
059     */
060    public AttributeReference() {
061    }
062
063    /**
064     * @return the createDate
065     */
066    public Date getCreateDate() {
067        return this.createDate;
068    }
069
070    /**
071     * @param createDate the createDate to set
072     */
073    public void setCreateDate(Date createDate) {
074        this.createDate = createDate;
075    }
076
077    /**
078     * @return the initiatorNetworkId
079     */
080    public String getInitiatorNetworkId() {
081        return this.initiatorNetworkId;
082    }
083
084    /**
085     * @param initiatorNetworkId the initiatorNetworkId to set
086     */
087    public void setInitiatorNetworkId(String initiatorNetworkId) {
088        this.initiatorNetworkId = initiatorNetworkId;
089    }
090
091    /**
092     * Gets the percent attribute.
093     *
094     * @return Returns the percent.
095     */
096    public KualiPercent getPercent() {
097        return percent;
098    }
099
100    /**
101     * Sets the percent attribute value.
102     *
103     * @param percent The percent to set.
104     */
105    public void setPercent(KualiPercent percent) {
106        this.percent = percent;
107    }
108
109    /**
110     * Gets the genericSystemId attribute.
111     *
112     * @return Returns the genericSystemId.
113     */
114    public String getGenericSystemId() {
115        return genericSystemId;
116    }
117
118    /**
119     * Sets the genericSystemId attribute value.
120     *
121     * @param genericSystemId The genericSystemId to set.
122     */
123    public void setGenericSystemId(String genericSystemId) {
124        this.genericSystemId = genericSystemId;
125    }
126
127    /**
128     * Gets the oneDigitTextCode attribute.
129     *
130     * @return Returns the oneDigitTextCode.
131     */
132    public String getOneDigitTextCode() {
133        return oneDigitTextCode;
134    }
135
136    public Timestamp getGenericTimestamp() {
137        return genericTimestamp;
138    }
139
140    public void setGenericTimestamp(Timestamp genericTimestamp) {
141        this.genericTimestamp = genericTimestamp;
142    }
143
144    /**
145     * Sets the oneDigitTextCode attribute value.
146     *
147     * @param oneDigitTextCode The oneDigitTextCode to set.
148     */
149    public void setOneDigitTextCode(String oneDigitTextCode) {
150        this.oneDigitTextCode = oneDigitTextCode;
151    }
152
153    /**
154     * Gets the twoDigitTextCode attribute.
155     *
156     * @return Returns the twoDigitTextCode.
157     */
158    public String getTwoDigitTextCode() {
159        return twoDigitTextCode;
160    }
161
162    /**
163     * Sets the twoDigitTextCode attribute value.
164     *
165     * @param twoDigitTextCode The twoDigitTextCode to set.
166     */
167    public void setTwoDigitTextCode(String twoDigitTextCode) {
168        this.twoDigitTextCode = twoDigitTextCode;
169    }
170
171    /**
172     * Gets the genericDate attribute.
173     *
174     * @return Returns the genericDate.
175     */
176    public Date getGenericDate() {
177        return genericDate;
178    }
179
180    /**
181     * Sets the genericDate attribute value.
182     *
183     * @param genericDate The genericDate to set.
184     */
185    public void setGenericDate(Date genericDate) {
186        this.genericDate = genericDate;
187    }
188
189    /**
190     * Gets the genericBoolean attribute.
191     *
192     * @return Returns the genericBoolean.
193     */
194    public boolean isGenericBoolean() {
195        return genericBoolean;
196    }
197
198    /**
199     * Sets the genericBoolean attribute value.
200     *
201     * @param genericBoolean The genericBoolean to set.
202     */
203    public void setGenericBoolean(boolean genericBoolean) {
204        this.genericBoolean = genericBoolean;
205    }
206
207    /**
208     * Gets the activeIndicator attribute.
209     *
210     * @return Returns the activeIndicator.
211     */
212    public boolean isActiveIndicator() {
213        return activeIndicator;
214    }
215
216    /**
217     * Sets the activeIndicator attribute value.
218     *
219     * @param activeIndicator The activeIndicator to set.
220     */
221    public void setActiveIndicator(boolean activeIndicator) {
222        this.activeIndicator = activeIndicator;
223    }
224
225    /**
226     * Gets the genericAmount attribute.
227     *
228     * @return Returns the genericAmount.
229     */
230    public KualiDecimal getGenericAmount() {
231        return genericAmount;
232    }
233
234    /**
235     * Sets the genericAmount attribute value.
236     *
237     * @param genericAmount The genericAmount to set.
238     */
239    public void setGenericAmount(KualiDecimal genericAmount) {
240        this.genericAmount = genericAmount;
241    }
242
243    /**
244     * Gets the genericBigText attribute.
245     *
246     * @return Returns the genericBigText.
247     */
248    public String getGenericBigText() {
249        return genericBigText;
250    }
251
252    /**
253     * Sets the genericBigText attribute value.
254     *
255     * @param genericBigText The genericBigText to set.
256     */
257    public void setGenericBigText(String genericBigText) {
258        this.genericBigText = genericBigText;
259    }
260
261    /**
262     * Gets the emailAddress attribute.
263     *
264     * @return Returns the emailAddress.
265     */
266    public String getEmailAddress() {
267        return emailAddress;
268    }
269
270    /**
271     * Sets the emailAddress attribute value.
272     *
273     * @param emailAddress The emailAddress to set.
274     */
275    public void setEmailAddress(String emailAddress) {
276        this.emailAddress = emailAddress;
277    }
278
279    /**
280     * Gets the newCollectionRecord attribute.
281     *
282     * @return Returns the newCollectionRecord.
283     */
284    public boolean isNewCollectionRecord() {
285        return newCollectionRecord;
286    }
287
288    /**
289     * Sets the newCollectionRecord attribute value.
290     *
291     * @param newCollectionRecord The newCollectionRecord to set.
292     */
293    public void setNewCollectionRecord(boolean newCollectionRecord) {
294        this.newCollectionRecord = newCollectionRecord;
295    }
296
297    /**
298     * @return the workflowDocumentStatus
299     */
300    public String getWorkflowDocumentStatus() {
301        return this.workflowDocumentStatus;
302    }
303
304    /**
305     * @param workflowDocumentStatus the workflowDocumentStatus to set
306     */
307    public void setWorkflowDocumentStatus(String workflowDocumentStatus) {
308        this.workflowDocumentStatus = workflowDocumentStatus;
309    }
310
311    public Date getActiveFromDate() {
312        return this.activeFromDate;
313    }
314
315    public void setActiveFromDate(Date activeFromDate) {
316        this.activeFromDate = activeFromDate;
317    }
318
319    public Date getActiveToDate() {
320        return this.activeToDate;
321    }
322
323    public void setActiveToDate(Date activeToDate) {
324        this.activeToDate = activeToDate;
325    }
326
327    public Date getActiveAsOfDate() {
328        return this.activeAsOfDate;
329    }
330
331    public void setActiveAsOfDate(Date activeAsOfDate) {
332        this.activeAsOfDate = activeAsOfDate;
333    }
334
335    public boolean isCurrent() {
336        return this.current;
337    }
338
339    public void setCurrent(boolean current) {
340        this.current = current;
341    }
342
343    /**
344     * Gets the infoTextArea attribute.
345     *
346     * @return Returns the infoTextArea.
347     */
348    public String getInfoTextArea() {
349        return infoTextArea;
350    }
351
352    /**
353     * Sets the infoTextArea attribute value.
354     *
355     * @param infoTextArea The infoTextArea to set.
356     */
357    public void setInfoTextArea(String infoTextArea) {
358        this.infoTextArea = infoTextArea;
359    }
360
361    /**
362     * @return the extendedTextArea
363     */
364    public final String getExtendedTextArea() {
365        return this.extendedTextArea;
366    }
367
368    /**
369     * @param extendedTextArea the extendedTextArea to set
370     */
371    public final void setExtendedTextArea(String extendedTextArea) {
372        this.extendedTextArea = extendedTextArea;
373    }
374}