View Javadoc

1   /*
2    * Copyright 2005-2007 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.kns.bo;
17  
18  
19  import java.sql.Date;
20  import java.sql.Timestamp;
21  import java.util.LinkedHashMap;
22  
23  import org.kuali.rice.kns.util.KualiDecimal;
24  import org.kuali.rice.kns.util.KualiPercent;
25  
26  
27  /**
28   * Attribute Reference Dummy Business Object
29   */
30  public class AttributeReferenceDummy extends PersistableBusinessObjectBase {
31      private static final long serialVersionUID = 6582568341825342401L;
32      private String oneDigitTextCode;
33      private String twoDigitTextCode;
34      private String genericSystemId;
35      private Date genericDate;
36      private Timestamp genericTimestamp;
37      private boolean genericBoolean;
38      private boolean activeIndicator;
39      private KualiDecimal genericAmount;
40      private String genericBigText;
41      private String emailAddress;
42      private KualiPercent percent;
43      private boolean newCollectionRecord;
44      private String workflowDocumentStatus;
45      private Date createDate;
46      private String initiatorNetworkId;
47      private Date activeFromDate;
48      private Date activeToDate;
49      private Date activeAsOfDate;
50      private boolean current;
51  
52      /**
53       * 
54       * Constructs a AttributeReferenceDummy.java.
55       * 
56       */
57      public AttributeReferenceDummy() {
58      }
59  
60      /**
61       * @return the createDate
62       */
63      public Date getCreateDate() {
64          return this.createDate;
65      }
66  
67      /**
68       * @param createDate the createDate to set
69       */
70      public void setCreateDate(Date createDate) {
71          this.createDate = createDate;
72      }
73  
74      /**
75       * @return the initiatorNetworkId
76       */
77      public String getInitiatorNetworkId() {
78          return this.initiatorNetworkId;
79      }
80  
81      /**
82       * @param initiatorNetworkId the initiatorNetworkId to set
83       */
84      public void setInitiatorNetworkId(String initiatorNetworkId) {
85          this.initiatorNetworkId = initiatorNetworkId;
86      }
87  
88      /**
89       * Gets the percent attribute.
90       * 
91       * @return Returns the percent.
92       */
93      public KualiPercent getPercent() {
94          return percent;
95      }
96  
97      /**
98       * Sets the percent attribute value.
99       * 
100      * @param percent The percent to set.
101      */
102     public void setPercent(KualiPercent percent) {
103         this.percent = percent;
104     }
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      * @return Returns the newCollectionRecord.
280      */
281     public boolean isNewCollectionRecord() {
282         return newCollectionRecord;
283     }
284 
285     /**
286      * Sets the newCollectionRecord attribute value.
287      * @param newCollectionRecord The newCollectionRecord to set.
288      */
289     public void setNewCollectionRecord(boolean newCollectionRecord) {
290         this.newCollectionRecord = newCollectionRecord;
291     }
292 
293     /**
294      * @return the workflowDocumentStatus
295      */
296     public String getWorkflowDocumentStatus() {
297         return this.workflowDocumentStatus;
298     }
299 
300     /**
301      * @param workflowDocumentStatus the workflowDocumentStatus to set
302      */
303     public void setWorkflowDocumentStatus(String workflowDocumentStatus) {
304         this.workflowDocumentStatus = workflowDocumentStatus;
305     }
306     
307     public Date getActiveFromDate() {
308 		return this.activeFromDate;
309 	}
310 
311 	public void setActiveFromDate(Date activeFromDate) {
312 		this.activeFromDate = activeFromDate;
313 	}
314 
315 	public Date getActiveToDate() {
316 		return this.activeToDate;
317 	}
318 
319 	public void setActiveToDate(Date activeToDate) {
320 		this.activeToDate = activeToDate;
321 	}
322 
323 	public Date getActiveAsOfDate() {
324 		return this.activeAsOfDate;
325 	}
326 
327 	public void setActiveAsOfDate(Date activeAsOfDate) {
328 		this.activeAsOfDate = activeAsOfDate;
329 	}
330 	
331 	public boolean isCurrent() {
332 		return this.current;
333 	}
334 
335 	public void setCurrent(boolean current) {
336 		this.current = current;
337 	}
338 
339 	/**
340      * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
341      */
342     protected LinkedHashMap toStringMapper() {
343         LinkedHashMap m = new LinkedHashMap();
344 
345         m.put("hashCode", Integer.toHexString(hashCode()));
346 
347         return m;
348     }
349 }