Source Code Cross Referenced for ScrubberReportData.java in  » ERP-CRM-Financial » Kuali-Financial-System » org » kuali » module » gl » service » impl » scrubber » 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.gl.service.impl.scrubber 
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.gl.service.impl.scrubber;
017:
018:        /**
019:         * A class which encapsulates statistics about a scrubber run
020:         */
021:        public class ScrubberReportData {
022:            /**
023:             * Constructs a ScrubberReportData instance
024:             */
025:            public ScrubberReportData() {
026:            }
027:
028:            private int numberOfUnscrubbedRecordsRead = 0;
029:            private int numberOfScrubbedRecordsWritten = 0;
030:            private int numberOfErrorRecordsWritten = 0;
031:            private int numberOfOffsetEntriesGenerated = 0;
032:            private int numberOfCapitalizationEntriesGenerated = 0;
033:            private int numberOfLiabilityEntriesGenerated = 0;
034:            private int numberOfPlantIndebtednessEntriesGenerated = 0;
035:            private int numberOfCostShareEntriesGenerated = 0;
036:            private int numberOfCostShareEncumbrancesGenerated = 0;
037:            private int numberOfExpiredAccountsFound = 0;
038:
039:            /**
040:             * Adds the values from the parameter report data into this object.
041:             * 
042:             * @param anotherReport another set of scrubber report data to add to this scrubber report data
043:             */
044:            public void incorporateReportData(ScrubberReportData anotherReport) {
045:                numberOfUnscrubbedRecordsRead += anotherReport.numberOfUnscrubbedRecordsRead;
046:                numberOfScrubbedRecordsWritten += anotherReport.numberOfScrubbedRecordsWritten;
047:                numberOfErrorRecordsWritten += anotherReport.numberOfErrorRecordsWritten;
048:                numberOfOffsetEntriesGenerated += anotherReport.numberOfOffsetEntriesGenerated;
049:                numberOfCapitalizationEntriesGenerated += anotherReport.numberOfCapitalizationEntriesGenerated;
050:                numberOfLiabilityEntriesGenerated += anotherReport.numberOfLiabilityEntriesGenerated;
051:                numberOfPlantIndebtednessEntriesGenerated += anotherReport.numberOfPlantIndebtednessEntriesGenerated;
052:                numberOfCostShareEntriesGenerated += anotherReport.numberOfCostShareEntriesGenerated;
053:                numberOfCostShareEncumbrancesGenerated += anotherReport.numberOfCostShareEncumbrancesGenerated;
054:                numberOfExpiredAccountsFound += numberOfExpiredAccountsFound;
055:            }
056:
057:            /**
058:             * Increments the error records written count by 1
059:             */
060:            public void incrementErrorRecordWritten() {
061:                numberOfErrorRecordsWritten++;
062:            }
063:
064:            /**
065:             * Increments the expired account found count by 1
066:             */
067:            public void incrementExpiredAccountFound() {
068:                numberOfExpiredAccountsFound++;
069:            }
070:
071:            /**
072:             * Increments the scrubbed records written count by 1
073:             */
074:            public void incrementScrubbedRecordWritten() {
075:                numberOfScrubbedRecordsWritten++;
076:            }
077:
078:            /**
079:             * Increments the offset entry generated count by 1
080:             */
081:            public void incrementOffsetEntryGenerated() {
082:                numberOfOffsetEntriesGenerated++;
083:            }
084:
085:            /**
086:             * Increments the capitalization entry generated count by 1
087:             */
088:            public void incrementCapitalizationEntryGenerated() {
089:                numberOfCapitalizationEntriesGenerated++;
090:            }
091:
092:            /**
093:             * Increments the liability entry generated count by 1
094:             */
095:            public void incrementLiabilityEntryGenerated() {
096:                numberOfLiabilityEntriesGenerated++;
097:            }
098:
099:            /**
100:             * Increments the plant indebtedness entry count by 1
101:             */
102:            public void incrementPlantIndebtednessEntryGenerated() {
103:                numberOfPlantIndebtednessEntriesGenerated++;
104:            }
105:
106:            /**
107:             * Increments the cost share entry generated count by 1
108:             */
109:            public void incrementCostShareEntryGenerated() {
110:                numberOfCostShareEntriesGenerated++;
111:            }
112:
113:            /**
114:             * Increments the cost share encumbranace generated count by 1
115:             */
116:            public void incrementCostShareEncumbranceGenerated() {
117:                numberOfCostShareEncumbrancesGenerated++;
118:            }
119:
120:            /**
121:             * Increments the unscrubbed records read count by 1
122:             */
123:            public void incrementUnscrubbedRecordsRead() {
124:                numberOfUnscrubbedRecordsRead++;
125:            }
126:
127:            /**
128:             * @return Returns the numberOfUnscrubbedRecordsRead.
129:             */
130:            public int getNumberOfUnscrubbedRecordsRead() {
131:                return numberOfUnscrubbedRecordsRead;
132:            }
133:
134:            /**
135:             * @return Returns the numberOfScrubbedRecordsWritten.
136:             */
137:            public int getNumberOfScrubbedRecordsWritten() {
138:                return numberOfScrubbedRecordsWritten;
139:            }
140:
141:            /**
142:             * @return Returns the numberOfErrorRecordsWritten.
143:             */
144:            public int getNumberOfErrorRecordsWritten() {
145:                return numberOfErrorRecordsWritten;
146:            }
147:
148:            /**
149:             * @return Returns the numberOfOffsetEntriesGenerated.
150:             */
151:            public int getNumberOfOffsetEntriesGenerated() {
152:                return numberOfOffsetEntriesGenerated;
153:            }
154:
155:            /**
156:             * @return Returns the numberOfCapitalizationEntriesGenerated.
157:             */
158:            public int getNumberOfCapitalizationEntriesGenerated() {
159:                return numberOfCapitalizationEntriesGenerated;
160:            }
161:
162:            /**
163:             * @return Returns the numberOfLiabilityEntriesGenerated.
164:             */
165:            public int getNumberOfLiabilityEntriesGenerated() {
166:                return numberOfLiabilityEntriesGenerated;
167:            }
168:
169:            /**
170:             * @return Returns the numberOfPlantIndebtednessEntriesGenerated.
171:             */
172:            public int getNumberOfPlantIndebtednessEntriesGenerated() {
173:                return numberOfPlantIndebtednessEntriesGenerated;
174:            }
175:
176:            /**
177:             * @return Returns the numberOfCostShareEntriesGenerated.
178:             */
179:            public int getNumberOfCostShareEntriesGenerated() {
180:                return numberOfCostShareEntriesGenerated;
181:            }
182:
183:            /**
184:             * @return Returns the numberOfCostShareEncumbrancesGenerated.
185:             */
186:            public int getNumberOfCostShareEncumbrancesGenerated() {
187:                return numberOfCostShareEncumbrancesGenerated;
188:            }
189:
190:            /**
191:             * @return Returns the totalNumberOfRecordsWritten.
192:             */
193:            public int getTotalNumberOfRecordsWritten() {
194:                return numberOfScrubbedRecordsWritten
195:                        + numberOfErrorRecordsWritten
196:                        + numberOfOffsetEntriesGenerated
197:                        + numberOfCapitalizationEntriesGenerated
198:                        + numberOfLiabilityEntriesGenerated
199:                        + numberOfPlantIndebtednessEntriesGenerated
200:                        + numberOfCostShareEntriesGenerated
201:                        + numberOfCostShareEncumbrancesGenerated;
202:            }
203:
204:            /**
205:             * @return Returns the numberOfExpiredAccountsFound.
206:             */
207:            public int getNumberOfExpiredAccountsFound() {
208:                return numberOfExpiredAccountsFound;
209:            }
210:
211:        }
w_ww__.___j_a___v__a___2_s_.__c__o__m__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.