Source Code Cross Referenced for UserAppointmentTaskPeriod.java in  » ERP-CRM-Financial » Kuali-Financial-System » org » kuali » module » kra » budget » 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.kra.budget.bo 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


0001:        /*
0002:         * Copyright 2006-2007 The Kuali Foundation.
0003:         * 
0004:         * Licensed under the Educational Community License, Version 1.0 (the "License");
0005:         * you may not use this file except in compliance with the License.
0006:         * You may obtain a copy of the License at
0007:         * 
0008:         * http://www.opensource.org/licenses/ecl1.php
0009:         * 
0010:         * Unless required by applicable law or agreed to in writing, software
0011:         * distributed under the License is distributed on an "AS IS" BASIS,
0012:         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0013:         * See the License for the specific language governing permissions and
0014:         * limitations under the License.
0015:         */
0016:
0017:        package org.kuali.module.kra.budget.bo;
0018:
0019:        import java.util.LinkedHashMap;
0020:
0021:        import org.kuali.core.bo.PersistableBusinessObjectBase;
0022:        import org.kuali.core.util.KualiDecimal;
0023:        import org.kuali.core.util.KualiInteger;
0024:        import org.kuali.core.util.ObjectUtils;
0025:        import org.kuali.kfs.KFSPropertyConstants;
0026:        import org.kuali.module.kra.budget.service.impl.BudgetPersonnelServiceImpl.PeriodSalary;
0027:
0028:        /**
0029:         * 
0030:         */
0031:        public class UserAppointmentTaskPeriod extends
0032:                PersistableBusinessObjectBase implements  Comparable {
0033:
0034:            private String documentNumber;
0035:            private Integer budgetTaskSequenceNumber;
0036:            private Integer budgetPeriodSequenceNumber;
0037:            private Integer budgetUserSequenceNumber;
0038:            private String institutionAppointmentTypeCode;
0039:            private KualiInteger agencyFringeBenefitTotalAmount;
0040:            private KualiInteger agencyPercentEffortAmount;
0041:            private KualiInteger agencyRequestTotalAmount;
0042:            private Integer personWeeksAmount;
0043:            private String personWeeksJustificationText;
0044:            private KualiInteger institutionCostShareFringeBenefitTotalAmount;
0045:            private KualiInteger institutionCostSharePercentEffortAmount;
0046:            private KualiInteger institutionCostShareRequestTotalAmount;
0047:            private KualiInteger userBudgetPeriodSalaryAmount;
0048:            private KualiInteger userAgencyHours;
0049:            private KualiDecimal userHourlyRate;
0050:            private KualiInteger userInstitutionHours;
0051:            private KualiInteger agencyFullTimeEquivalentPercent;
0052:            private KualiInteger agencyHealthInsuranceAmount;
0053:            private KualiInteger agencyRequestedFeesAmount;
0054:            private KualiInteger agencySalaryAmount;
0055:            private KualiInteger institutionFullTimeEquivalentPercent;
0056:            private KualiInteger institutionHealthInsuranceAmount;
0057:            private KualiInteger institutionRequestedFeesAmount;
0058:            private KualiInteger institutionSalaryAmount;
0059:            private KualiInteger userCreditHoursNumber;
0060:            private KualiDecimal userCreditHourAmount;
0061:            private KualiInteger userMiscellaneousFeeAmount;
0062:            private KualiInteger totalPercentEffort;
0063:            private KualiInteger totalSalaryAmount;
0064:            private KualiInteger totalFringeAmount;
0065:            private KualiInteger totalFeeRemissionsAmount;
0066:            private KualiInteger totalFteAmount;
0067:            private KualiInteger totalHealthInsuranceAmount;
0068:            private KualiInteger totalGradAsstSalaryAmount;
0069:
0070:            private BudgetFringeRate budgetFringeRate;
0071:            private transient PeriodSalary periodSalary;
0072:
0073:            private BudgetTask task;
0074:            private BudgetPeriod period;
0075:
0076:            /**
0077:             * Default no-arg constructor.
0078:             */
0079:            public UserAppointmentTaskPeriod() {
0080:                super ();
0081:                agencyFringeBenefitTotalAmount = new KualiInteger(0);
0082:                agencyPercentEffortAmount = new KualiInteger(0);
0083:                agencyRequestTotalAmount = new KualiInteger(0);
0084:                personWeeksAmount = new Integer(0);
0085:                institutionCostShareFringeBenefitTotalAmount = new KualiInteger(
0086:                        0);
0087:                institutionCostSharePercentEffortAmount = new KualiInteger(0);
0088:                institutionCostShareRequestTotalAmount = new KualiInteger(0);
0089:                userBudgetPeriodSalaryAmount = new KualiInteger(0);
0090:                userAgencyHours = new KualiInteger(0);
0091:                userHourlyRate = new KualiDecimal(0);
0092:                userInstitutionHours = new KualiInteger(0);
0093:
0094:                agencyFullTimeEquivalentPercent = new KualiInteger(0);
0095:                agencyHealthInsuranceAmount = new KualiInteger(0);
0096:                agencyRequestedFeesAmount = new KualiInteger(0);
0097:                agencySalaryAmount = new KualiInteger(0);
0098:                institutionFullTimeEquivalentPercent = new KualiInteger(0);
0099:                institutionHealthInsuranceAmount = new KualiInteger(0);
0100:                institutionRequestedFeesAmount = new KualiInteger(0);
0101:                institutionSalaryAmount = new KualiInteger(0);
0102:                userCreditHoursNumber = new KualiInteger(0);
0103:                userCreditHourAmount = new KualiDecimal(0);
0104:                userMiscellaneousFeeAmount = new KualiInteger(0);
0105:                totalFeeRemissionsAmount = new KualiInteger(0);
0106:                totalFteAmount = new KualiInteger(0);
0107:                totalHealthInsuranceAmount = new KualiInteger(0);
0108:                totalGradAsstSalaryAmount = new KualiInteger(0);
0109:                totalPercentEffort = new KualiInteger(0);
0110:                totalSalaryAmount = new KualiInteger(0);
0111:                totalFringeAmount = new KualiInteger(0);
0112:
0113:            }
0114:
0115:            /**
0116:             * Gets the documentNumber attribute.
0117:             * 
0118:             * @return Returns the documentNumber
0119:             */
0120:            public String getDocumentNumber() {
0121:                return documentNumber;
0122:            }
0123:
0124:            /**
0125:             * Sets the documentNumber attribute.
0126:             * 
0127:             * @param documentNumber The documentNumber to set.
0128:             */
0129:            public void setDocumentNumber(String documentNumber) {
0130:                this .documentNumber = documentNumber;
0131:            }
0132:
0133:            /**
0134:             * Gets the budgetTaskSequenceNumber attribute.
0135:             * 
0136:             * @return Returns the budgetTaskSequenceNumber
0137:             */
0138:            public Integer getBudgetTaskSequenceNumber() {
0139:                return budgetTaskSequenceNumber;
0140:            }
0141:
0142:            /**
0143:             * Sets the budgetTaskSequenceNumber attribute.
0144:             * 
0145:             * @param budgetTaskSequenceNumber The budgetTaskSequenceNumber to set.
0146:             */
0147:            public void setBudgetTaskSequenceNumber(
0148:                    Integer budgetTaskSequenceNumber) {
0149:                this .budgetTaskSequenceNumber = budgetTaskSequenceNumber;
0150:            }
0151:
0152:            /**
0153:             * Gets the budgetPeriodSequenceNumber attribute.
0154:             * 
0155:             * @return Returns the budgetPeriodSequenceNumber
0156:             */
0157:            public Integer getBudgetPeriodSequenceNumber() {
0158:                return budgetPeriodSequenceNumber;
0159:            }
0160:
0161:            /**
0162:             * Sets the budgetPeriodSequenceNumber attribute.
0163:             * 
0164:             * @param budgetPeriodSequenceNumber The budgetPeriodSequenceNumber to set.
0165:             */
0166:            public void setBudgetPeriodSequenceNumber(
0167:                    Integer budgetPeriodSequenceNumber) {
0168:                this .budgetPeriodSequenceNumber = budgetPeriodSequenceNumber;
0169:            }
0170:
0171:            /**
0172:             * Gets the budgetUserSequenceNumber attribute.
0173:             * 
0174:             * @return Returns the budgetUserSequenceNumber
0175:             */
0176:            public Integer getBudgetUserSequenceNumber() {
0177:                return budgetUserSequenceNumber;
0178:            }
0179:
0180:            /**
0181:             * Sets the budgetUserSequenceNumber attribute.
0182:             * 
0183:             * @param budgetUserSequenceNumber The budgetUserSequenceNumber to set.
0184:             */
0185:            public void setBudgetUserSequenceNumber(
0186:                    Integer budgetUserSequenceNumber) {
0187:                this .budgetUserSequenceNumber = budgetUserSequenceNumber;
0188:            }
0189:
0190:            /**
0191:             * Sets the institutionAppointmentTypeCode attribute.
0192:             * 
0193:             * @param institutionAppointmentTypeCode The institutionAppointmentTypeCode to set.
0194:             */
0195:            public String getInstitutionAppointmentTypeCode() {
0196:                return institutionAppointmentTypeCode;
0197:            }
0198:
0199:            /**
0200:             * Gets the institutionAppointmentTypeCode attribute.
0201:             * 
0202:             * @return Returns the institutionAppointmentTypeCode
0203:             */
0204:            public void setInstitutionAppointmentTypeCode(
0205:                    String institutionAppointmentTypeCode) {
0206:                this .institutionAppointmentTypeCode = institutionAppointmentTypeCode;
0207:            }
0208:
0209:            /**
0210:             * Gets the agencyFringeBenefitTotalAmount attribute.
0211:             * 
0212:             * @return Returns the agencyFringeBenefitTotalAmount
0213:             */
0214:            public KualiInteger getAgencyFringeBenefitTotalAmount() {
0215:                return agencyFringeBenefitTotalAmount;
0216:            }
0217:
0218:            /**
0219:             * Sets the agencyFringeBenefitTotalAmount attribute.
0220:             * 
0221:             * @param agencyFringeBenefitTotalAmount The agencyFringeBenefitTotalAmount to set.
0222:             */
0223:            public void setAgencyFringeBenefitTotalAmount(
0224:                    KualiInteger agencyFringeBenefitTotalAmount) {
0225:                this .agencyFringeBenefitTotalAmount = agencyFringeBenefitTotalAmount;
0226:            }
0227:
0228:            /**
0229:             * Gets the agencyPercentEffortAmount attribute.
0230:             * 
0231:             * @return Returns the agencyPercentEffortAmount
0232:             */
0233:            public KualiInteger getAgencyPercentEffortAmount() {
0234:                return agencyPercentEffortAmount;
0235:            }
0236:
0237:            /**
0238:             * Sets the agencyPercentEffortAmount attribute.
0239:             * 
0240:             * @param agencyPercentEffortAmount The agencyPercentEffortAmount to set.
0241:             */
0242:            public void setAgencyPercentEffortAmount(
0243:                    KualiInteger agencyPercentEffortAmount) {
0244:                this .agencyPercentEffortAmount = agencyPercentEffortAmount;
0245:            }
0246:
0247:            /**
0248:             * Gets the agencyRequestTotalAmount attribute.
0249:             * 
0250:             * @return Returns the agencyRequestTotalAmount
0251:             */
0252:            public KualiInteger getAgencyRequestTotalAmount() {
0253:                return agencyRequestTotalAmount;
0254:            }
0255:
0256:            /**
0257:             * Sets the agencyRequestTotalAmount attribute.
0258:             * 
0259:             * @param agencyRequestTotalAmount The agencyRequestTotalAmount to set.
0260:             */
0261:            public void setAgencyRequestTotalAmount(
0262:                    KualiInteger agencyRequestTotalAmount) {
0263:                this .agencyRequestTotalAmount = agencyRequestTotalAmount;
0264:            }
0265:
0266:            /**
0267:             * Gets the personWeeksAmount attribute.
0268:             * 
0269:             * @return Returns the personWeeksAmount
0270:             */
0271:            public Integer getPersonWeeksAmount() {
0272:                return personWeeksAmount;
0273:            }
0274:
0275:            /**
0276:             * Sets the personWeeksAmount attribute.
0277:             * 
0278:             * @param personWeeksAmount The personWeeksAmount to set.
0279:             */
0280:            public void setPersonWeeksAmount(Integer personWeeksAmount) {
0281:                this .personWeeksAmount = personWeeksAmount;
0282:            }
0283:
0284:            /**
0285:             * Gets the personWeeksJustificationText attribute.
0286:             * 
0287:             * @return Returns the personWeeksJustificationText
0288:             */
0289:            public String getPersonWeeksJustificationText() {
0290:                return personWeeksJustificationText;
0291:            }
0292:
0293:            /**
0294:             * Sets the personWeeksJustificationText attribute.
0295:             * 
0296:             * @param personWeeksJustificationText The personWeeksJustificationText to set.
0297:             */
0298:            public void setPersonWeeksJustificationText(
0299:                    String personWeeksJustificationText) {
0300:                this .personWeeksJustificationText = personWeeksJustificationText;
0301:            }
0302:
0303:            /**
0304:             * Gets the institutionCostShareFringeBenefitTotalAmount attribute.
0305:             * 
0306:             * @return Returns the institutionCostShareFringeBenefitTotalAmount
0307:             */
0308:            public KualiInteger getInstitutionCostShareFringeBenefitTotalAmount() {
0309:                return institutionCostShareFringeBenefitTotalAmount;
0310:            }
0311:
0312:            /**
0313:             * Sets the institutionCostShareFringeBenefitTotalAmount attribute.
0314:             * 
0315:             * @param institutionCostShareFringeBenefitTotalAmount The institutionCostShareFringeBenefitTotalAmount to set.
0316:             */
0317:            public void setInstitutionCostShareFringeBenefitTotalAmount(
0318:                    KualiInteger institutionCostShareFringeBenefitTotalAmount) {
0319:                this .institutionCostShareFringeBenefitTotalAmount = institutionCostShareFringeBenefitTotalAmount;
0320:            }
0321:
0322:            /**
0323:             * Gets the institutionCostSharePercentEffortAmount attribute.
0324:             * 
0325:             * @return Returns the institutionCostSharePercentEffortAmount
0326:             */
0327:            public KualiInteger getInstitutionCostSharePercentEffortAmount() {
0328:                return institutionCostSharePercentEffortAmount;
0329:            }
0330:
0331:            /**
0332:             * Sets the institutionCostSharePercentEffortAmount attribute.
0333:             * 
0334:             * @param institutionCostSharePercentEffortAmount The institutionCostSharePercentEffortAmount to set.
0335:             */
0336:            public void setInstitutionCostSharePercentEffortAmount(
0337:                    KualiInteger institutionCostSharePercentEffortAmount) {
0338:                this .institutionCostSharePercentEffortAmount = institutionCostSharePercentEffortAmount;
0339:            }
0340:
0341:            /**
0342:             * Gets the institutionCostShareRequestTotalAmount attribute.
0343:             * 
0344:             * @return Returns the institutionCostShareRequestTotalAmount
0345:             */
0346:            public KualiInteger getInstitutionCostShareRequestTotalAmount() {
0347:                return institutionCostShareRequestTotalAmount;
0348:            }
0349:
0350:            /**
0351:             * Sets the institutionCostShareRequestTotalAmount attribute.
0352:             * 
0353:             * @param institutionCostShareRequestTotalAmount The institutionCostShareRequestTotalAmount to set.
0354:             */
0355:            public void setInstitutionCostShareRequestTotalAmount(
0356:                    KualiInteger institutionCostShareRequestTotalAmount) {
0357:                this .institutionCostShareRequestTotalAmount = institutionCostShareRequestTotalAmount;
0358:            }
0359:
0360:            /**
0361:             * Gets the userBudgetPeriodSalaryAmount attribute.
0362:             * 
0363:             * @return Returns the userBudgetPeriodSalaryAmount
0364:             */
0365:            public KualiInteger getUserBudgetPeriodSalaryAmount() {
0366:                return userBudgetPeriodSalaryAmount;
0367:            }
0368:
0369:            /**
0370:             * Sets the userBudgetPeriodSalaryAmount attribute.
0371:             * 
0372:             * @param userBudgetPeriodSalaryAmount The userBudgetPeriodSalaryAmount to set.
0373:             */
0374:            public void setUserBudgetPeriodSalaryAmount(
0375:                    KualiInteger userBudgetPeriodSalaryAmount) {
0376:                this .userBudgetPeriodSalaryAmount = userBudgetPeriodSalaryAmount;
0377:            }
0378:
0379:            /**
0380:             * Gets the userAgencyHours attribute.
0381:             * 
0382:             * @return Returns the userAgencyHours
0383:             */
0384:            public KualiInteger getUserAgencyHours() {
0385:                return userAgencyHours;
0386:            }
0387:
0388:            /**
0389:             * Sets the userAgencyHours attribute.
0390:             * 
0391:             * @param userAgencyHours The userAgencyHours to set.
0392:             */
0393:            public void setUserAgencyHours(KualiInteger userAgencyHours) {
0394:                this .userAgencyHours = userAgencyHours;
0395:            }
0396:
0397:            /**
0398:             * Gets the userHourlyRate attribute.
0399:             * 
0400:             * @return Returns the userHourlyRate
0401:             */
0402:            public KualiDecimal getUserHourlyRate() {
0403:                return userHourlyRate;
0404:            }
0405:
0406:            /**
0407:             * Sets the userHourlyRate attribute.
0408:             * 
0409:             * @param userHourlyRate The userHourlyRate to set.
0410:             */
0411:            public void setUserHourlyRate(KualiDecimal userHourlyRate) {
0412:                this .userHourlyRate = userHourlyRate;
0413:            }
0414:
0415:            /**
0416:             * Gets the userInstitutionHours attribute.
0417:             * 
0418:             * @return Returns the userInstitutionHours
0419:             */
0420:            public KualiInteger getUserInstitutionHours() {
0421:                return userInstitutionHours;
0422:            }
0423:
0424:            /**
0425:             * Sets the userInstitutionHours attribute.
0426:             * 
0427:             * @param userInstitutionHours The userInstitutionHours to set.
0428:             */
0429:            public void setUserInstitutionHours(
0430:                    KualiInteger userInstitutionHours) {
0431:                this .userInstitutionHours = userInstitutionHours;
0432:            }
0433:
0434:            /**
0435:             * Gets the agencyFullTimeEquivalentPercent attribute.
0436:             * 
0437:             * @return Returns the agencyFullTimeEquivalentPercent
0438:             */
0439:            public KualiInteger getAgencyFullTimeEquivalentPercent() {
0440:                return agencyFullTimeEquivalentPercent;
0441:            }
0442:
0443:            public void setTotalFringeAmount(KualiInteger totalFringeAmount) {
0444:                this .totalFringeAmount = totalFringeAmount;
0445:            }
0446:
0447:            public void setTotalPercentEffort(KualiInteger totalPercentEffort) {
0448:                this .totalPercentEffort = totalPercentEffort;
0449:            }
0450:
0451:            public void setTotalSalaryAmount(KualiInteger totalSalaryAmount) {
0452:                this .totalSalaryAmount = totalSalaryAmount;
0453:            }
0454:
0455:            /**
0456:             * Sets the agencyFullTimeEquivalentPercent attribute.
0457:             * 
0458:             * @param agencyFullTimeEquivalentPercent The agencyFullTimeEquivalentPercent to set.
0459:             */
0460:            public void setAgencyFullTimeEquivalentPercent(
0461:                    KualiInteger agencyFullTimeEquivalentPercent) {
0462:                this .agencyFullTimeEquivalentPercent = agencyFullTimeEquivalentPercent;
0463:            }
0464:
0465:            /**
0466:             * Gets the agencyHealthInsuranceAmount attribute.
0467:             * 
0468:             * @return Returns the agencyHealthInsuranceAmount
0469:             */
0470:            public KualiInteger getAgencyHealthInsuranceAmount() {
0471:                return agencyHealthInsuranceAmount;
0472:            }
0473:
0474:            /**
0475:             * Sets the agencyHealthInsuranceAmount attribute.
0476:             * 
0477:             * @param agencyHealthInsuranceAmount The agencyHealthInsuranceAmount to set.
0478:             */
0479:            public void setAgencyHealthInsuranceAmount(
0480:                    KualiInteger agencyHealthInsuranceAmount) {
0481:                this .agencyHealthInsuranceAmount = agencyHealthInsuranceAmount;
0482:            }
0483:
0484:            /**
0485:             * Gets the agencyRequestedFeesAmount attribute.
0486:             * 
0487:             * @return Returns the agencyRequestedFeesAmount
0488:             */
0489:            public KualiInteger getAgencyRequestedFeesAmount() {
0490:                return agencyRequestedFeesAmount;
0491:            }
0492:
0493:            /**
0494:             * Sets the agencyRequestedFeesAmount attribute.
0495:             * 
0496:             * @param agencyRequestedFeesAmount The agencyRequestedFeesAmount to set.
0497:             */
0498:            public void setAgencyRequestedFeesAmount(
0499:                    KualiInteger agencyRequestedFeesAmount) {
0500:                this .agencyRequestedFeesAmount = agencyRequestedFeesAmount;
0501:            }
0502:
0503:            /**
0504:             * Gets the agencySalaryAmount attribute.
0505:             * 
0506:             * @return Returns the agencySalaryAmount
0507:             */
0508:            public KualiInteger getAgencySalaryAmount() {
0509:                return agencySalaryAmount;
0510:            }
0511:
0512:            /**
0513:             * Sets the agencySalaryAmount attribute.
0514:             * 
0515:             * @param agencySalaryAmount The agencySalaryAmount to set.
0516:             */
0517:            public void setAgencySalaryAmount(KualiInteger agencySalaryAmount) {
0518:                this .agencySalaryAmount = agencySalaryAmount;
0519:            }
0520:
0521:            /**
0522:             * Gets the institutionFullTimeEquivalentPercent attribute.
0523:             * 
0524:             * @return Returns the institutionFullTimeEquivalentPercent
0525:             */
0526:            public KualiInteger getInstitutionFullTimeEquivalentPercent() {
0527:                return institutionFullTimeEquivalentPercent;
0528:            }
0529:
0530:            /**
0531:             * Sets the institutionFullTimeEquivalentPercent attribute.
0532:             * 
0533:             * @param institutionFullTimeEquivalentPercent The institutionFullTimeEquivalentPercent to set.
0534:             */
0535:            public void setInstitutionFullTimeEquivalentPercent(
0536:                    KualiInteger institutionFullTimeEquivalentPercent) {
0537:                this .institutionFullTimeEquivalentPercent = institutionFullTimeEquivalentPercent;
0538:            }
0539:
0540:            /**
0541:             * Gets the institutionHealthInsuranceAmount attribute.
0542:             * 
0543:             * @return Returns the institutionHealthInsuranceAmount
0544:             */
0545:            public KualiInteger getInstitutionHealthInsuranceAmount() {
0546:                return institutionHealthInsuranceAmount;
0547:            }
0548:
0549:            /**
0550:             * Sets the institutionHealthInsuranceAmount attribute.
0551:             * 
0552:             * @param institutionHealthInsuranceAmount The institutionHealthInsuranceAmount to set.
0553:             */
0554:            public void setInstitutionHealthInsuranceAmount(
0555:                    KualiInteger institutionHealthInsuranceAmount) {
0556:                this .institutionHealthInsuranceAmount = institutionHealthInsuranceAmount;
0557:            }
0558:
0559:            /**
0560:             * Gets the institutionRequestedFeesAmount attribute.
0561:             * 
0562:             * @return Returns the institutionRequestedFeesAmount
0563:             */
0564:            public KualiInteger getInstitutionRequestedFeesAmount() {
0565:                return institutionRequestedFeesAmount;
0566:            }
0567:
0568:            /**
0569:             * Sets the institutionRequestedFeesAmount attribute.
0570:             * 
0571:             * @param institutionRequestedFeesAmount The institutionRequestedFeesAmount to set.
0572:             */
0573:            public void setInstitutionRequestedFeesAmount(
0574:                    KualiInteger institutionRequestedFeesAmount) {
0575:                this .institutionRequestedFeesAmount = institutionRequestedFeesAmount;
0576:            }
0577:
0578:            /**
0579:             * Gets the institutionSalaryAmount attribute.
0580:             * 
0581:             * @return Returns the institutionSalaryAmount
0582:             */
0583:            public KualiInteger getInstitutionSalaryAmount() {
0584:                return institutionSalaryAmount;
0585:            }
0586:
0587:            /**
0588:             * Sets the institutionSalaryAmount attribute.
0589:             * 
0590:             * @param institutionSalaryAmount The institutionSalaryAmount to set.
0591:             */
0592:            public void setInstitutionSalaryAmount(
0593:                    KualiInteger institutionSalaryAmount) {
0594:                this .institutionSalaryAmount = institutionSalaryAmount;
0595:            }
0596:
0597:            /**
0598:             * Gets the userCreditHoursNumber attribute.
0599:             * 
0600:             * @return Returns the userCreditHoursNumber
0601:             */
0602:            public KualiInteger getUserCreditHoursNumber() {
0603:                return userCreditHoursNumber;
0604:            }
0605:
0606:            /**
0607:             * Sets the userCreditHoursNumber attribute.
0608:             * 
0609:             * @param userCreditHoursNumber The userCreditHoursNumber to set.
0610:             */
0611:            public void setUserCreditHoursNumber(
0612:                    KualiInteger userCreditHoursNumber) {
0613:                this .userCreditHoursNumber = userCreditHoursNumber;
0614:            }
0615:
0616:            /**
0617:             * Gets the userCreditHourAmount attribute.
0618:             * 
0619:             * @return Returns the userCreditHourAmount
0620:             */
0621:            public KualiDecimal getUserCreditHourAmount() {
0622:                return userCreditHourAmount;
0623:            }
0624:
0625:            /**
0626:             * Sets the userCreditHourAmount attribute.
0627:             * 
0628:             * @param userCreditHourAmount The userCreditHourAmount to set.
0629:             */
0630:            public void setUserCreditHourAmount(
0631:                    KualiDecimal userCreditHourAmount) {
0632:                this .userCreditHourAmount = userCreditHourAmount;
0633:            }
0634:
0635:            /**
0636:             * Gets the userMiscellaneousFeeAmount attribute.
0637:             * 
0638:             * @return Returns the userMiscellaneousFeeAmount
0639:             */
0640:            public KualiInteger getUserMiscellaneousFeeAmount() {
0641:                return userMiscellaneousFeeAmount;
0642:            }
0643:
0644:            /**
0645:             * Sets the userMiscellaneousFeeAmount attribute.
0646:             * 
0647:             * @param userMiscellaneousFeeAmount The userMiscellaneousFeeAmount to set.
0648:             */
0649:            public void setUserMiscellaneousFeeAmount(
0650:                    KualiInteger userMiscellaneousFeeAmount) {
0651:                this .userMiscellaneousFeeAmount = userMiscellaneousFeeAmount;
0652:            }
0653:
0654:            public KualiInteger getTotalPercentEffort() {
0655:                return this .totalPercentEffort;
0656:            }
0657:
0658:            public KualiInteger getTotalSalaryAmount() {
0659:                return this .totalSalaryAmount;
0660:            }
0661:
0662:            public KualiInteger getTotalFringeAmount() {
0663:                return this .totalFringeAmount;
0664:            }
0665:
0666:            /**
0667:             * Gets the institutionAppointmentType attribute.
0668:             * 
0669:             * @return Returns the institutionAppointmentType
0670:             */
0671:            public BudgetFringeRate getBudgetFringeRate() {
0672:                return budgetFringeRate;
0673:            }
0674:
0675:            /**
0676:             * Sets the institutionAppointmentType attribute.
0677:             * 
0678:             * @param institutionAppointmentType The institutionAppointmentType to set.
0679:             */
0680:            public void setBudgetFringeRate(BudgetFringeRate budgetFringeRate) {
0681:                this .budgetFringeRate = budgetFringeRate;
0682:            }
0683:
0684:            /**
0685:             * Gets the period attribute.
0686:             * 
0687:             * @return Returns the period.
0688:             */
0689:            public BudgetPeriod getPeriod() {
0690:                return period;
0691:            }
0692:
0693:            /**
0694:             * Sets the period attribute value.
0695:             * 
0696:             * @param period The period to set.
0697:             */
0698:            public void setPeriod(BudgetPeriod period) {
0699:                this .period = period;
0700:            }
0701:
0702:            /**
0703:             * Gets the task attribute.
0704:             * 
0705:             * @return Returns the task.
0706:             */
0707:            public BudgetTask getTask() {
0708:                return task;
0709:            }
0710:
0711:            /**
0712:             * Sets the task attribute value.
0713:             * 
0714:             * @param task The task to set.
0715:             */
0716:            public void setTask(BudgetTask task) {
0717:                this .task = task;
0718:            }
0719:
0720:            /**
0721:             * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
0722:             */
0723:            protected LinkedHashMap toStringMapper() {
0724:                LinkedHashMap m = new LinkedHashMap();
0725:
0726:                m.put(KFSPropertyConstants.DOCUMENT_NUMBER, this 
0727:                        .getDocumentNumber());
0728:                m.put("budgetUserSequenceNumber", this 
0729:                        .getBudgetUserSequenceNumber());
0730:                m.put("institutionAppointmentTypeCode", this 
0731:                        .getInstitutionAppointmentTypeCode());
0732:                m.put("budgetTaskSequenceNumber", this 
0733:                        .getBudgetTaskSequenceNumber());
0734:                m.put("budgetPeriodSequenceNumber", this 
0735:                        .getBudgetPeriodSequenceNumber());
0736:
0737:                return m;
0738:            }
0739:
0740:            /**
0741:             * @see java.lang.Comparable#compareTo(java.lang.Object)
0742:             */
0743:            public int compareTo(Object o) {
0744:                return this .getPeriod().compareTo(
0745:                        ((UserAppointmentTaskPeriod) o).getPeriod());
0746:            }
0747:
0748:            /**
0749:             * Gets the totalFeeRemissionsAmount attribute.
0750:             * 
0751:             * @return Returns the totalFeeRemissionsAmount.
0752:             */
0753:            public KualiInteger getTotalFeeRemissionsAmount() {
0754:                return this .totalFeeRemissionsAmount;
0755:            }
0756:
0757:            /**
0758:             * Sets the totalFeeRemissionsAmount attribute value.
0759:             * 
0760:             * @param totalFeeRemissionsAmount The totalFeeRemissionsAmount to set.
0761:             */
0762:            public void setTotalFeeRemissionsAmount(
0763:                    KualiInteger totalFeeRemissionsAmount) {
0764:                this .totalFeeRemissionsAmount = totalFeeRemissionsAmount;
0765:            }
0766:
0767:            /**
0768:             * Gets the totalFteAmount attribute.
0769:             * 
0770:             * @return Returns the totalFteAmount.
0771:             */
0772:            public KualiInteger getTotalFteAmount() {
0773:                return this .totalFteAmount;
0774:            }
0775:
0776:            /**
0777:             * Sets the totalFteAmount attribute value.
0778:             * 
0779:             * @param totalFteAmount The totalFteAmount to set.
0780:             */
0781:            public void setTotalFteAmount(KualiInteger totalFteAmount) {
0782:                this .totalFteAmount = totalFteAmount;
0783:            }
0784:
0785:            /**
0786:             * Gets the totalHealthInsuranceAmount attribute.
0787:             * 
0788:             * @return Returns the totalHealthInsuranceAmount.
0789:             */
0790:            public KualiInteger getTotalHealthInsuranceAmount() {
0791:                return this .totalHealthInsuranceAmount;
0792:            }
0793:
0794:            /**
0795:             * Sets the totalHealthInsuranceAmount attribute value.
0796:             * 
0797:             * @param totalHealthInsuranceAmount The totalHealthInsuranceAmount to set.
0798:             */
0799:            public void setTotalHealthInsuranceAmount(
0800:                    KualiInteger totalHealthInsuranceAmount) {
0801:                this .totalHealthInsuranceAmount = totalHealthInsuranceAmount;
0802:            }
0803:
0804:            /**
0805:             * Gets the totalGradAsstSalaryAmount attribute.
0806:             * 
0807:             * @return Returns the totalGradAsstSalaryAmount.
0808:             */
0809:            public KualiInteger getTotalGradAsstSalaryAmount() {
0810:                return this .totalGradAsstSalaryAmount;
0811:            }
0812:
0813:            /**
0814:             * Sets the totalGradAsstSalaryAmount attribute value.
0815:             * 
0816:             * @param totalGradAsstSalaryAmount The totalGradAsstSalaryAmount to set.
0817:             */
0818:            public void setTotalGradAsstSalaryAmount(
0819:                    KualiInteger totalGradAsstSalaryAmount) {
0820:                this .totalGradAsstSalaryAmount = totalGradAsstSalaryAmount;
0821:            }
0822:
0823:            public PeriodSalary getPeriodSalary() {
0824:                return periodSalary;
0825:            }
0826:
0827:            public void setPeriodSalary(PeriodSalary periodSalary) {
0828:                this .periodSalary = periodSalary;
0829:            }
0830:
0831:            // Object methods
0832:            /**
0833:             * @see java.lang.Object#equals(java.lang.Object)
0834:             */
0835:            public boolean equals(Object obj) {
0836:                boolean equals = true;
0837:
0838:                if (ObjectUtils.isNotNull(obj)
0839:                        && obj instanceof  UserAppointmentTaskPeriod) {
0840:                    UserAppointmentTaskPeriod objCompare = (UserAppointmentTaskPeriod) obj;
0841:                    equals &= this .documentNumber.equals(objCompare
0842:                            .getDocumentNumber());
0843:                    if (this .getAgencyFringeBenefitTotalAmount() == null
0844:                            && objCompare.getAgencyFringeBenefitTotalAmount() == null) {
0845:                    } else {
0846:                        equals &= this .getAgencyFringeBenefitTotalAmount() != null
0847:                                && objCompare
0848:                                        .getAgencyFringeBenefitTotalAmount() != null
0849:                                && this 
0850:                                        .getAgencyFringeBenefitTotalAmount()
0851:                                        .equals(
0852:                                                objCompare
0853:                                                        .getAgencyFringeBenefitTotalAmount());
0854:                    }
0855:                    if (this .agencyFullTimeEquivalentPercent == null
0856:                            && objCompare.getAgencyFullTimeEquivalentPercent() == null) {
0857:                    } else {
0858:                        equals &= this .getAgencyFullTimeEquivalentPercent() != null
0859:                                && objCompare
0860:                                        .getAgencyFullTimeEquivalentPercent() != null
0861:                                && this 
0862:                                        .getAgencyFullTimeEquivalentPercent()
0863:                                        .equals(
0864:                                                objCompare
0865:                                                        .getAgencyFullTimeEquivalentPercent());
0866:                    }
0867:                    if (this .agencyHealthInsuranceAmount == null
0868:                            && objCompare.getAgencyHealthInsuranceAmount() == null) {
0869:                    } else {
0870:                        equals &= this .agencyHealthInsuranceAmount != null
0871:                                && objCompare.getAgencyHealthInsuranceAmount() != null
0872:                                && this .agencyHealthInsuranceAmount
0873:                                        .equals(objCompare
0874:                                                .getAgencyHealthInsuranceAmount());
0875:                    }
0876:                    if (this .agencyPercentEffortAmount == null
0877:                            && objCompare.getAgencyPercentEffortAmount() == null) {
0878:                    } else {
0879:                        equals &= this .agencyPercentEffortAmount != null
0880:                                && objCompare.getAgencyPercentEffortAmount() != null
0881:                                && this .agencyPercentEffortAmount
0882:                                        .equals(objCompare
0883:                                                .getAgencyPercentEffortAmount());
0884:                    }
0885:                    if (this .agencyRequestedFeesAmount == null
0886:                            && objCompare.getAgencyRequestedFeesAmount() == null) {
0887:                    } else {
0888:                        equals &= this .agencyRequestedFeesAmount != null
0889:                                && objCompare.getAgencyRequestedFeesAmount() != null
0890:                                && this .agencyRequestedFeesAmount
0891:                                        .equals(objCompare
0892:                                                .getAgencyRequestedFeesAmount());
0893:                    }
0894:                    if (this .agencyRequestTotalAmount == null
0895:                            && objCompare.getAgencyRequestTotalAmount() == null) {
0896:                    } else {
0897:                        equals &= this .agencyRequestTotalAmount != null
0898:                                && objCompare.getAgencyRequestTotalAmount() != null
0899:                                && this .agencyRequestTotalAmount
0900:                                        .equals(objCompare
0901:                                                .getAgencyRequestTotalAmount());
0902:                    }
0903:                    if (this .agencySalaryAmount == null
0904:                            && objCompare.getAgencySalaryAmount() == null) {
0905:                    } else {
0906:                        equals &= this .agencySalaryAmount != null
0907:                                && objCompare.getAgencySalaryAmount() != null
0908:                                && this .agencySalaryAmount.equals(objCompare
0909:                                        .getAgencySalaryAmount());
0910:                    }
0911:                    if (this .budgetFringeRate == null
0912:                            && objCompare.getBudgetFringeRate() == null) {
0913:                    } else {
0914:                        equals &= this .budgetFringeRate != null
0915:                                && objCompare.getBudgetFringeRate() != null
0916:                                && ObjectUtils.equalByKeys(
0917:                                        this .budgetFringeRate, objCompare
0918:                                                .getBudgetFringeRate());
0919:                    }
0920:                    if (this .budgetPeriodSequenceNumber == null
0921:                            && objCompare.getBudgetPeriodSequenceNumber() == null) {
0922:                    } else {
0923:                        equals &= this .budgetPeriodSequenceNumber != null
0924:                                && objCompare.getBudgetPeriodSequenceNumber() != null
0925:                                && this .budgetPeriodSequenceNumber
0926:                                        .equals(objCompare
0927:                                                .getBudgetPeriodSequenceNumber());
0928:                    }
0929:                    if (this .budgetTaskSequenceNumber == null
0930:                            && objCompare.getBudgetTaskSequenceNumber() == null) {
0931:                    } else {
0932:                        equals &= this .budgetTaskSequenceNumber != null
0933:                                && objCompare.getBudgetTaskSequenceNumber() != null
0934:                                && this .budgetTaskSequenceNumber
0935:                                        .equals(objCompare
0936:                                                .getBudgetTaskSequenceNumber());
0937:                    }
0938:                    if (this .budgetTaskSequenceNumber == null
0939:                            && objCompare.getBudgetTaskSequenceNumber() == null) {
0940:                    } else {
0941:                        equals &= this .budgetTaskSequenceNumber != null
0942:                                && objCompare.getBudgetTaskSequenceNumber() != null
0943:                                && this .budgetTaskSequenceNumber
0944:                                        .equals(objCompare
0945:                                                .getBudgetTaskSequenceNumber());
0946:                    }
0947:                    if (this .budgetUserSequenceNumber == null
0948:                            && objCompare.getBudgetUserSequenceNumber() == null) {
0949:                    } else {
0950:                        equals &= this .budgetUserSequenceNumber != null
0951:                                && objCompare.getBudgetUserSequenceNumber() != null
0952:                                && this .budgetUserSequenceNumber
0953:                                        .equals(objCompare
0954:                                                .getBudgetUserSequenceNumber());
0955:                    }
0956:                    if (ObjectUtils.isNull(this .period)
0957:                            && ObjectUtils.isNull(objCompare.getPeriod())) {
0958:                    } else {
0959:                        equals &= ObjectUtils.isNotNull(this .period)
0960:                                && ObjectUtils
0961:                                        .isNotNull(objCompare.getPeriod())
0962:                                && ObjectUtils.equalByKeys(this .period,
0963:                                        objCompare.getPeriod());
0964:                    }
0965:                    if (this .personWeeksAmount == null
0966:                            && objCompare.getPersonWeeksAmount() == null) {
0967:                    } else {
0968:                        equals &= this .personWeeksAmount != null
0969:                                && objCompare.getPersonWeeksAmount() != null
0970:                                && this .personWeeksAmount.equals(objCompare
0971:                                        .getPersonWeeksAmount());
0972:                    }
0973:                    if (ObjectUtils.isNull(this .task)
0974:                            && ObjectUtils.isNull(objCompare.getTask())) {
0975:                    } else {
0976:                        equals &= ObjectUtils.isNotNull(this .task)
0977:                                && ObjectUtils.isNotNull(objCompare.getTask())
0978:                                && ObjectUtils.equalByKeys(this .getTask(),
0979:                                        objCompare.getTask());
0980:                    }
0981:                    if (this .totalFeeRemissionsAmount == null
0982:                            && objCompare.getTotalFeeRemissionsAmount() == null) {
0983:                    } else {
0984:                        equals &= this .totalFeeRemissionsAmount != null
0985:                                && objCompare.getTotalFeeRemissionsAmount() != null
0986:                                && this .totalFeeRemissionsAmount
0987:                                        .equals(objCompare
0988:                                                .getTotalFeeRemissionsAmount());
0989:                    }
0990:                    if (this .totalFteAmount == null
0991:                            && objCompare.getTotalFteAmount() == null) {
0992:                    } else {
0993:                        equals &= this .getTotalFteAmount() != null
0994:                                && objCompare.getTotalFteAmount() != null
0995:                                && this .getTotalFteAmount().equals(
0996:                                        objCompare.getTotalFteAmount());
0997:                    }
0998:                    if (this .totalGradAsstSalaryAmount == null
0999:                            && objCompare.getTotalGradAsstSalaryAmount() == null) {
1000:                    } else {
1001:                        equals &= this .totalGradAsstSalaryAmount != null
1002:                                && objCompare.getTotalGradAsstSalaryAmount() != null
1003:                                && this .totalGradAsstSalaryAmount
1004:                                        .equals(objCompare
1005:                                                .getTotalGradAsstSalaryAmount());
1006:                    }
1007:                    if (this .totalHealthInsuranceAmount == null
1008:                            && objCompare.getTotalHealthInsuranceAmount() == null) {
1009:                    } else {
1010:                        equals &= this .totalHealthInsuranceAmount != null
1011:                                && objCompare.getTotalHealthInsuranceAmount() != null
1012:                                && this .totalHealthInsuranceAmount
1013:                                        .equals(objCompare
1014:                                                .getTotalHealthInsuranceAmount());
1015:                    }
1016:                    if (this .institutionAppointmentTypeCode == null
1017:                            && objCompare.getInstitutionAppointmentTypeCode() == null) {
1018:                    } else {
1019:                        equals &= this .institutionAppointmentTypeCode != null
1020:                                && objCompare
1021:                                        .getInstitutionAppointmentTypeCode() != null
1022:                                && this .institutionAppointmentTypeCode
1023:                                        .equals(objCompare
1024:                                                .getInstitutionAppointmentTypeCode());
1025:                    }
1026:                    if (this .institutionCostShareFringeBenefitTotalAmount == null
1027:                            && objCompare
1028:                                    .getInstitutionCostShareFringeBenefitTotalAmount() == null) {
1029:                    } else {
1030:                        equals &= this .institutionCostShareFringeBenefitTotalAmount != null
1031:                                && objCompare
1032:                                        .getInstitutionCostShareFringeBenefitTotalAmount() != null
1033:                                && this .institutionCostShareFringeBenefitTotalAmount
1034:                                        .equals(objCompare
1035:                                                .getInstitutionCostShareFringeBenefitTotalAmount());
1036:                    }
1037:                    if (this .institutionCostSharePercentEffortAmount == null
1038:                            && objCompare
1039:                                    .getInstitutionCostSharePercentEffortAmount() == null) {
1040:                    } else {
1041:                        equals &= this .institutionCostSharePercentEffortAmount != null
1042:                                && objCompare
1043:                                        .getInstitutionCostSharePercentEffortAmount() != null
1044:                                && this .institutionCostSharePercentEffortAmount
1045:                                        .equals(objCompare
1046:                                                .getInstitutionCostSharePercentEffortAmount());
1047:                    }
1048:                    if (this .institutionCostShareRequestTotalAmount == null
1049:                            && objCompare
1050:                                    .getInstitutionCostShareRequestTotalAmount() == null) {
1051:                    } else {
1052:                        equals &= this .institutionCostShareRequestTotalAmount != null
1053:                                && objCompare
1054:                                        .getInstitutionCostShareRequestTotalAmount() != null
1055:                                && this .institutionCostShareRequestTotalAmount
1056:                                        .equals(objCompare
1057:                                                .getInstitutionCostShareRequestTotalAmount());
1058:                    }
1059:                    if (this .institutionFullTimeEquivalentPercent == null
1060:                            && objCompare
1061:                                    .getInstitutionFullTimeEquivalentPercent() == null) {
1062:                    } else {
1063:                        equals &= this .institutionFullTimeEquivalentPercent != null
1064:                                && objCompare
1065:                                        .getInstitutionFullTimeEquivalentPercent() != null
1066:                                && this .institutionFullTimeEquivalentPercent
1067:                                        .equals(objCompare
1068:                                                .getInstitutionFullTimeEquivalentPercent());
1069:                    }
1070:                    if (this .institutionHealthInsuranceAmount == null
1071:                            && objCompare.getInstitutionHealthInsuranceAmount() == null) {
1072:                    } else {
1073:                        equals &= this .institutionHealthInsuranceAmount != null
1074:                                && objCompare
1075:                                        .getInstitutionHealthInsuranceAmount() != null
1076:                                && this .institutionHealthInsuranceAmount
1077:                                        .equals(objCompare
1078:                                                .getInstitutionHealthInsuranceAmount());
1079:                    }
1080:                    if (this .institutionRequestedFeesAmount == null
1081:                            && objCompare.getInstitutionRequestedFeesAmount() == null) {
1082:                    } else {
1083:                        equals &= this .institutionRequestedFeesAmount != null
1084:                                && objCompare
1085:                                        .getInstitutionRequestedFeesAmount() != null
1086:                                && this .institutionRequestedFeesAmount
1087:                                        .equals(objCompare
1088:                                                .getInstitutionRequestedFeesAmount());
1089:                    }
1090:                    if (this .institutionSalaryAmount == null
1091:                            && objCompare.getInstitutionSalaryAmount() == null) {
1092:                    } else {
1093:                        equals &= this .institutionSalaryAmount != null
1094:                                && objCompare.getInstitutionSalaryAmount() != null
1095:                                && this .institutionSalaryAmount
1096:                                        .equals(objCompare
1097:                                                .getInstitutionSalaryAmount());
1098:                    }
1099:                    if (this .userAgencyHours == null
1100:                            && objCompare.getUserAgencyHours() == null) {
1101:                    } else {
1102:                        equals &= this .userAgencyHours != null
1103:                                && objCompare.getUserAgencyHours() != null
1104:                                && this .userAgencyHours.equals(objCompare
1105:                                        .getUserAgencyHours());
1106:                    }
1107:                    if (this .userBudgetPeriodSalaryAmount == null
1108:                            && objCompare.getUserBudgetPeriodSalaryAmount() == null) {
1109:                    } else {
1110:                        equals &= this .userBudgetPeriodSalaryAmount != null
1111:                                && objCompare.getUserBudgetPeriodSalaryAmount() != null
1112:                                && this .userBudgetPeriodSalaryAmount
1113:                                        .equals(objCompare
1114:                                                .getUserBudgetPeriodSalaryAmount());
1115:                    }
1116:                    if (this .userCreditHourAmount == null
1117:                            && objCompare.getUserCreditHourAmount() == null) {
1118:                    } else {
1119:                        equals &= this .userCreditHourAmount != null
1120:                                && objCompare.getUserCreditHourAmount() != null
1121:                                && this .userCreditHourAmount.equals(objCompare
1122:                                        .getUserCreditHourAmount());
1123:                    }
1124:                    if (this .userCreditHoursNumber == null
1125:                            && objCompare.getUserCreditHoursNumber() == null) {
1126:                    } else {
1127:                        equals &= this .userCreditHoursNumber != null
1128:                                && objCompare.getUserCreditHoursNumber() != null
1129:                                && this .userCreditHoursNumber.equals(objCompare
1130:                                        .getUserCreditHoursNumber());
1131:                    }
1132:                    if (this .userHourlyRate == null
1133:                            && objCompare.getUserHourlyRate() == null) {
1134:                    } else {
1135:                        equals &= this .userHourlyRate != null
1136:                                && objCompare.getUserHourlyRate() != null
1137:                                && this .userHourlyRate.equals(objCompare
1138:                                        .getUserHourlyRate());
1139:                    }
1140:                    if (this .userMiscellaneousFeeAmount == null
1141:                            && objCompare.getUserMiscellaneousFeeAmount() == null) {
1142:                    } else {
1143:                        equals &= this .userMiscellaneousFeeAmount != null
1144:                                && objCompare.getUserMiscellaneousFeeAmount() != null
1145:                                && this .userMiscellaneousFeeAmount
1146:                                        .equals(objCompare
1147:                                                .getUserMiscellaneousFeeAmount());
1148:                    }
1149:                    if (this .userInstitutionHours == null
1150:                            && objCompare.getUserInstitutionHours() == null) {
1151:                    } else {
1152:                        equals &= this .userInstitutionHours != null
1153:                                && objCompare.getUserInstitutionHours() != null
1154:                                && this .userInstitutionHours.equals(objCompare
1155:                                        .getUserInstitutionHours());
1156:                    }
1157:                }
1158:
1159:                return equals;
1160:            }
1161:
1162:            /**
1163:             * @see java.lang.Object#hashCode()
1164:             */
1165:            public int hashCode() {
1166:                String hashString = this .getDocumentNumber()
1167:                        + "|"
1168:                        + this .getPersonWeeksJustificationText()
1169:                        + "|"
1170:                        + this .getInstitutionAppointmentTypeCode()
1171:                        + "|"
1172:                        + this .getAgencyFringeBenefitTotalAmount().toString()
1173:                        + "|"
1174:                        + this .getAgencyFullTimeEquivalentPercent().toString()
1175:                        + "|"
1176:                        + this .getAgencyHealthInsuranceAmount().toString()
1177:                        + "|"
1178:                        + this .getAgencyPercentEffortAmount().toString()
1179:                        + "|"
1180:                        + this .getAgencyRequestedFeesAmount().toString()
1181:                        + "|"
1182:                        + this .getAgencySalaryAmount().toString()
1183:                        + "|"
1184:                        + this .getBudgetFringeRate().toString()
1185:                        + "|"
1186:                        + this .getBudgetPeriodSequenceNumber().toString()
1187:                        + "|"
1188:                        + this .getBudgetTaskSequenceNumber().toString()
1189:                        + "|"
1190:                        + this .getBudgetUserSequenceNumber().toString()
1191:                        + "|"
1192:                        + this .getPeriod().toString()
1193:                        + "|"
1194:                        + this .getPeriodSalary().toString()
1195:                        + "|"
1196:                        + this .getPersonWeeksAmount().toString()
1197:                        + "|"
1198:                        + this .getTask().toString()
1199:                        + "|"
1200:                        + this .getTotalFeeRemissionsAmount().toString()
1201:                        + "|"
1202:                        + this .getTotalFringeAmount().toString()
1203:                        + "|"
1204:                        + this .getTotalFteAmount().toString()
1205:                        + "|"
1206:                        + this .getTotalGradAsstSalaryAmount().toString()
1207:                        + "|"
1208:                        + this .getTotalHealthInsuranceAmount().toString()
1209:                        + "|"
1210:                        + this .getTotalPercentEffort().toString()
1211:                        + "|"
1212:                        + this .getTotalSalaryAmount().toString()
1213:                        + "|"
1214:                        + this 
1215:                                .getInstitutionCostShareFringeBenefitTotalAmount()
1216:                                .toString()
1217:                        + "|"
1218:                        + this .getInstitutionCostSharePercentEffortAmount()
1219:                                .toString()
1220:                        + "|"
1221:                        + this .getInstitutionCostShareRequestTotalAmount()
1222:                                .toString()
1223:                        + "|"
1224:                        + this .getInstitutionFullTimeEquivalentPercent()
1225:                                .toString() + "|"
1226:                        + this .getInstitutionHealthInsuranceAmount().toString()
1227:                        + "|"
1228:                        + this .getInstitutionRequestedFeesAmount().toString()
1229:                        + "|" + this .getInstitutionSalaryAmount().toString()
1230:                        + "|" + this .getUserAgencyHours().toString() + "|"
1231:                        + this .getUserBudgetPeriodSalaryAmount().toString()
1232:                        + "|" + this .getUserCreditHourAmount().toString() + "|"
1233:                        + this .getUserCreditHoursNumber().toString() + "|"
1234:                        + this .getUserHourlyRate().toString() + "|"
1235:                        + this .getUserMiscellaneousFeeAmount().toString() + "|"
1236:                        + this.getUserInstitutionHours().toString();
1237:                return hashString.hashCode();
1238:            }
1239:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.