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