Source Code Cross Referenced for BudgetAdjustmentSourceAccountingLine.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.SourceAccountingLine;
024:
025:        /**
026:         * Special case <code>{@link SourceAccountingLine}</code> type for
027:         * <code>{@link org.kuali.module.financial.document.BudgetAdjustmentDocument}</code>
028:         */
029:        public class BudgetAdjustmentSourceAccountingLine extends
030:                SourceAccountingLine implements  BudgetAdjustmentAccountingLine {
031:
032:            private String budgetAdjustmentPeriodCode;
033:            private KualiDecimal currentBudgetAdjustmentAmount;
034:            private KualiInteger baseBudgetAdjustmentAmount;
035:            private KualiDecimal financialDocumentMonth1LineAmount;
036:            private KualiDecimal financialDocumentMonth2LineAmount;
037:            private KualiDecimal financialDocumentMonth3LineAmount;
038:            private KualiDecimal financialDocumentMonth4LineAmount;
039:            private KualiDecimal financialDocumentMonth5LineAmount;
040:            private KualiDecimal financialDocumentMonth6LineAmount;
041:            private KualiDecimal financialDocumentMonth7LineAmount;
042:            private KualiDecimal financialDocumentMonth8LineAmount;
043:            private KualiDecimal financialDocumentMonth9LineAmount;
044:            private KualiDecimal financialDocumentMonth10LineAmount;
045:            private KualiDecimal financialDocumentMonth11LineAmount;
046:            private KualiDecimal financialDocumentMonth12LineAmount;
047:            private boolean fringeBenefitIndicator;
048:
049:            public BudgetAdjustmentSourceAccountingLine() {
050:                super ();
051:                BudgetAdjustmentAccountingLineUtil.init(this );
052:            }
053:
054:            /**
055:             * @see org.kuali.core.bo.AccountingLineBase#getValuesMap()
056:             */
057:            @Override
058:            public Map getValuesMap() {
059:                Map simpleValues = super .getValuesMap();
060:                BudgetAdjustmentAccountingLineUtil.appendToValuesMap(
061:                        simpleValues, this );
062:                return simpleValues;
063:            }
064:
065:            /**
066:             * @see org.kuali.core.bo.AccountingLineBase#copyFrom(org.kuali.core.bo.AccountingLine)
067:             */
068:            @Override
069:            public void copyFrom(AccountingLine other) {
070:                super .copyFrom(other);
071:                BudgetAdjustmentAccountingLineUtil.copyFrom(this , other);
072:            }
073:
074:            /**
075:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#getMonthlyLinesTotal()
076:             */
077:            public KualiDecimal getMonthlyLinesTotal() {
078:                return BudgetAdjustmentAccountingLineUtil
079:                        .getMonthlyLinesTotal(this );
080:            }
081:
082:            /**
083:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#getBaseBudgetAdjustmentAmount()
084:             */
085:            public KualiInteger getBaseBudgetAdjustmentAmount() {
086:                return baseBudgetAdjustmentAmount;
087:            }
088:
089:            /**
090:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#setBaseBudgetAdjustmentAmount(org.kuali.core.util.KualiDecimal)
091:             */
092:            public void setBaseBudgetAdjustmentAmount(
093:                    KualiInteger baseBudgetAdjustmentAmount) {
094:                if (baseBudgetAdjustmentAmount != null) {
095:                    this .baseBudgetAdjustmentAmount = baseBudgetAdjustmentAmount;
096:                }
097:            }
098:
099:            public void setBaseBudgetAdjustmentAmount(
100:                    KualiDecimal baseBudgetAdjustmentAmount) {
101:                if (baseBudgetAdjustmentAmount != null) {
102:                    this .baseBudgetAdjustmentAmount = new KualiInteger(
103:                            baseBudgetAdjustmentAmount.bigDecimalValue());
104:                }
105:            }
106:
107:            /**
108:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#getBudgetAdjustmentPeriodCode()
109:             */
110:            public String getBudgetAdjustmentPeriodCode() {
111:                return budgetAdjustmentPeriodCode;
112:            }
113:
114:            /**
115:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#setBudgetAdjustmentPeriodCode(java.lang.String)
116:             */
117:            public void setBudgetAdjustmentPeriodCode(
118:                    String budgetAdjustmentPeriodCode) {
119:                this .budgetAdjustmentPeriodCode = budgetAdjustmentPeriodCode;
120:            }
121:
122:            /**
123:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#getCurrentBudgetAdjustmentAmount()
124:             */
125:            public KualiDecimal getCurrentBudgetAdjustmentAmount() {
126:                return currentBudgetAdjustmentAmount;
127:            }
128:
129:            /**
130:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#setCurrentBudgetAdjustmentAmount(org.kuali.core.util.KualiDecimal)
131:             */
132:            public void setCurrentBudgetAdjustmentAmount(
133:                    KualiDecimal currentBudgetAdjustmentAmount) {
134:                if (currentBudgetAdjustmentAmount != null) {
135:                    this .currentBudgetAdjustmentAmount = currentBudgetAdjustmentAmount;
136:                }
137:            }
138:
139:            /**
140:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#getFinancialDocumentMonth1LineAmount()
141:             */
142:            public KualiDecimal getFinancialDocumentMonth1LineAmount() {
143:                return financialDocumentMonth1LineAmount;
144:            }
145:
146:            /**
147:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#setFinancialDocumentMonth1LineAmount(org.kuali.core.util.KualiDecimal)
148:             */
149:            public void setFinancialDocumentMonth1LineAmount(
150:                    KualiDecimal financialDocumentMonth1LineAmount) {
151:                if (financialDocumentMonth1LineAmount != null) {
152:                    this .financialDocumentMonth1LineAmount = financialDocumentMonth1LineAmount;
153:                }
154:            }
155:
156:            /**
157:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#getFinancialDocumentMonth2LineAmount()
158:             */
159:            public KualiDecimal getFinancialDocumentMonth2LineAmount() {
160:                return financialDocumentMonth2LineAmount;
161:            }
162:
163:            /**
164:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#setFinancialDocumentMonth2LineAmount(org.kuali.core.util.KualiDecimal)
165:             */
166:            public void setFinancialDocumentMonth2LineAmount(
167:                    KualiDecimal financialDocumentMonth2LineAmount) {
168:                if (financialDocumentMonth2LineAmount != null) {
169:                    this .financialDocumentMonth2LineAmount = financialDocumentMonth2LineAmount;
170:                }
171:            }
172:
173:            /**
174:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#getFinancialDocumentMonth3LineAmount()
175:             */
176:            public KualiDecimal getFinancialDocumentMonth3LineAmount() {
177:                return financialDocumentMonth3LineAmount;
178:            }
179:
180:            /**
181:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#setFinancialDocumentMonth3LineAmount(org.kuali.core.util.KualiDecimal)
182:             */
183:            public void setFinancialDocumentMonth3LineAmount(
184:                    KualiDecimal financialDocumentMonth3LineAmount) {
185:                if (financialDocumentMonth3LineAmount != null) {
186:                    this .financialDocumentMonth3LineAmount = financialDocumentMonth3LineAmount;
187:                }
188:            }
189:
190:            /**
191:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#getFinancialDocumentMonth4LineAmount()
192:             */
193:            public KualiDecimal getFinancialDocumentMonth4LineAmount() {
194:                return financialDocumentMonth4LineAmount;
195:            }
196:
197:            /**
198:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#setFinancialDocumentMonth4LineAmount(org.kuali.core.util.KualiDecimal)
199:             */
200:            public void setFinancialDocumentMonth4LineAmount(
201:                    KualiDecimal financialDocumentMonth4LineAmount) {
202:                if (financialDocumentMonth4LineAmount != null) {
203:                    this .financialDocumentMonth4LineAmount = financialDocumentMonth4LineAmount;
204:                }
205:            }
206:
207:            /**
208:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#getFinancialDocumentMonth5LineAmount()
209:             */
210:            public KualiDecimal getFinancialDocumentMonth5LineAmount() {
211:                return financialDocumentMonth5LineAmount;
212:            }
213:
214:            /**
215:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#setFinancialDocumentMonth5LineAmount(org.kuali.core.util.KualiDecimal)
216:             */
217:            public void setFinancialDocumentMonth5LineAmount(
218:                    KualiDecimal financialDocumentMonth5LineAmount) {
219:                if (financialDocumentMonth5LineAmount != null) {
220:                    this .financialDocumentMonth5LineAmount = financialDocumentMonth5LineAmount;
221:                }
222:            }
223:
224:            /**
225:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#getFinancialDocumentMonth6LineAmount()
226:             */
227:            public KualiDecimal getFinancialDocumentMonth6LineAmount() {
228:                return financialDocumentMonth6LineAmount;
229:            }
230:
231:            /**
232:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#setFinancialDocumentMonth6LineAmount(org.kuali.core.util.KualiDecimal)
233:             */
234:            public void setFinancialDocumentMonth6LineAmount(
235:                    KualiDecimal financialDocumentMonth6LineAmount) {
236:                if (financialDocumentMonth6LineAmount != null) {
237:                    this .financialDocumentMonth6LineAmount = financialDocumentMonth6LineAmount;
238:                }
239:            }
240:
241:            /**
242:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#getFinancialDocumentMonth7LineAmount()
243:             */
244:            public KualiDecimal getFinancialDocumentMonth7LineAmount() {
245:                return financialDocumentMonth7LineAmount;
246:            }
247:
248:            /**
249:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#setFinancialDocumentMonth7LineAmount(org.kuali.core.util.KualiDecimal)
250:             */
251:            public void setFinancialDocumentMonth7LineAmount(
252:                    KualiDecimal financialDocumentMonth7LineAmount) {
253:                if (financialDocumentMonth7LineAmount != null) {
254:                    this .financialDocumentMonth7LineAmount = financialDocumentMonth7LineAmount;
255:                }
256:            }
257:
258:            /**
259:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#getFinancialDocumentMonth8LineAmount()
260:             */
261:            public KualiDecimal getFinancialDocumentMonth8LineAmount() {
262:                return financialDocumentMonth8LineAmount;
263:            }
264:
265:            /**
266:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#setFinancialDocumentMonth8LineAmount(org.kuali.core.util.KualiDecimal)
267:             */
268:            public void setFinancialDocumentMonth8LineAmount(
269:                    KualiDecimal financialDocumentMonth8LineAmount) {
270:                if (financialDocumentMonth8LineAmount != null) {
271:                    this .financialDocumentMonth8LineAmount = financialDocumentMonth8LineAmount;
272:                }
273:            }
274:
275:            /**
276:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#getFinancialDocumentMonth9LineAmount()
277:             */
278:            public KualiDecimal getFinancialDocumentMonth9LineAmount() {
279:                return financialDocumentMonth9LineAmount;
280:            }
281:
282:            /**
283:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#setFinancialDocumentMonth9LineAmount(org.kuali.core.util.KualiDecimal)
284:             */
285:            public void setFinancialDocumentMonth9LineAmount(
286:                    KualiDecimal financialDocumentMonth9LineAmount) {
287:                if (financialDocumentMonth9LineAmount != null) {
288:                    this .financialDocumentMonth9LineAmount = financialDocumentMonth9LineAmount;
289:                }
290:            }
291:
292:            /**
293:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#getFinancialDocumentMonth10LineAmount()
294:             */
295:            public KualiDecimal getFinancialDocumentMonth10LineAmount() {
296:                return financialDocumentMonth10LineAmount;
297:            }
298:
299:            /**
300:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#setFinancialDocumentMonth10LineAmount(org.kuali.core.util.KualiDecimal)
301:             */
302:            public void setFinancialDocumentMonth10LineAmount(
303:                    KualiDecimal financialDocumentMonth10LineAmount) {
304:                if (financialDocumentMonth10LineAmount != null) {
305:                    this .financialDocumentMonth10LineAmount = financialDocumentMonth10LineAmount;
306:                }
307:            }
308:
309:            /**
310:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#getFinancialDocumentMonth11LineAmount()
311:             */
312:            public KualiDecimal getFinancialDocumentMonth11LineAmount() {
313:                return financialDocumentMonth11LineAmount;
314:            }
315:
316:            /**
317:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#setFinancialDocumentMonth11LineAmount(org.kuali.core.util.KualiDecimal)
318:             */
319:            public void setFinancialDocumentMonth11LineAmount(
320:                    KualiDecimal financialDocumentMonth11LineAmount) {
321:                if (financialDocumentMonth11LineAmount != null) {
322:                    this .financialDocumentMonth11LineAmount = financialDocumentMonth11LineAmount;
323:                }
324:            }
325:
326:            /**
327:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#getFinancialDocumentMonth12LineAmount()
328:             */
329:            public KualiDecimal getFinancialDocumentMonth12LineAmount() {
330:                return financialDocumentMonth12LineAmount;
331:            }
332:
333:            /**
334:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#setFinancialDocumentMonth12LineAmount(org.kuali.core.util.KualiDecimal)
335:             */
336:            public void setFinancialDocumentMonth12LineAmount(
337:                    KualiDecimal financialDocumentMonth12LineAmount) {
338:                if (financialDocumentMonth12LineAmount != null) {
339:                    this .financialDocumentMonth12LineAmount = financialDocumentMonth12LineAmount;
340:                }
341:            }
342:
343:            /**
344:             * Gets the fringeBenefitIndicator attribute.
345:             * 
346:             * @return Returns the fringeBenefitIndicator.
347:             */
348:            public boolean isFringeBenefitIndicator() {
349:                return fringeBenefitIndicator;
350:            }
351:
352:            /**
353:             * Sets the fringeBenefitIndicator attribute value.
354:             * 
355:             * @param fringeBenefitIndicator The fringeBenefitIndicator to set.
356:             */
357:            public void setFringeBenefitIndicator(boolean fringeBenefitIndicator) {
358:                this .fringeBenefitIndicator = fringeBenefitIndicator;
359:            }
360:
361:            /**
362:             * @see org.kuali.module.financial.bo.BudgetAdjustmentAccountingLine#clearFinancialDocumentMonthLineAmounts()
363:             */
364:            public void clearFinancialDocumentMonthLineAmounts() {
365:                financialDocumentMonth1LineAmount = new KualiDecimal(0);
366:                financialDocumentMonth2LineAmount = new KualiDecimal(0);
367:                financialDocumentMonth3LineAmount = new KualiDecimal(0);
368:                financialDocumentMonth4LineAmount = new KualiDecimal(0);
369:                financialDocumentMonth5LineAmount = new KualiDecimal(0);
370:                financialDocumentMonth6LineAmount = new KualiDecimal(0);
371:                financialDocumentMonth7LineAmount = new KualiDecimal(0);
372:                financialDocumentMonth8LineAmount = new KualiDecimal(0);
373:                financialDocumentMonth9LineAmount = new KualiDecimal(0);
374:                financialDocumentMonth10LineAmount = new KualiDecimal(0);
375:                financialDocumentMonth11LineAmount = new KualiDecimal(0);
376:                financialDocumentMonth12LineAmount = new KualiDecimal(0);
377:            }
378:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.