View Javadoc
1   /**
2    * Copyright 2005-2015 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  
24  /**
25   * Object for creating generic attribute definitions in the data dictionary
26   *
27   * @deprecated Should be removed - with Spring, parent attribute definitions do not
28   * need to be bound to a business object.
29   *
30   * @author Kuali Rice Team (rice.collab@kuali.org)
31   */
32  @Deprecated
33  public class AttributeReference {
34  
35      private String oneDigitTextCode;
36      private String twoDigitTextCode;
37      private String genericSystemId;
38      private Date genericDate;
39      private Timestamp genericTimestamp;
40      private boolean genericBoolean;
41      private boolean activeIndicator;
42      private KualiDecimal genericAmount;
43      private String genericBigText;
44      private String emailAddress;
45      private KualiPercent percent;
46      private boolean newCollectionRecord;
47      private String workflowDocumentStatus;
48      private Date createDate;
49      private String initiatorNetworkId;
50      private Date activeFromDate;
51      private Date activeToDate;
52      private Date activeAsOfDate;
53      private boolean current;
54      private String infoTextArea;
55      private String extendedTextArea;
56  
57      /**
58       * Constructs a AttributeReference.java.
59       */
60      public AttributeReference() {
61      }
62  
63      /**
64       * @return the createDate
65       */
66      public Date getCreateDate() {
67          return this.createDate;
68      }
69  
70      /**
71       * @param createDate the createDate to set
72       */
73      public void setCreateDate(Date createDate) {
74          this.createDate = createDate;
75      }
76  
77      /**
78       * @return the initiatorNetworkId
79       */
80      public String getInitiatorNetworkId() {
81          return this.initiatorNetworkId;
82      }
83  
84      /**
85       * @param initiatorNetworkId the initiatorNetworkId to set
86       */
87      public void setInitiatorNetworkId(String initiatorNetworkId) {
88          this.initiatorNetworkId = initiatorNetworkId;
89      }
90  
91      /**
92       * Gets the percent attribute.
93       *
94       * @return Returns the percent.
95       */
96      public KualiPercent getPercent() {
97          return percent;
98      }
99  
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 }