001: /*
002: * Copyright 2005-2007 The Kuali Foundation.
003: *
004: * Licensed under the Educational Community License, Version 1.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/ecl1.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: */
016: package org.kuali.core.bo;
017:
018: import java.sql.Date;
019: import java.sql.Timestamp;
020: import java.util.LinkedHashMap;
021:
022: import org.kuali.core.util.KualiDecimal;
023: import org.kuali.core.util.KualiPercent;
024:
025: /**
026: * Attribute Reference Dummy Business Object
027: */
028: public class AttributeReferenceDummy extends
029: PersistableBusinessObjectBase {
030: private static final long serialVersionUID = 6582568341825342401L;
031: private String oneDigitTextCode;
032: private String twoDigitTextCode;
033: private String genericSystemId;
034: private Date genericDate;
035: private Timestamp genericTimestamp;
036: private boolean genericBoolean;
037: private boolean activeIndicator;
038: private KualiDecimal genericAmount;
039: private String genericBigText;
040: private String emailAddress;
041: private Integer transactionEntrySequenceId;
042: private String universityFiscalAccountingPeriod;
043: private Integer genericFiscalYear;
044: private String documentExplanation;
045: private Date createDate;
046: private String initiatorNetworkId;
047: private KualiPercent percent;
048: private String maxDollarAmount;
049: private String minDollarAmount;
050: private String totalDollarAmount;
051: private boolean newCollectionRecord;
052:
053: public String getMinDollarAmount() {
054: return minDollarAmount;
055: }
056:
057: public void setMinDollarAmount(String minDollarAmount) {
058: this .minDollarAmount = minDollarAmount;
059: }
060:
061: public String getTotalDollarAmount() {
062: return totalDollarAmount;
063: }
064:
065: public void setTotalDollarAmount(String totalDollarAmount) {
066: this .totalDollarAmount = totalDollarAmount;
067: }
068:
069: public String getMaxDollarAmount() {
070: return maxDollarAmount;
071: }
072:
073: public void setMaxDollarAmount(String maxDollarAmount) {
074: this .maxDollarAmount = maxDollarAmount;
075: }
076:
077: /**
078: *
079: * Constructs a AttributeReferenceDummy.java.
080: *
081: */
082: public AttributeReferenceDummy() {
083: }
084:
085: /**
086: * Gets the percent attribute.
087: *
088: * @return Returns the percent.
089: */
090: public KualiPercent getPercent() {
091: return percent;
092: }
093:
094: /**
095: * Sets the percent attribute value.
096: *
097: * @param percent The percent to set.
098: */
099: public void setPercent(KualiPercent percent) {
100: this .percent = percent;
101: }
102:
103: /**
104: * Gets the genericSystemId attribute.
105: *
106: * @return Returns the genericSystemId.
107: */
108: public String getGenericSystemId() {
109: return genericSystemId;
110: }
111:
112: /**
113: * Sets the genericSystemId attribute value.
114: *
115: * @param genericSystemId The genericSystemId to set.
116: */
117: public void setGenericSystemId(String genericSystemId) {
118: this .genericSystemId = genericSystemId;
119: }
120:
121: /**
122: * Gets the oneDigitTextCode attribute.
123: *
124: * @return Returns the oneDigitTextCode.
125: */
126: public String getOneDigitTextCode() {
127: return oneDigitTextCode;
128: }
129:
130: public Timestamp getGenericTimestamp() {
131: return genericTimestamp;
132: }
133:
134: public void setGenericTimestamp(Timestamp genericTimestamp) {
135: this .genericTimestamp = genericTimestamp;
136: }
137:
138: /**
139: * Sets the oneDigitTextCode attribute value.
140: *
141: * @param oneDigitTextCode The oneDigitTextCode to set.
142: */
143: public void setOneDigitTextCode(String oneDigitTextCode) {
144: this .oneDigitTextCode = oneDigitTextCode;
145: }
146:
147: /**
148: * Gets the twoDigitTextCode attribute.
149: *
150: * @return Returns the twoDigitTextCode.
151: */
152: public String getTwoDigitTextCode() {
153: return twoDigitTextCode;
154: }
155:
156: /**
157: * Sets the twoDigitTextCode attribute value.
158: *
159: * @param twoDigitTextCode The twoDigitTextCode to set.
160: */
161: public void setTwoDigitTextCode(String twoDigitTextCode) {
162: this .twoDigitTextCode = twoDigitTextCode;
163: }
164:
165: /**
166: * Gets the genericDate attribute.
167: *
168: * @return Returns the genericDate.
169: */
170: public Date getGenericDate() {
171: return genericDate;
172: }
173:
174: /**
175: * Sets the genericDate attribute value.
176: *
177: * @param genericDate The genericDate to set.
178: */
179: public void setGenericDate(Date genericDate) {
180: this .genericDate = genericDate;
181: }
182:
183: /**
184: * Gets the genericBoolean attribute.
185: *
186: * @return Returns the genericBoolean.
187: */
188: public boolean isGenericBoolean() {
189: return genericBoolean;
190: }
191:
192: /**
193: * Sets the genericBoolean attribute value.
194: *
195: * @param genericBoolean The genericBoolean to set.
196: */
197: public void setGenericBoolean(boolean genericBoolean) {
198: this .genericBoolean = genericBoolean;
199: }
200:
201: /**
202: * Gets the activeIndicator attribute.
203: *
204: * @return Returns the activeIndicator.
205: */
206: public boolean isActiveIndicator() {
207: return activeIndicator;
208: }
209:
210: /**
211: * Sets the activeIndicator attribute value.
212: *
213: * @param activeIndicator The activeIndicator to set.
214: */
215: public void setActiveIndicator(boolean activeIndicator) {
216: this .activeIndicator = activeIndicator;
217: }
218:
219: /**
220: * Gets the genericAmount attribute.
221: *
222: * @return Returns the genericAmount.
223: */
224: public KualiDecimal getGenericAmount() {
225: return genericAmount;
226: }
227:
228: /**
229: * Sets the genericAmount attribute value.
230: *
231: * @param genericAmount The genericAmount to set.
232: */
233: public void setGenericAmount(KualiDecimal genericAmount) {
234: this .genericAmount = genericAmount;
235: }
236:
237: /**
238: * Gets the genericBigText attribute.
239: *
240: * @return Returns the genericBigText.
241: */
242: public String getGenericBigText() {
243: return genericBigText;
244: }
245:
246: /**
247: * Sets the genericBigText attribute value.
248: *
249: * @param genericBigText The genericBigText to set.
250: */
251: public void setGenericBigText(String genericBigText) {
252: this .genericBigText = genericBigText;
253: }
254:
255: /**
256: * Gets the emailAddress attribute.
257: *
258: * @return Returns the emailAddress.
259: */
260: public String getEmailAddress() {
261: return emailAddress;
262: }
263:
264: /**
265: * Sets the emailAddress attribute value.
266: *
267: * @param emailAddress The emailAddress to set.
268: */
269: public void setEmailAddress(String emailAddress) {
270: this .emailAddress = emailAddress;
271: }
272:
273: /**
274: * @return Integer
275: */
276: public Integer getTransactionEntrySequenceId() {
277: return transactionEntrySequenceId;
278: }
279:
280: /**
281: * @param transactionEntrySequenceId
282: */
283: public void setTransactionEntrySequenceId(
284: Integer transactionEntrySequenceId) {
285: this .transactionEntrySequenceId = transactionEntrySequenceId;
286: }
287:
288: /**
289: * @return String
290: */
291: public String getUniversityFiscalAccountingPeriod() {
292: return universityFiscalAccountingPeriod;
293: }
294:
295: /**
296: * @param universityFiscalAccountingPeriod
297: */
298: public void setUniversityFiscalAccountingPeriod(
299: String universityFiscalAccountingPeriod) {
300: this .universityFiscalAccountingPeriod = universityFiscalAccountingPeriod;
301: }
302:
303: /**
304: * @return Integer
305: */
306: public Integer getGenericFiscalYear() {
307: return genericFiscalYear;
308: }
309:
310: /**
311: * @param universityFiscalYear
312: */
313: public void setGenericFiscalYear(Integer universityFiscalYear) {
314: this .genericFiscalYear = universityFiscalYear;
315: }
316:
317: /**
318: * Gets the documentExplanation attribute.
319: *
320: * @return Returns the documentExplanation.
321: */
322: public String getDocumentExplanation() {
323: return documentExplanation;
324: }
325:
326: /**
327: * Sets the documentExplanation attribute value.
328: *
329: * @param documentExplanation The documentExplanation to set.
330: */
331: public void setDocumentExplanation(String documentExplanation) {
332: this .documentExplanation = documentExplanation;
333: }
334:
335: /**
336: * Gets the createDate attribute.
337: *
338: * @return Returns the createDate.
339: */
340: public Date getCreateDate() {
341: return createDate;
342: }
343:
344: /**
345: * Sets the createDate attribute value.
346: *
347: * @param createDate The createDate to set.
348: */
349: public void setCreateDate(Date createDate) {
350: this .createDate = createDate;
351: }
352:
353: /**
354: * Gets the initiatorNetworkId attribute.
355: *
356: * @return Returns the initiatorNetworkId.
357: */
358: public String getInitiatorNetworkId() {
359: return initiatorNetworkId;
360: }
361:
362: /**
363: * Sets the initiatorNetworkId attribute value.
364: *
365: * @param initiatorNetworkId The initiatorNetworkId to set.
366: */
367: public void setInitiatorNetworkId(String initiatorNetworkId) {
368: this .initiatorNetworkId = initiatorNetworkId;
369: }
370:
371: /**
372: * Gets the newCollectionRecord attribute.
373: * @return Returns the newCollectionRecord.
374: */
375: public boolean isNewCollectionRecord() {
376: return newCollectionRecord;
377: }
378:
379: /**
380: * Sets the newCollectionRecord attribute value.
381: * @param newCollectionRecord The newCollectionRecord to set.
382: */
383: public void setNewCollectionRecord(boolean newCollectionRecord) {
384: this .newCollectionRecord = newCollectionRecord;
385: }
386:
387: /**
388: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
389: */
390: protected LinkedHashMap toStringMapper() {
391: LinkedHashMap m = new LinkedHashMap();
392:
393: m.put("hashCode", Integer.toHexString(hashCode()));
394:
395: return m;
396: }
397: }
|