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


001:        /*
002:         * Copyright 2005-2007 The Kuali Foundation.
003:         * 
004:         * Licensed under the Educational Community License, Version 1.0 (the "License");
005:         * you may not use this file except in compliance with the License.
006:         * You may obtain a copy of the License at
007:         * 
008:         * http://www.opensource.org/licenses/ecl1.php
009:         * 
010:         * Unless required by applicable law or agreed to in writing, software
011:         * distributed under the License is distributed on an "AS IS" BASIS,
012:         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013:         * See the License for the specific language governing permissions and
014:         * limitations under the License.
015:         */
016:
017:        package org.kuali.module.chart.bo;
018:
019:        import java.util.Iterator;
020:        import java.util.LinkedHashMap;
021:        import java.util.List;
022:
023:        import org.kuali.core.bo.PersistableBusinessObjectBase;
024:        import org.kuali.core.util.TypedArrayList;
025:        import org.kuali.kfs.bo.Options;
026:
027:        /**
028:         * 
029:         */
030:        public class OrganizationReversion extends
031:                PersistableBusinessObjectBase {
032:
033:            private Integer universityFiscalYear;
034:            private String chartOfAccountsCode;
035:            private String organizationCode;
036:            private String budgetReversionChartOfAccountsCode;
037:            private String budgetReversionAccountNumber;
038:            private boolean carryForwardByObjectCodeIndicator;
039:            private String cashReversionFinancialChartOfAccountsCode;
040:            private String cashReversionAccountNumber;
041:            private Chart chartOfAccounts;
042:            private Account cashReversionAccount;
043:            private Account budgetReversionAccount;
044:            private Chart budgetReversionChartOfAccounts;
045:            private Chart cashReversionFinancialChartOfAccounts;
046:            private Options universityFiscal;
047:            private Org organization;
048:            private List<Org> organizations; // This is only used by the "global" document
049:            private List<OrganizationReversionDetail> organizationReversionDetail;
050:
051:            /**
052:             * Default constructor.
053:             */
054:            public OrganizationReversion() {
055:                organizations = new TypedArrayList(Org.class);
056:                organizationReversionDetail = new TypedArrayList(
057:                        OrganizationReversionDetail.class);
058:            }
059:
060:            public List<OrganizationReversionDetail> getOrganizationReversionDetail() {
061:                return organizationReversionDetail;
062:            }
063:
064:            public void addOrganizationReversionDetail(
065:                    OrganizationReversionDetail ord) {
066:                organizationReversionDetail.add(ord);
067:            }
068:
069:            public void setOrganizationReversionDetail(
070:                    List<OrganizationReversionDetail> organizationReversionDetail) {
071:                this .organizationReversionDetail = organizationReversionDetail;
072:            }
073:
074:            public OrganizationReversionDetail getOrganizationReversionDetail(
075:                    String categoryCode) {
076:                for (Iterator iter = organizationReversionDetail.iterator(); iter
077:                        .hasNext();) {
078:                    OrganizationReversionDetail element = (OrganizationReversionDetail) iter
079:                            .next();
080:                    if (element.getOrganizationReversionCategoryCode().equals(
081:                            categoryCode)) {
082:                        return element;
083:                    }
084:                }
085:                return null;
086:            }
087:
088:            /**
089:             * Gets the universityFiscalYear attribute.
090:             * 
091:             * @return Returns the universityFiscalYear
092:             */
093:            public Integer getUniversityFiscalYear() {
094:                return universityFiscalYear;
095:            }
096:
097:            /**
098:             * Sets the universityFiscalYear attribute.
099:             * 
100:             * @param universityFiscalYear The universityFiscalYear to set.
101:             */
102:            public void setUniversityFiscalYear(Integer universityFiscalYear) {
103:                this .universityFiscalYear = universityFiscalYear;
104:            }
105:
106:            /**
107:             * Gets the chartOfAccountsCode attribute.
108:             * 
109:             * @return Returns the chartOfAccountsCode
110:             */
111:            public String getChartOfAccountsCode() {
112:                return chartOfAccountsCode;
113:            }
114:
115:            /**
116:             * Sets the chartOfAccountsCode attribute.
117:             * 
118:             * @param chartOfAccountsCode The chartOfAccountsCode to set.
119:             */
120:            public void setChartOfAccountsCode(String chartOfAccountsCode) {
121:                this .chartOfAccountsCode = chartOfAccountsCode;
122:            }
123:
124:            /**
125:             * Gets the organizationCode attribute.
126:             * 
127:             * @return Returns the organizationCode
128:             */
129:            public String getOrganizationCode() {
130:                return organizationCode;
131:            }
132:
133:            /**
134:             * Sets the organizationCode attribute.
135:             * 
136:             * @param organizationCode The organizationCode to set.
137:             */
138:            public void setOrganizationCode(String organizationCode) {
139:                this .organizationCode = organizationCode;
140:            }
141:
142:            /**
143:             * Gets the budgetReversionChartOfAccountsCode attribute.
144:             * 
145:             * @return Returns the budgetReversionChartOfAccountsCode
146:             */
147:            public String getBudgetReversionChartOfAccountsCode() {
148:                return budgetReversionChartOfAccountsCode;
149:            }
150:
151:            /**
152:             * Sets the budgetReversionChartOfAccountsCode attribute.
153:             * 
154:             * @param budgetReversionChartOfAccountsCode The budgetReversionChartOfAccountsCode to set.
155:             */
156:            public void setBudgetReversionChartOfAccountsCode(
157:                    String budgetReversionChartOfAccountsCode) {
158:                this .budgetReversionChartOfAccountsCode = budgetReversionChartOfAccountsCode;
159:            }
160:
161:            /**
162:             * Gets the budgetReversionAccountNumber attribute.
163:             * 
164:             * @return Returns the budgetReversionAccountNumber
165:             */
166:            public String getBudgetReversionAccountNumber() {
167:                return budgetReversionAccountNumber;
168:            }
169:
170:            /**
171:             * Sets the budgetReversionAccountNumber attribute.
172:             * 
173:             * @param budgetReversionAccountNumber The budgetReversionAccountNumber to set.
174:             */
175:            public void setBudgetReversionAccountNumber(
176:                    String budgetReversionAccountNumber) {
177:                this .budgetReversionAccountNumber = budgetReversionAccountNumber;
178:            }
179:
180:            /**
181:             * Gets the carryForwardByObjectCodeIndicator attribute.
182:             * 
183:             * @return Returns the carryForwardByObjectCodeIndicator
184:             */
185:            public boolean isCarryForwardByObjectCodeIndicator() {
186:                return carryForwardByObjectCodeIndicator;
187:            }
188:
189:            /**
190:             * Sets the carryForwardByObjectCodeIndicator attribute.
191:             * 
192:             * @param carryForwardByObjectCodeIndicator The carryForwardByObjectCodeIndicator to set.
193:             */
194:            public void setCarryForwardByObjectCodeIndicator(
195:                    boolean carryForwardByObjectCodeIndicator) {
196:                this .carryForwardByObjectCodeIndicator = carryForwardByObjectCodeIndicator;
197:            }
198:
199:            /**
200:             * Gets the cashReversionFinancialChartOfAccountsCode attribute.
201:             * 
202:             * @return Returns the cashReversionFinancialChartOfAccountsCode
203:             */
204:            public String getCashReversionFinancialChartOfAccountsCode() {
205:                return cashReversionFinancialChartOfAccountsCode;
206:            }
207:
208:            /**
209:             * Sets the cashReversionFinancialChartOfAccountsCode attribute.
210:             * 
211:             * @param cashReversionFinancialChartOfAccountsCode The cashReversionFinancialChartOfAccountsCode to set.
212:             */
213:            public void setCashReversionFinancialChartOfAccountsCode(
214:                    String cashReversionFinancialChartOfAccountsCode) {
215:                this .cashReversionFinancialChartOfAccountsCode = cashReversionFinancialChartOfAccountsCode;
216:            }
217:
218:            /**
219:             * Gets the cashReversionAccountNumber attribute.
220:             * 
221:             * @return Returns the cashReversionAccountNumber
222:             */
223:            public String getCashReversionAccountNumber() {
224:                return cashReversionAccountNumber;
225:            }
226:
227:            /**
228:             * Sets the cashReversionAccountNumber attribute.
229:             * 
230:             * @param cashReversionAccountNumber The cashReversionAccountNumber to set.
231:             */
232:            public void setCashReversionAccountNumber(
233:                    String cashReversionAccountNumber) {
234:                this .cashReversionAccountNumber = cashReversionAccountNumber;
235:            }
236:
237:            /**
238:             * Gets the chartOfAccounts attribute.
239:             * 
240:             * @return Returns the chartOfAccounts
241:             */
242:            public Chart getChartOfAccounts() {
243:                return chartOfAccounts;
244:            }
245:
246:            /**
247:             * Sets the chartOfAccounts attribute.
248:             * 
249:             * @param chartOfAccounts The chartOfAccounts to set.
250:             * @deprecated
251:             */
252:            public void setChartOfAccounts(Chart chartOfAccounts) {
253:                this .chartOfAccounts = chartOfAccounts;
254:            }
255:
256:            /**
257:             * Gets the organization attribute.
258:             * 
259:             * @return Returns the organization
260:             */
261:            public List<Org> getOrganizations() {
262:                return organizations;
263:            }
264:
265:            /**
266:             * Sets the organization attribute.
267:             * 
268:             * @param organization The organization to set.
269:             * @deprecated
270:             */
271:            public void setOrganizations(List<Org> organization) {
272:                this .organizations = organization;
273:            }
274:
275:            /**
276:             * Gets the cashReversionAccount attribute.
277:             * 
278:             * @return Returns the cashReversionAccount
279:             */
280:            public Account getCashReversionAccount() {
281:                return cashReversionAccount;
282:            }
283:
284:            /**
285:             * Sets the cashReversionAccount attribute.
286:             * 
287:             * @param cashReversionAccount The cashReversionAccount to set.
288:             * @deprecated
289:             */
290:            public void setCashReversionAccount(Account cashReversionAccount) {
291:                this .cashReversionAccount = cashReversionAccount;
292:            }
293:
294:            /**
295:             * Gets the budgetReversionAccount attribute.
296:             * 
297:             * @return Returns the budgetReversionAccount
298:             */
299:            public Account getBudgetReversionAccount() {
300:                return budgetReversionAccount;
301:            }
302:
303:            /**
304:             * Sets the budgetReversionAccount attribute.
305:             * 
306:             * @param budgetReversionAccount The budgetReversionAccount to set.
307:             * @deprecated
308:             */
309:            public void setBudgetReversionAccount(Account budgetReversionAccount) {
310:                this .budgetReversionAccount = budgetReversionAccount;
311:            }
312:
313:            /**
314:             * Gets the budgetReversionChartOfAccounts attribute.
315:             * 
316:             * @return Returns the budgetReversionChartOfAccounts
317:             */
318:            public Chart getBudgetReversionChartOfAccounts() {
319:                return budgetReversionChartOfAccounts;
320:            }
321:
322:            /**
323:             * Sets the budgetReversionChartOfAccounts attribute.
324:             * 
325:             * @param budgetReversionChartOfAccounts The budgetReversionChartOfAccounts to set.
326:             * @deprecated
327:             */
328:            public void setBudgetReversionChartOfAccounts(
329:                    Chart budgetReversionChartOfAccounts) {
330:                this .budgetReversionChartOfAccounts = budgetReversionChartOfAccounts;
331:            }
332:
333:            /**
334:             * Gets the cashReversionFinancialChartOfAccounts attribute.
335:             * 
336:             * @return Returns the cashReversionFinancialChartOfAccounts
337:             */
338:            public Chart getCashReversionFinancialChartOfAccounts() {
339:                return cashReversionFinancialChartOfAccounts;
340:            }
341:
342:            /**
343:             * Sets the cashReversionFinancialChartOfAccounts attribute.
344:             * 
345:             * @param cashReversionFinancialChartOfAccounts The cashReversionFinancialChartOfAccounts to set.
346:             * @deprecated
347:             */
348:            public void setCashReversionFinancialChartOfAccounts(
349:                    Chart cashReversionFinancialChartOfAccounts) {
350:                this .cashReversionFinancialChartOfAccounts = cashReversionFinancialChartOfAccounts;
351:            }
352:
353:            /**
354:             * Gets the universityFiscal attribute.
355:             * 
356:             * @return Returns the universityFiscal.
357:             */
358:            public Options getUniversityFiscal() {
359:                return universityFiscal;
360:            }
361:
362:            /**
363:             * Sets the universityFiscal attribute value.
364:             * 
365:             * @param universityFiscal The universityFiscal to set.
366:             */
367:            public void setUniversityFiscal(Options universityFiscal) {
368:                this .universityFiscal = universityFiscal;
369:            }
370:
371:            /**
372:             * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
373:             */
374:            protected LinkedHashMap toStringMapper() {
375:                LinkedHashMap m = new LinkedHashMap();
376:                if (this .universityFiscalYear != null) {
377:                    m.put("universityFiscalYear", this .universityFiscalYear
378:                            .toString());
379:                }
380:                m.put("chartOfAccountsCode", this .chartOfAccountsCode);
381:                m.put("organizationCode", this .organizationCode);
382:                return m;
383:            }
384:
385:            public Org getOrganization() {
386:                return organization;
387:            }
388:
389:            public void setOrganization(Org organization) {
390:                this .organization = organization;
391:            }
392:
393:            /**
394:             * This method (a hack by any other name...) returns a string so that an organization reversion can have a link to view its own
395:             * inquiry page after a look up
396:             * 
397:             * @return the String "View Organization Reversion"
398:             */
399:            public String getOrganizationReversionViewer() {
400:                return "View Organization Reversion";
401:            }
402:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.