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


001:        /*
002:         * Copyright 2006-2007 The Kuali Foundation.
003:         * 
004:         * Licensed under the Educational Community License, Version 1.0 (the "License");
005:         * you may not use this file except in compliance with the License.
006:         * You may obtain a copy of the License at
007:         * 
008:         * http://www.opensource.org/licenses/ecl1.php
009:         * 
010:         * Unless required by applicable law or agreed to in writing, software
011:         * distributed under the License is distributed on an "AS IS" BASIS,
012:         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013:         * See the License for the specific language governing permissions and
014:         * limitations under the License.
015:         */
016:        package org.kuali.module.financial.bo;
017:
018:        import java.util.Map;
019:
020:        import org.kuali.core.util.KualiDecimal;
021:        import org.kuali.core.util.KualiInteger;
022:        import org.kuali.kfs.bo.AccountingLine;
023:        import org.kuali.kfs.bo.TargetAccountingLine;
024:
025:        /**
026:         * This class represents a target accounting line for budget adjustment
027:         */
028:        public class BudgetAdjustmentTargetAccountingLine extends
029:                TargetAccountingLine implements  BudgetAdjustmentAccountingLine {
030:
031:            private String budgetAdjustmentPeriodCode;
032:            private KualiDecimal currentBudgetAdjustmentAmount;
033:            private KualiInteger baseBudgetAdjustmentAmount;
034:            private KualiDecimal financialDocumentMonth1LineAmount;
035:            private KualiDecimal financialDocumentMonth2LineAmount;
036:            private KualiDecimal financialDocumentMonth3LineAmount;
037:            private KualiDecimal financialDocumentMonth4LineAmount;
038:            private KualiDecimal financialDocumentMonth5LineAmount;
039:            private KualiDecimal financialDocumentMonth6LineAmount;
040:            private KualiDecimal financialDocumentMonth7LineAmount;
041:            private KualiDecimal financialDocumentMonth8LineAmount;
042:            private KualiDecimal financialDocumentMonth9LineAmount;
043:            private KualiDecimal financialDocumentMonth10LineAmount;
044:            private KualiDecimal financialDocumentMonth11LineAmount;
045:            private KualiDecimal financialDocumentMonth12LineAmount;
046:            private boolean fringeBenefitIndicator;
047:
048:            public BudgetAdjustmentTargetAccountingLine() {
049:                super ();
050:                BudgetAdjustmentAccountingLineUtil.init(this );
051:            }
052:
053:            /**
054:             * @see org.kuali.core.bo.AccountingLineBase#getValuesMap()
055:             */
056:            @Override
057:            public Map getValuesMap() {
058:                Map simpleValues = super .getValuesMap();
059:                BudgetAdjustmentAccountingLineUtil.appendToValuesMap(
060:                        simpleValues, this );
061:                return simpleValues;
062:            }
063:
064:            /**
065:             * @see org.kuali.core.bo.AccountingLineBase#copyFrom(org.kuali.core.bo.AccountingLine)
066:             */
067:            @Override
068:            public void copyFrom(AccountingLine other) {
069:                super .copyFrom(other);
070:                BudgetAdjustmentAccountingLineUtil.copyFrom(this , other);
071:            }
072:
073:            /**
074:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#getMonthlyLinesTotal()
075:             */
076:            public KualiDecimal getMonthlyLinesTotal() {
077:                return BudgetAdjustmentAccountingLineUtil
078:                        .getMonthlyLinesTotal(this );
079:            }
080:
081:            public KualiInteger getBaseBudgetAdjustmentAmount() {
082:                return baseBudgetAdjustmentAmount;
083:            }
084:
085:            public void setBaseBudgetAdjustmentAmount(
086:                    KualiInteger baseBudgetAdjustmentAmount) {
087:                if (baseBudgetAdjustmentAmount != null) {
088:                    this .baseBudgetAdjustmentAmount = baseBudgetAdjustmentAmount;
089:                }
090:            }
091:
092:            public String getBudgetAdjustmentPeriodCode() {
093:                return budgetAdjustmentPeriodCode;
094:            }
095:
096:            public void setBudgetAdjustmentPeriodCode(
097:                    String budgetAdjustmentPeriodCode) {
098:                this .budgetAdjustmentPeriodCode = budgetAdjustmentPeriodCode;
099:            }
100:
101:            public KualiDecimal getCurrentBudgetAdjustmentAmount() {
102:                return currentBudgetAdjustmentAmount;
103:            }
104:
105:            public void setCurrentBudgetAdjustmentAmount(
106:                    KualiDecimal currentBudgetAdjustmentAmount) {
107:                if (currentBudgetAdjustmentAmount != null) {
108:                    this .currentBudgetAdjustmentAmount = currentBudgetAdjustmentAmount;
109:                }
110:            }
111:
112:            /**
113:             * Gets the financialDocumentMonth1LineAmount attribute.
114:             * 
115:             * @return Returns the financialDocumentMonth1LineAmount
116:             */
117:            public KualiDecimal getFinancialDocumentMonth1LineAmount() {
118:                return financialDocumentMonth1LineAmount;
119:            }
120:
121:            /**
122:             * Sets the financialDocumentMonth1LineAmount attribute.
123:             * 
124:             * @param financialDocumentMonth1LineAmount The financialDocumentMonth1LineAmount to set.
125:             */
126:            public void setFinancialDocumentMonth1LineAmount(
127:                    KualiDecimal financialDocumentMonth1LineAmount) {
128:                if (financialDocumentMonth1LineAmount != null) {
129:                    this .financialDocumentMonth1LineAmount = financialDocumentMonth1LineAmount;
130:                }
131:            }
132:
133:            /**
134:             * Gets the financialDocumentMonth2LineAmount attribute.
135:             * 
136:             * @return Returns the financialDocumentMonth2LineAmount
137:             */
138:            public KualiDecimal getFinancialDocumentMonth2LineAmount() {
139:                return financialDocumentMonth2LineAmount;
140:            }
141:
142:            /**
143:             * Sets the financialDocumentMonth2LineAmount attribute.
144:             * 
145:             * @param financialDocumentMonth2LineAmount The financialDocumentMonth2LineAmount to set.
146:             */
147:            public void setFinancialDocumentMonth2LineAmount(
148:                    KualiDecimal financialDocumentMonth2LineAmount) {
149:                if (financialDocumentMonth2LineAmount != null) {
150:                    this .financialDocumentMonth2LineAmount = financialDocumentMonth2LineAmount;
151:                }
152:            }
153:
154:            /**
155:             * Gets the financialDocumentMonth3LineAmount attribute.
156:             * 
157:             * @return Returns the financialDocumentMonth3LineAmount
158:             */
159:            public KualiDecimal getFinancialDocumentMonth3LineAmount() {
160:                return financialDocumentMonth3LineAmount;
161:            }
162:
163:            /**
164:             * Sets the financialDocumentMonth3LineAmount attribute.
165:             * 
166:             * @param financialDocumentMonth3LineAmount The financialDocumentMonth3LineAmount to set.
167:             */
168:            public void setFinancialDocumentMonth3LineAmount(
169:                    KualiDecimal financialDocumentMonth3LineAmount) {
170:                if (financialDocumentMonth3LineAmount != null) {
171:                    this .financialDocumentMonth3LineAmount = financialDocumentMonth3LineAmount;
172:                }
173:            }
174:
175:            /**
176:             * Gets the financialDocumentMonth4LineAmount attribute.
177:             * 
178:             * @return Returns the financialDocumentMonth4LineAmount
179:             */
180:            public KualiDecimal getFinancialDocumentMonth4LineAmount() {
181:                return financialDocumentMonth4LineAmount;
182:            }
183:
184:            /**
185:             * Sets the financialDocumentMonth4LineAmount attribute.
186:             * 
187:             * @param financialDocumentMonth4LineAmount The financialDocumentMonth4LineAmount to set.
188:             */
189:            public void setFinancialDocumentMonth4LineAmount(
190:                    KualiDecimal financialDocumentMonth4LineAmount) {
191:                if (financialDocumentMonth4LineAmount != null) {
192:                    this .financialDocumentMonth4LineAmount = financialDocumentMonth4LineAmount;
193:                }
194:            }
195:
196:            /**
197:             * Gets the financialDocumentMonth5LineAmount attribute.
198:             * 
199:             * @return Returns the financialDocumentMonth5LineAmount
200:             */
201:            public KualiDecimal getFinancialDocumentMonth5LineAmount() {
202:                return financialDocumentMonth5LineAmount;
203:            }
204:
205:            /**
206:             * Sets the financialDocumentMonth5LineAmount attribute.
207:             * 
208:             * @param financialDocumentMonth5LineAmount The financialDocumentMonth5LineAmount to set.
209:             */
210:            public void setFinancialDocumentMonth5LineAmount(
211:                    KualiDecimal financialDocumentMonth5LineAmount) {
212:                if (financialDocumentMonth5LineAmount != null) {
213:                    this .financialDocumentMonth5LineAmount = financialDocumentMonth5LineAmount;
214:                }
215:            }
216:
217:            /**
218:             * Gets the financialDocumentMonth6LineAmount attribute.
219:             * 
220:             * @return Returns the financialDocumentMonth6LineAmount
221:             */
222:            public KualiDecimal getFinancialDocumentMonth6LineAmount() {
223:                return financialDocumentMonth6LineAmount;
224:            }
225:
226:            /**
227:             * Sets the financialDocumentMonth6LineAmount attribute.
228:             * 
229:             * @param financialDocumentMonth6LineAmount The financialDocumentMonth6LineAmount to set.
230:             */
231:            public void setFinancialDocumentMonth6LineAmount(
232:                    KualiDecimal financialDocumentMonth6LineAmount) {
233:                if (financialDocumentMonth6LineAmount != null) {
234:                    this .financialDocumentMonth6LineAmount = financialDocumentMonth6LineAmount;
235:                }
236:            }
237:
238:            /**
239:             * Gets the financialDocumentMonth7LineAmount attribute.
240:             * 
241:             * @return Returns the financialDocumentMonth7LineAmount
242:             */
243:            public KualiDecimal getFinancialDocumentMonth7LineAmount() {
244:                return financialDocumentMonth7LineAmount;
245:            }
246:
247:            /**
248:             * Sets the financialDocumentMonth7LineAmount attribute.
249:             * 
250:             * @param financialDocumentMonth7LineAmount The financialDocumentMonth7LineAmount to set.
251:             */
252:            public void setFinancialDocumentMonth7LineAmount(
253:                    KualiDecimal financialDocumentMonth7LineAmount) {
254:                if (financialDocumentMonth7LineAmount != null) {
255:                    this .financialDocumentMonth7LineAmount = financialDocumentMonth7LineAmount;
256:                }
257:            }
258:
259:            /**
260:             * Gets the financialDocumentMonth8LineAmount attribute.
261:             * 
262:             * @return Returns the financialDocumentMonth8LineAmount
263:             */
264:            public KualiDecimal getFinancialDocumentMonth8LineAmount() {
265:                return financialDocumentMonth8LineAmount;
266:            }
267:
268:            /**
269:             * Sets the financialDocumentMonth8LineAmount attribute.
270:             * 
271:             * @param financialDocumentMonth8LineAmount The financialDocumentMonth8LineAmount to set.
272:             */
273:            public void setFinancialDocumentMonth8LineAmount(
274:                    KualiDecimal financialDocumentMonth8LineAmount) {
275:                if (financialDocumentMonth8LineAmount != null) {
276:                    this .financialDocumentMonth8LineAmount = financialDocumentMonth8LineAmount;
277:                }
278:            }
279:
280:            /**
281:             * Gets the financialDocumentMonth9LineAmount attribute.
282:             * 
283:             * @return Returns the financialDocumentMonth9LineAmount
284:             */
285:            public KualiDecimal getFinancialDocumentMonth9LineAmount() {
286:                return financialDocumentMonth9LineAmount;
287:            }
288:
289:            /**
290:             * Sets the financialDocumentMonth9LineAmount attribute.
291:             * 
292:             * @param financialDocumentMonth9LineAmount The financialDocumentMonth9LineAmount to set.
293:             */
294:            public void setFinancialDocumentMonth9LineAmount(
295:                    KualiDecimal financialDocumentMonth9LineAmount) {
296:                if (financialDocumentMonth9LineAmount != null) {
297:                    this .financialDocumentMonth9LineAmount = financialDocumentMonth9LineAmount;
298:                }
299:            }
300:
301:            /**
302:             * Gets the financialDocumentMonth10LineAmount attribute.
303:             * 
304:             * @return Returns the financialDocumentMonth10LineAmount
305:             */
306:            public KualiDecimal getFinancialDocumentMonth10LineAmount() {
307:                return financialDocumentMonth10LineAmount;
308:            }
309:
310:            /**
311:             * Sets the financialDocumentMonth10LineAmount attribute.
312:             * 
313:             * @param financialDocumentMonth10LineAmount The financialDocumentMonth10LineAmount to set.
314:             */
315:            public void setFinancialDocumentMonth10LineAmount(
316:                    KualiDecimal financialDocumentMonth10LineAmount) {
317:                if (financialDocumentMonth10LineAmount != null) {
318:                    this .financialDocumentMonth10LineAmount = financialDocumentMonth10LineAmount;
319:                }
320:            }
321:
322:            /**
323:             * Gets the financialDocumentMonth11LineAmount attribute.
324:             * 
325:             * @return Returns the financialDocumentMonth11LineAmount
326:             */
327:            public KualiDecimal getFinancialDocumentMonth11LineAmount() {
328:                return financialDocumentMonth11LineAmount;
329:            }
330:
331:            /**
332:             * Sets the financialDocumentMonth11LineAmount attribute.
333:             * 
334:             * @param financialDocumentMonth11LineAmount The financialDocumentMonth11LineAmount to set.
335:             */
336:            public void setFinancialDocumentMonth11LineAmount(
337:                    KualiDecimal financialDocumentMonth11LineAmount) {
338:                if (financialDocumentMonth11LineAmount != null) {
339:                    this .financialDocumentMonth11LineAmount = financialDocumentMonth11LineAmount;
340:                }
341:            }
342:
343:            /**
344:             * Gets the financialDocumentMonth12LineAmount attribute.
345:             * 
346:             * @return Returns the financialDocumentMonth12LineAmount
347:             */
348:            public KualiDecimal getFinancialDocumentMonth12LineAmount() {
349:                return financialDocumentMonth12LineAmount;
350:            }
351:
352:            /**
353:             * Sets the financialDocumentMonth12LineAmount attribute.
354:             * 
355:             * @param financialDocumentMonth12LineAmount The financialDocumentMonth12LineAmount to set.
356:             */
357:            public void setFinancialDocumentMonth12LineAmount(
358:                    KualiDecimal financialDocumentMonth12LineAmount) {
359:                if (financialDocumentMonth12LineAmount != null) {
360:                    this .financialDocumentMonth12LineAmount = financialDocumentMonth12LineAmount;
361:                }
362:            }
363:
364:            /**
365:             * Gets the fringeBenefitIndicator attribute.
366:             * 
367:             * @return Returns the fringeBenefitIndicator.
368:             */
369:            public boolean isFringeBenefitIndicator() {
370:                return fringeBenefitIndicator;
371:            }
372:
373:            /**
374:             * Sets the fringeBenefitIndicator attribute value.
375:             * 
376:             * @param fringeBenefitIndicator The fringeBenefitIndicator to set.
377:             */
378:            public void setFringeBenefitIndicator(boolean fringeBenefitIndicator) {
379:                this .fringeBenefitIndicator = fringeBenefitIndicator;
380:            }
381:
382:            /**
383:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#clearFinancialDocumentMonthLineAmounts()
384:             */
385:            public void clearFinancialDocumentMonthLineAmounts() {
386:                financialDocumentMonth1LineAmount = new KualiDecimal(0);
387:                financialDocumentMonth2LineAmount = new KualiDecimal(0);
388:                financialDocumentMonth3LineAmount = new KualiDecimal(0);
389:                financialDocumentMonth4LineAmount = new KualiDecimal(0);
390:                financialDocumentMonth5LineAmount = new KualiDecimal(0);
391:                financialDocumentMonth6LineAmount = new KualiDecimal(0);
392:                financialDocumentMonth7LineAmount = new KualiDecimal(0);
393:                financialDocumentMonth8LineAmount = new KualiDecimal(0);
394:                financialDocumentMonth9LineAmount = new KualiDecimal(0);
395:                financialDocumentMonth10LineAmount = new KualiDecimal(0);
396:                financialDocumentMonth11LineAmount = new KualiDecimal(0);
397:                financialDocumentMonth12LineAmount = new KualiDecimal(0);
398:            }
399:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.