Source Code Cross Referenced for CollectorDetail.java in  » ERP-CRM-Financial » Kuali-Financial-System » org » kuali » module » gl » bo » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » Kuali Financial System » org.kuali.module.gl.bo 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Copyright 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:
017:        package org.kuali.module.gl.bo;
018:
019:        import java.sql.Date;
020:        import java.util.LinkedHashMap;
021:
022:        import org.kuali.core.bo.PersistableBusinessObjectBase;
023:        import org.kuali.core.util.KualiDecimal;
024:        import org.kuali.kfs.KFSConstants;
025:        import org.kuali.kfs.KFSPropertyConstants;
026:        import org.kuali.module.chart.bo.Account;
027:        import org.kuali.module.chart.bo.Chart;
028:        import org.kuali.module.chart.bo.ObjectCode;
029:        import org.kuali.module.chart.bo.ObjectType;
030:        import org.kuali.module.chart.bo.codes.BalanceTyp;
031:
032:        /**
033:         * CollectorDetail Business Object.
034:         */
035:        public class CollectorDetail extends PersistableBusinessObjectBase {
036:
037:            private String universityFiscalPeriodCode;
038:            private Integer universityFiscalYear;
039:            private Date createDate;
040:            private String createSequence;
041:            private String chartOfAccountsCode;
042:            private String accountNumber;
043:            private String subAccountNumber;
044:            private String financialObjectCode;
045:            private String financialSubObjectCode;
046:            private String financialBalanceTypeCode;
047:            private String financialObjectTypeCode;
048:            private String collectorDetailSequenceNumber;
049:            private String financialDocumentTypeCode;
050:            private String financialSystemOriginationCode;
051:            private String documentNumber;
052:            private KualiDecimal collectorDetailItemAmount;
053:            private String collectorDetailNoteText;
054:
055:            private ObjectCode financialObject;
056:            private Account account;
057:            private Chart chartOfAccounts;
058:            private ObjectType objectType;
059:            private BalanceTyp balanceType;
060:
061:            /**
062:             * Default constructor.
063:             */
064:            public CollectorDetail() {
065:                setSubAccountNumber(KFSConstants.getDashSubAccountNumber());
066:                setFinancialSubObjectCode(KFSConstants
067:                        .getDashFinancialSubObjectCode());
068:            }
069:
070:            /**
071:             * Gets the universityFiscalPeriodCode attribute.
072:             * 
073:             * @return Returns the universityFiscalPeriodCode
074:             */
075:            public String getUniversityFiscalPeriodCode() {
076:                return universityFiscalPeriodCode;
077:            }
078:
079:            /**
080:             * Sets the universityFiscalPeriodCode attribute.
081:             * 
082:             * @param universityFiscalPeriodCode The universityFiscalPeriodCode to set.
083:             */
084:            public void setUniversityFiscalPeriodCode(
085:                    String universityFiscalPeriodCode) {
086:                this .universityFiscalPeriodCode = universityFiscalPeriodCode;
087:            }
088:
089:            /**
090:             * Gets the universityFiscalYear attribute.
091:             * 
092:             * @return Returns the universityFiscalYear
093:             */
094:            public Integer getUniversityFiscalYear() {
095:                return universityFiscalYear;
096:            }
097:
098:            /**
099:             * Sets the universityFiscalYear attribute.
100:             * 
101:             * @param universityFiscalYear The universityFiscalYear to set.
102:             */
103:            public void setUniversityFiscalYear(Integer universityFiscalYear) {
104:                this .universityFiscalYear = universityFiscalYear;
105:            }
106:
107:            /**
108:             * Gets the createDate attribute.
109:             * 
110:             * @return Returns the createDate
111:             */
112:            public Date getCreateDate() {
113:                return createDate;
114:            }
115:
116:            /**
117:             * Sets the createDate attribute.
118:             * 
119:             * @param createDate The createDate to set.
120:             */
121:            public void setCreateDate(Date createDate) {
122:                this .createDate = createDate;
123:            }
124:
125:            /**
126:             * Gets the createSequence attribute.
127:             * 
128:             * @return Returns the createSequence
129:             */
130:            public String getCreateSequence() {
131:                return createSequence;
132:            }
133:
134:            /**
135:             * Sets the createSequence attribute.
136:             * 
137:             * @param createSequence The createSequence to set.
138:             */
139:            public void setCreateSequence(String createSequence) {
140:                this .createSequence = createSequence;
141:            }
142:
143:            /**
144:             * Gets the chartOfAccountsCode attribute.
145:             * 
146:             * @return Returns the chartOfAccountsCode
147:             */
148:            public String getChartOfAccountsCode() {
149:                return chartOfAccountsCode;
150:            }
151:
152:            /**
153:             * Sets the chartOfAccountsCode attribute.
154:             * 
155:             * @param chartOfAccountsCode The chartOfAccountsCode to set.
156:             */
157:            public void setChartOfAccountsCode(String chartOfAccountsCode) {
158:                this .chartOfAccountsCode = chartOfAccountsCode;
159:            }
160:
161:            /**
162:             * Gets the accountNumber attribute.
163:             * 
164:             * @return Returns the accountNumber
165:             */
166:            public String getAccountNumber() {
167:                return accountNumber;
168:            }
169:
170:            /**
171:             * Sets the accountNumber attribute.
172:             * 
173:             * @param accountNumber The accountNumber to set.
174:             */
175:            public void setAccountNumber(String accountNumber) {
176:                this .accountNumber = accountNumber;
177:            }
178:
179:            /**
180:             * Gets the subAccountNumber attribute.
181:             * 
182:             * @return Returns the subAccountNumber
183:             */
184:            public String getSubAccountNumber() {
185:                return subAccountNumber;
186:            }
187:
188:            /**
189:             * Sets the subAccountNumber attribute.
190:             * 
191:             * @param subAccountNumber The subAccountNumber to set.
192:             */
193:            public void setSubAccountNumber(String subAccountNumber) {
194:                this .subAccountNumber = subAccountNumber;
195:            }
196:
197:            /**
198:             * Gets the financialObjectCode attribute.
199:             * 
200:             * @return Returns the financialObjectCode
201:             */
202:            public String getFinancialObjectCode() {
203:                return financialObjectCode;
204:            }
205:
206:            /**
207:             * Sets the financialObjectCode attribute.
208:             * 
209:             * @param financialObjectCode The financialObjectCode to set.
210:             */
211:            public void setFinancialObjectCode(String financialObjectCode) {
212:                this .financialObjectCode = financialObjectCode;
213:            }
214:
215:            /**
216:             * Gets the financialSubObjectCode attribute.
217:             * 
218:             * @return Returns the financialSubObjectCode
219:             */
220:            public String getFinancialSubObjectCode() {
221:                return financialSubObjectCode;
222:            }
223:
224:            /**
225:             * Sets the financialSubObjectCode attribute.
226:             * 
227:             * @param financialSubObjectCode The financialSubObjectCode to set.
228:             */
229:            public void setFinancialSubObjectCode(String financialSubObjectCode) {
230:                this .financialSubObjectCode = financialSubObjectCode;
231:            }
232:
233:            /**
234:             * Gets the collectorDetailSequenceNumber attribute.
235:             * 
236:             * @return Returns the collectorDetailSequenceNumber
237:             */
238:            public String getCollectorDetailSequenceNumber() {
239:                return collectorDetailSequenceNumber;
240:            }
241:
242:            /**
243:             * Sets the collectorDetailSequenceNumber attribute.
244:             * 
245:             * @param collectorDetailSequenceNumber The collectorDetailSequenceNumber to set.
246:             */
247:            public void setCollectorDetailSequenceNumber(
248:                    String collectorDetailSequenceNumber) {
249:                this .collectorDetailSequenceNumber = collectorDetailSequenceNumber;
250:            }
251:
252:            /**
253:             * Gets the financialDocumentTypeCode attribute.
254:             * 
255:             * @return Returns the financialDocumentTypeCode
256:             */
257:            public String getFinancialDocumentTypeCode() {
258:                return financialDocumentTypeCode;
259:            }
260:
261:            /**
262:             * Sets the financialDocumentTypeCode attribute.
263:             * 
264:             * @param financialDocumentTypeCode The financialDocumentTypeCode to set.
265:             */
266:            public void setFinancialDocumentTypeCode(
267:                    String financialDocumentTypeCode) {
268:                this .financialDocumentTypeCode = financialDocumentTypeCode;
269:            }
270:
271:            /**
272:             * Gets the financialSystemOriginationCode attribute.
273:             * 
274:             * @return Returns the financialSystemOriginationCode
275:             */
276:            public String getFinancialSystemOriginationCode() {
277:                return financialSystemOriginationCode;
278:            }
279:
280:            /**
281:             * Sets the financialSystemOriginationCode attribute.
282:             * 
283:             * @param financialSystemOriginationCode The financialSystemOriginationCode to set.
284:             */
285:            public void setFinancialSystemOriginationCode(
286:                    String financialSystemOriginationCode) {
287:                this .financialSystemOriginationCode = financialSystemOriginationCode;
288:            }
289:
290:            /**
291:             * Gets the documentNumber attribute.
292:             * 
293:             * @return Returns the documentNumber
294:             */
295:            public String getDocumentNumber() {
296:                return documentNumber;
297:            }
298:
299:            /**
300:             * Sets the documentNumber attribute.
301:             * 
302:             * @param documentNumber The documentNumber to set.
303:             */
304:            public void setDocumentNumber(String documentNumber) {
305:                this .documentNumber = documentNumber;
306:            }
307:
308:            /**
309:             * Gets the collectorDetailItemAmount attribute.
310:             * 
311:             * @return Returns the collectorDetailItemAmount
312:             */
313:            public KualiDecimal getCollectorDetailItemAmount() {
314:                return collectorDetailItemAmount;
315:            }
316:
317:            /**
318:             * Sets the collectorDetailItemAmount attribute.
319:             * 
320:             * @param collectorDetailItemAmount The collectorDetailItemAmount to set.
321:             */
322:            public void setCollectorDetailItemAmount(
323:                    KualiDecimal collectorDetailItemAmount) {
324:                this .collectorDetailItemAmount = collectorDetailItemAmount;
325:            }
326:
327:            public void setCollectorDetailItemAmount(
328:                    String collectorDetailItemAmount) {
329:                this .collectorDetailItemAmount = new KualiDecimal(
330:                        collectorDetailItemAmount);
331:            }
332:
333:            public void clearcollectorDetailItemAmount() {
334:                this .collectorDetailItemAmount = null;
335:            }
336:
337:            /**
338:             * Gets the collectorDetailNoteText attribute.
339:             * 
340:             * @return Returns the collectorDetailNoteText
341:             */
342:            public String getCollectorDetailNoteText() {
343:                return collectorDetailNoteText;
344:            }
345:
346:            /**
347:             * Sets the collectorDetailNoteText attribute.
348:             * 
349:             * @param collectorDetailNoteText The collectorDetailNoteText to set.
350:             */
351:            public void setCollectorDetailNoteText(
352:                    String collectorDetailNoteText) {
353:                this .collectorDetailNoteText = collectorDetailNoteText;
354:            }
355:
356:            /**
357:             * Gets the financialObject attribute.
358:             * 
359:             * @return Returns the financialObject
360:             */
361:            public ObjectCode getFinancialObject() {
362:                return financialObject;
363:            }
364:
365:            /**
366:             * Sets the financialObject attribute.
367:             * 
368:             * @param financialObject The financialObject to set.
369:             * @deprecated
370:             */
371:            public void setFinancialObject(ObjectCode financialObject) {
372:                this .financialObject = financialObject;
373:            }
374:
375:            /**
376:             * Gets the account attribute.
377:             * 
378:             * @return Returns the account
379:             */
380:            public Account getAccount() {
381:                return account;
382:            }
383:
384:            /**
385:             * Sets the account attribute.
386:             * 
387:             * @param account The account to set.
388:             * @deprecated
389:             */
390:            public void setAccount(Account account) {
391:                this .account = account;
392:            }
393:
394:            /**
395:             * Gets the chartOfAccounts attribute.
396:             * 
397:             * @return Returns the chartOfAccounts
398:             */
399:            public Chart getChartOfAccounts() {
400:                return chartOfAccounts;
401:            }
402:
403:            /**
404:             * Sets the chartOfAccounts attribute.
405:             * 
406:             * @param chartOfAccounts The chartOfAccounts to set.
407:             * @deprecated
408:             */
409:            public void setChartOfAccounts(Chart chartOfAccounts) {
410:                this .chartOfAccounts = chartOfAccounts;
411:            }
412:
413:            /**
414:             * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
415:             */
416:            protected LinkedHashMap toStringMapper() {
417:                LinkedHashMap m = new LinkedHashMap();
418:                m.put("universityFiscalPeriodCode",
419:                        getUniversityFiscalPeriodCode());
420:                if (getUniversityFiscalYear() != null) {
421:                    m.put("universityFiscalYear", getUniversityFiscalYear()
422:                            .toString());
423:                }
424:                if (getCreateDate() != null) {
425:                    m.put("createDate", getCreateDate().toString());
426:                }
427:                m.put("createSequence", getCreateSequence());
428:                m.put("chartOfAccountsCode", getChartOfAccountsCode());
429:                m.put("accountNumber", getAccountNumber());
430:                m.put("subAccountNumber", getSubAccountNumber());
431:                m.put("financialObjectCode", getFinancialObjectCode());
432:                m.put("financialSubObjectCode", getFinancialSubObjectCode());
433:                m.put("collectorDetailSequenceNumber",
434:                        getCollectorDetailSequenceNumber());
435:                m.put("financialDocumentTypeCode",
436:                        getFinancialDocumentTypeCode());
437:                m
438:                        .put(KFSPropertyConstants.DOCUMENT_NUMBER,
439:                                getDocumentNumber());
440:                return m;
441:            }
442:
443:            /**
444:             * Gets the balanceTyp attribute.
445:             * 
446:             * @return Returns the balanceTyp.
447:             */
448:            public BalanceTyp getBalanceType() {
449:                return balanceType;
450:            }
451:
452:            /**
453:             * Sets the balanceTyp attribute value.
454:             * 
455:             * @param balanceTyp The balanceTyp to set.
456:             */
457:            public void setBalanceType(BalanceTyp balanceTyp) {
458:                this .balanceType = balanceTyp;
459:            }
460:
461:            /**
462:             * Gets the financialBalanceTypeCode attribute.
463:             * 
464:             * @return Returns the financialBalanceTypeCode.
465:             */
466:            public String getFinancialBalanceTypeCode() {
467:                return financialBalanceTypeCode;
468:            }
469:
470:            /**
471:             * Sets the financialBalanceTypeCode attribute value.
472:             * 
473:             * @param financialBalanceTypeCode The financialBalanceTypeCode to set.
474:             */
475:            public void setFinancialBalanceTypeCode(
476:                    String financialBalanceTypeCode) {
477:                this .financialBalanceTypeCode = financialBalanceTypeCode;
478:            }
479:
480:            /**
481:             * Gets the financialObjectTypeCode attribute.
482:             * 
483:             * @return Returns the financialObjectTypeCode.
484:             */
485:            public String getFinancialObjectTypeCode() {
486:                return financialObjectTypeCode;
487:            }
488:
489:            /**
490:             * Sets the financialObjectTypeCode attribute value.
491:             * 
492:             * @param financialObjectTypeCode The financialObjectTypeCode to set.
493:             */
494:            public void setFinancialObjectTypeCode(
495:                    String financialObjectTypeCode) {
496:                this .financialObjectTypeCode = financialObjectTypeCode;
497:            }
498:
499:            /**
500:             * Gets the objectType attribute.
501:             * 
502:             * @return Returns the objectType.
503:             */
504:            public ObjectType getObjectType() {
505:                return objectType;
506:            }
507:
508:            /**
509:             * Sets the objectType attribute value.
510:             * 
511:             * @param objectType The objectType to set.
512:             */
513:            public void setObjectType(ObjectType objectType) {
514:                this.objectType = objectType;
515:            }
516:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.