Source Code Cross Referenced for PaymentGroupHistory.java in  » ERP-CRM-Financial » Kuali-Financial-System » org » kuali » module » pdp » 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.pdp.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:         * Created on Jul 12, 2004
018:         *
019:         */
020:        package org.kuali.module.pdp.bo;
021:
022:        import java.io.Serializable;
023:        import java.sql.Timestamp;
024:        import java.util.Date;
025:
026:        import org.apache.commons.lang.builder.EqualsBuilder;
027:        import org.apache.commons.lang.builder.HashCodeBuilder;
028:        import org.apache.commons.lang.builder.ToStringBuilder;
029:        import org.apache.ojb.broker.PersistenceBroker;
030:        import org.apache.ojb.broker.PersistenceBrokerAware;
031:        import org.apache.ojb.broker.PersistenceBrokerException;
032:        import org.kuali.core.bo.user.UniversalUser;
033:        import org.kuali.core.exceptions.UserNotFoundException;
034:        import org.kuali.core.service.UniversalUserService;
035:
036:        /**
037:         * @author delyea
038:         * @hibernate.class table="PDP.PDP_PMT_GRP_HIST_T"
039:         */
040:
041:        public class PaymentGroupHistory implements  UserRequired, Serializable,
042:                PersistenceBrokerAware {
043:
044:            private Integer id; // PMT_GRP_HIST_ID
045:
046:            private String changeNoteText; // PMT_CHG_NTE_TXT VARCHAR2 250
047:            private PdpUser changeUser;
048:            private String changeUserId; // PMT_CHG_USR_ID VARCHAR2 8
049:            private Timestamp changeTime; // PMT_CHG_TS DATE 7
050:            private Timestamp origPaymentDate; // ORIG_PMT_DT DATE 7
051:            private String origAchBankRouteNbr; // ORIG_ACH_BNK_RTNG_NBR VARCHAR2 17 0
052:            private String origAdviceEmail; // ORIG_ADV_EMAIL_ADDR VARCHAR2 50
053:            private Integer origDisburseNbr; // ORIG_DISB_NBR NUMBER 9 0
054:            private Timestamp origDisburseDate; // ORIG_DISB_TS DATE 7
055:            private Boolean origProcessImmediate; // ORIG_PROC_IMD_IND VARCHAR2 1
056:            private Boolean origPmtSpecHandling; // ORIG_PMT_SPCL_HANDLG_IND VARCHAR2 1
057:            private Boolean pmtCancelExtractStat; // PMT_CNCL_EXTRT_STAT_IND VARCHAR2 1
058:            private Timestamp pmtCancelExtractDate; // PMT_CNCL_EXTRT_TS
059:            private Timestamp lastUpdate;
060:            private Integer version; // VER_NBR
061:
062:            private String disbursementTypeCode;
063:            private DisbursementType disbursementType;
064:
065:            private Integer bankId;
066:            private Bank bank;
067:
068:            private String paymentStatusCode;
069:            private PaymentStatus origPaymentStatus; // ORIG_PMT_STAT_CD VARCHAR2 4
070:
071:            private Integer processId;
072:            private PaymentProcess paymentProcess;
073:
074:            private String paymentChangeCode;
075:            private PaymentChange paymentChange; // PMT_CHG_CD VARCHAR2 4
076:
077:            private Integer paymentGroupId;
078:            private PaymentGroup paymentGroup; // PMT_GRP_ID
079:
080:            public PaymentGroupHistory() {
081:                super ();
082:            }
083:
084:            /**
085:             * @hibernate.id column="PMT_GRP_HIST_ID" generator-class="sequence"
086:             * @hibernate.generator-param name="sequence" value="PDP.PDP_PMT_GRP_HIST_ID_SEQ"
087:             * @return
088:             */
089:            public Integer getId() {
090:                return id;
091:            }
092:
093:            /**
094:             * @return
095:             * @hibernate.version column="VER_NBR" not-null="true"
096:             */
097:            public Integer getVersion() {
098:                return version;
099:            }
100:
101:            /**
102:             * @hibernate.many-to-one column="PMT_GRP_ID" class="edu.iu.uis.pdp.bo.PaymentGroup"
103:             * @return Returns the paymentGroup.
104:             */
105:            public PaymentGroup getPaymentGroup() {
106:                return paymentGroup;
107:            }
108:
109:            /**
110:             * @return
111:             * @hibernate.property column="PMT_CNCL_EXTRT_TS"
112:             */
113:            public Timestamp getPmtCancelExtractDate() {
114:                return pmtCancelExtractDate;
115:            }
116:
117:            /**
118:             * @return
119:             * @hibernate.many-to-one column="PMT_CHG_CD" class="edu.iu.uis.pdp.bo.PaymentChange"
120:             */
121:            public PaymentChange getPaymentChange() {
122:                return paymentChange;
123:            }
124:
125:            /**
126:             * @return
127:             * @hibernate.property column="PMT_CHG_NTE_TXT" length="250"
128:             */
129:            public String getChangeNoteText() {
130:                return changeNoteText;
131:            }
132:
133:            /**
134:             * @return
135:             * @hibernate.property column="PMT_CHG_TS"
136:             */
137:            public Timestamp getChangeTime() {
138:                return changeTime;
139:            }
140:
141:            /**
142:             * @return
143:             * @hibernate.property column="ORIG_ACH_BNK_RTNG_NBR" length="17"
144:             */
145:            public String getOrigAchBankRouteNbr() {
146:                return origAchBankRouteNbr;
147:            }
148:
149:            /**
150:             * @return
151:             * @hibernate.property column="ORIG_ADV_EMAIL_ADDR" length="50"
152:             */
153:            public String getOrigAdviceEmail() {
154:                return origAdviceEmail;
155:            }
156:
157:            /**
158:             * @return
159:             * @hibernate.property column="ORIG_DISB_TS"
160:             */
161:            public Timestamp getOrigDisburseDate() {
162:                return origDisburseDate;
163:            }
164:
165:            /**
166:             * @return
167:             * @hibernate.property column="ORIG_DISB_NBR"
168:             */
169:            public Integer getOrigDisburseNbr() {
170:                return origDisburseNbr;
171:            }
172:
173:            /**
174:             * @return
175:             * @hibernate.property column="ORIG_PMT_DT"
176:             */
177:            public Timestamp getOrigPaymentDate() {
178:                return origPaymentDate;
179:            }
180:
181:            /**
182:             * @return
183:             * @hibernate.property column="ORIG_PMT_SPCL_HANDLG_IND" type="yes_no"
184:             */
185:            public Boolean getOrigPmtSpecHandling() {
186:                return origPmtSpecHandling;
187:            }
188:
189:            /**
190:             * @return
191:             * @hibernate.many-to-one column="ORIG_PMT_STAT_CD" class="edu.iu.uis.pdp.bo.PaymentStatus"
192:             */
193:            public PaymentStatus getOrigPaymentStatus() {
194:                return origPaymentStatus;
195:            }
196:
197:            /**
198:             * @return
199:             * @hibernate.property column="ORIG_PROC_IMD_IND" type="yes_no"
200:             */
201:            public Boolean getOrigProcessImmediate() {
202:                return origProcessImmediate;
203:            }
204:
205:            /**
206:             * @return
207:             * @hibernate.property column="PMT_CNCL_EXTRT_STAT_IND" type="yes_no"
208:             */
209:            public Boolean getPmtCancelExtractStat() {
210:                return pmtCancelExtractStat;
211:            }
212:
213:            /**
214:             * @param string
215:             */
216:            public void setPaymentChange(PaymentChange pc) {
217:                paymentChange = pc;
218:            }
219:
220:            /**
221:             * @param string
222:             */
223:            public void setChangeNoteText(String string) {
224:                changeNoteText = string;
225:            }
226:
227:            /**
228:             * @param timestamp
229:             */
230:            public void setChangeTime(Timestamp timestamp) {
231:                changeTime = timestamp;
232:            }
233:
234:            /**
235:             * @param integer
236:             */
237:            public void setId(Integer integer) {
238:                id = integer;
239:            }
240:
241:            /**
242:             * @param integer
243:             */
244:            public void setOrigAchBankRouteNbr(String s) {
245:                origAchBankRouteNbr = s;
246:            }
247:
248:            /**
249:             * @param string
250:             */
251:            public void setOrigAdviceEmail(String string) {
252:                origAdviceEmail = string;
253:            }
254:
255:            /**
256:             * @param timestamp
257:             */
258:            public void setOrigDisburseDate(Timestamp timestamp) {
259:                origDisburseDate = timestamp;
260:            }
261:
262:            /**
263:             * @param integer
264:             */
265:            public void setOrigDisburseNbr(Integer integer) {
266:                origDisburseNbr = integer;
267:            }
268:
269:            /**
270:             * @param timestamp
271:             */
272:            public void setOrigPaymentDate(Timestamp timestamp) {
273:                origPaymentDate = timestamp;
274:            }
275:
276:            /**
277:             * @param boolean1
278:             */
279:            public void setOrigPmtSpecHandling(Boolean boolean1) {
280:                origPmtSpecHandling = boolean1;
281:            }
282:
283:            /**
284:             * @param string
285:             */
286:            public void setOrigPaymentStatus(PaymentStatus ps) {
287:                origPaymentStatus = ps;
288:            }
289:
290:            /**
291:             * @param boolean1
292:             */
293:            public void setOrigProcessImmediate(Boolean boolean1) {
294:                origProcessImmediate = boolean1;
295:            }
296:
297:            /**
298:             * @param timestamp
299:             */
300:            public void setPmtCancelExtractDate(Timestamp timestamp) {
301:                pmtCancelExtractDate = timestamp;
302:            }
303:
304:            /**
305:             * @param boolean1
306:             */
307:            public void setPmtCancelExtractStat(Boolean boolean1) {
308:                pmtCancelExtractStat = boolean1;
309:            }
310:
311:            /**
312:             * @param integer
313:             */
314:            public void setVersion(Integer integer) {
315:                version = integer;
316:            }
317:
318:            /**
319:             * @param paymentGroupId The paymentGroupId to set.
320:             */
321:            public void setPaymentGroup(PaymentGroup pd) {
322:                this .paymentGroup = pd;
323:            }
324:
325:            /**
326:             * @param DisbursementType
327:             */
328:            public void setDisbursementType(DisbursementType dt) {
329:                disbursementType = dt;
330:            }
331:
332:            /**
333:             * @return
334:             * @hibernate.many-to-one column="ORIG_DISB_TYP_CD" class="edu.iu.uis.pdp.bo.DisbursementType"
335:             */
336:            public DisbursementType getDisbursementType() {
337:                return disbursementType;
338:            }
339:
340:            /**
341:             * @param Bank
342:             */
343:            public void setBank(Bank bank) {
344:                this .bank = bank;
345:            }
346:
347:            /**
348:             * @return
349:             * @hibernate.many-to-one column="ORIG_BNK_ID" class="edu.iu.uis.pdp.bo.Bank"
350:             */
351:            public Bank getBank() {
352:                return bank;
353:            }
354:
355:            /**
356:             * @param PaymentProcess
357:             */
358:            public void setProcess(PaymentProcess ppl) {
359:                paymentProcess = ppl;
360:            }
361:
362:            /**
363:             * @return
364:             * @hibernate.many-to-one column="ORIG_PROC_ID" class="edu.iu.uis.pdp.bo.PaymentProcess"
365:             */
366:            public PaymentProcess getProcess() {
367:                return paymentProcess;
368:            }
369:
370:            /**
371:             * @hibernate.property column="PMT_CHG_USR_ID" length="11" not-null="true"
372:             * @return Returns the changeUserId.
373:             */
374:            public String getChangeUserId() {
375:                return changeUserId;
376:            }
377:
378:            /**
379:             * @return Returns the changeUser.
380:             */
381:            public PdpUser getChangeUser() {
382:                return changeUser;
383:            }
384:
385:            /**
386:             * @param changeUser The changeUser to set.
387:             */
388:            public void setChangeUser(PdpUser changeUser) {
389:                if (changeUser != null) {
390:                    this .changeUserId = changeUser
391:                            .getPersonUniversalIdentifier();
392:                } else {
393:                    this .changeUserId = null;
394:                }
395:                this .changeUser = changeUser;
396:            }
397:
398:            /**
399:             * @param changeUserId The changeUserId to set.
400:             */
401:            public void setChangeUserId(String changeUserId) {
402:                this .changeUserId = changeUserId;
403:            }
404:
405:            public void updateUser(UniversalUserService userService)
406:                    throws UserNotFoundException {
407:                UniversalUser u = userService.getUniversalUser(changeUserId);
408:                if (u == null) {
409:                    setChangeUser(null);
410:                } else {
411:                    setChangeUser(new PdpUser(u));
412:                }
413:            }
414:
415:            public boolean equals(Object obj) {
416:                if (!(obj instanceof  PaymentGroupHistory)) {
417:                    return false;
418:                }
419:                PaymentGroupHistory o = (PaymentGroupHistory) obj;
420:                return new EqualsBuilder().append(id, o.getId()).isEquals();
421:            }
422:
423:            public int hashCode() {
424:                return new HashCodeBuilder(83, 3).append(id).toHashCode();
425:            }
426:
427:            public String toString() {
428:                return new ToStringBuilder(this ).append("id", this .id)
429:                        .toString();
430:            }
431:
432:            /**
433:             * @return Returns the lastUpdate.
434:             */
435:            public Timestamp getLastUpdate() {
436:                return lastUpdate;
437:            }
438:
439:            /**
440:             * @param lastUpdate The lastUpdate to set.
441:             */
442:            public void setLastUpdate(Timestamp lastUpdate) {
443:                this .lastUpdate = lastUpdate;
444:            }
445:
446:            public void beforeInsert(PersistenceBroker broker)
447:                    throws PersistenceBrokerException {
448:                lastUpdate = new Timestamp((new Date()).getTime());
449:            }
450:
451:            public void afterInsert(PersistenceBroker broker)
452:                    throws PersistenceBrokerException {
453:
454:            }
455:
456:            public void beforeUpdate(PersistenceBroker broker)
457:                    throws PersistenceBrokerException {
458:                lastUpdate = new Timestamp((new Date()).getTime());
459:            }
460:
461:            public void afterUpdate(PersistenceBroker broker)
462:                    throws PersistenceBrokerException {
463:
464:            }
465:
466:            public void beforeDelete(PersistenceBroker broker)
467:                    throws PersistenceBrokerException {
468:
469:            }
470:
471:            public void afterDelete(PersistenceBroker broker)
472:                    throws PersistenceBrokerException {
473:
474:            }
475:
476:            public void afterLookup(PersistenceBroker broker)
477:                    throws PersistenceBrokerException {
478:
479:            }
480:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.