View Javadoc
1   /**
2    * Copyright 2005-2014 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.rice.krad.datadictionary;
17  
18  import java.sql.Date;
19  import java.sql.Timestamp;
20  
21  import org.kuali.rice.core.api.util.type.KualiDecimal;
22  import org.kuali.rice.core.api.util.type.KualiPercent;
23  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
24  
25  /**
26   * Object for creating generic attribute definitions in the data dictionary
27   *
28   * @deprecated Should be removed - with Spring, parent attribute definitions do not
29   * need to be bound to a business object.
30   *
31   * @author Kuali Rice Team (rice.collab@kuali.org)
32   */
33  @Deprecated
34  public class AttributeReference extends PersistableBusinessObjectBase {
35      private static final long serialVersionUID = 6582568341825342401L;
36  
37      private String oneDigitTextCode;
38      private String twoDigitTextCode;
39      private String genericSystemId;
40      private Date genericDate;
41      private Timestamp genericTimestamp;
42      private boolean genericBoolean;
43      private boolean activeIndicator;
44      private KualiDecimal genericAmount;
45      private String genericBigText;
46      private String emailAddress;
47      private KualiPercent percent;
48      private boolean newCollectionRecord;
49      private String workflowDocumentStatus;
50      private Date createDate;
51      private String initiatorNetworkId;
52      private Date activeFromDate;
53      private Date activeToDate;
54      private Date activeAsOfDate;
55      private boolean current;
56      private String infoTextArea;
57      private String extendedTextArea;
58  
59      /**
60       * Constructs a AttributeReference.java.
61       */
62      public AttributeReference() {
63      }
64  
65      /**
66       * @return the createDate
67       */
68      public Date getCreateDate() {
69          return this.createDate;
70      }
71  
72      /**
73       * @param createDate the createDate to set
74       */
75      public void setCreateDate(Date createDate) {
76          this.createDate = createDate;
77      }
78  
79      /**
80       * @return the initiatorNetworkId
81       */
82      public String getInitiatorNetworkId() {
83          return this.initiatorNetworkId;
84      }
85  
86      /**
87       * @param initiatorNetworkId the initiatorNetworkId to set
88       */
89      public void setInitiatorNetworkId(String initiatorNetworkId) {
90          this.initiatorNetworkId = initiatorNetworkId;
91      }
92  
93      /**
94       * Gets the percent attribute.
95       *
96       * @return Returns the percent.
97       */
98      public KualiPercent getPercent() {
99          return percent;
100     }
101 
102     /**
103      * Sets the percent attribute value.
104      *
105      * @param percent The percent to set.
106      */
107     public void setPercent(KualiPercent percent) {
108         this.percent = percent;
109     }
110 
111     /**
112      * Gets the genericSystemId attribute.
113      *
114      * @return Returns the genericSystemId.
115      */
116     public String getGenericSystemId() {
117         return genericSystemId;
118     }
119 
120     /**
121      * Sets the genericSystemId attribute value.
122      *
123      * @param genericSystemId The genericSystemId to set.
124      */
125     public void setGenericSystemId(String genericSystemId) {
126         this.genericSystemId = genericSystemId;
127     }
128 
129     /**
130      * Gets the oneDigitTextCode attribute.
131      *
132      * @return Returns the oneDigitTextCode.
133      */
134     public String getOneDigitTextCode() {
135         return oneDigitTextCode;
136     }
137 
138     public Timestamp getGenericTimestamp() {
139         return genericTimestamp;
140     }
141 
142     public void setGenericTimestamp(Timestamp genericTimestamp) {
143         this.genericTimestamp = genericTimestamp;
144     }
145 
146     /**
147      * Sets the oneDigitTextCode attribute value.
148      *
149      * @param oneDigitTextCode The oneDigitTextCode to set.
150      */
151     public void setOneDigitTextCode(String oneDigitTextCode) {
152         this.oneDigitTextCode = oneDigitTextCode;
153     }
154 
155     /**
156      * Gets the twoDigitTextCode attribute.
157      *
158      * @return Returns the twoDigitTextCode.
159      */
160     public String getTwoDigitTextCode() {
161         return twoDigitTextCode;
162     }
163 
164     /**
165      * Sets the twoDigitTextCode attribute value.
166      *
167      * @param twoDigitTextCode The twoDigitTextCode to set.
168      */
169     public void setTwoDigitTextCode(String twoDigitTextCode) {
170         this.twoDigitTextCode = twoDigitTextCode;
171     }
172 
173     /**
174      * Gets the genericDate attribute.
175      *
176      * @return Returns the genericDate.
177      */
178     public Date getGenericDate() {
179         return genericDate;
180     }
181 
182     /**
183      * Sets the genericDate attribute value.
184      *
185      * @param genericDate The genericDate to set.
186      */
187     public void setGenericDate(Date genericDate) {
188         this.genericDate = genericDate;
189     }
190 
191     /**
192      * Gets the genericBoolean attribute.
193      *
194      * @return Returns the genericBoolean.
195      */
196     public boolean isGenericBoolean() {
197         return genericBoolean;
198     }
199 
200     /**
201      * Sets the genericBoolean attribute value.
202      *
203      * @param genericBoolean The genericBoolean to set.
204      */
205     public void setGenericBoolean(boolean genericBoolean) {
206         this.genericBoolean = genericBoolean;
207     }
208 
209     /**
210      * Gets the activeIndicator attribute.
211      *
212      * @return Returns the activeIndicator.
213      */
214     public boolean isActiveIndicator() {
215         return activeIndicator;
216     }
217 
218     /**
219      * Sets the activeIndicator attribute value.
220      *
221      * @param activeIndicator The activeIndicator to set.
222      */
223     public void setActiveIndicator(boolean activeIndicator) {
224         this.activeIndicator = activeIndicator;
225     }
226 
227     /**
228      * Gets the genericAmount attribute.
229      *
230      * @return Returns the genericAmount.
231      */
232     public KualiDecimal getGenericAmount() {
233         return genericAmount;
234     }
235 
236     /**
237      * Sets the genericAmount attribute value.
238      *
239      * @param genericAmount The genericAmount to set.
240      */
241     public void setGenericAmount(KualiDecimal genericAmount) {
242         this.genericAmount = genericAmount;
243     }
244 
245     /**
246      * Gets the genericBigText attribute.
247      *
248      * @return Returns the genericBigText.
249      */
250     public String getGenericBigText() {
251         return genericBigText;
252     }
253 
254     /**
255      * Sets the genericBigText attribute value.
256      *
257      * @param genericBigText The genericBigText to set.
258      */
259     public void setGenericBigText(String genericBigText) {
260         this.genericBigText = genericBigText;
261     }
262 
263     /**
264      * Gets the emailAddress attribute.
265      *
266      * @return Returns the emailAddress.
267      */
268     public String getEmailAddress() {
269         return emailAddress;
270     }
271 
272     /**
273      * Sets the emailAddress attribute value.
274      *
275      * @param emailAddress The emailAddress to set.
276      */
277     public void setEmailAddress(String emailAddress) {
278         this.emailAddress = emailAddress;
279     }
280 
281     /**
282      * Gets the newCollectionRecord attribute.
283      *
284      * @return Returns the newCollectionRecord.
285      */
286     @Override
287     public boolean isNewCollectionRecord() {
288         return newCollectionRecord;
289     }
290 
291     /**
292      * Sets the newCollectionRecord attribute value.
293      *
294      * @param newCollectionRecord The newCollectionRecord to set.
295      */
296     @Override
297     public void setNewCollectionRecord(boolean newCollectionRecord) {
298         this.newCollectionRecord = newCollectionRecord;
299     }
300 
301     /**
302      * @return the workflowDocumentStatus
303      */
304     public String getWorkflowDocumentStatus() {
305         return this.workflowDocumentStatus;
306     }
307 
308     /**
309      * @param workflowDocumentStatus the workflowDocumentStatus to set
310      */
311     public void setWorkflowDocumentStatus(String workflowDocumentStatus) {
312         this.workflowDocumentStatus = workflowDocumentStatus;
313     }
314 
315     public Date getActiveFromDate() {
316         return this.activeFromDate;
317     }
318 
319     public void setActiveFromDate(Date activeFromDate) {
320         this.activeFromDate = activeFromDate;
321     }
322 
323     public Date getActiveToDate() {
324         return this.activeToDate;
325     }
326 
327     public void setActiveToDate(Date activeToDate) {
328         this.activeToDate = activeToDate;
329     }
330 
331     public Date getActiveAsOfDate() {
332         return this.activeAsOfDate;
333     }
334 
335     public void setActiveAsOfDate(Date activeAsOfDate) {
336         this.activeAsOfDate = activeAsOfDate;
337     }
338 
339     public boolean isCurrent() {
340         return this.current;
341     }
342 
343     public void setCurrent(boolean current) {
344         this.current = current;
345     }
346 
347     /**
348      * Gets the infoTextArea attribute.
349      *
350      * @return Returns the infoTextArea.
351      */
352     public String getInfoTextArea() {
353         return infoTextArea;
354     }
355 
356     /**
357      * Sets the infoTextArea attribute value.
358      *
359      * @param infoTextArea The infoTextArea to set.
360      */
361     public void setInfoTextArea(String infoTextArea) {
362         this.infoTextArea = infoTextArea;
363     }
364 
365     /**
366      * @return the extendedTextArea
367      */
368     public final String getExtendedTextArea() {
369         return this.extendedTextArea;
370     }
371 
372     /**
373      * @param extendedTextArea the extendedTextArea to set
374      */
375     public final void setExtendedTextArea(String extendedTextArea) {
376         this.extendedTextArea = extendedTextArea;
377     }
378 }