Source Code Cross Referenced for ProcurementCardHolder.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:
017:        package org.kuali.module.financial.bo;
018:
019:        import java.util.LinkedHashMap;
020:
021:        import org.kuali.core.bo.PersistableBusinessObjectBase;
022:        import org.kuali.core.util.KualiDecimal;
023:        import org.kuali.kfs.KFSPropertyConstants;
024:        import org.kuali.module.chart.bo.Account;
025:        import org.kuali.module.chart.bo.Chart;
026:        import org.kuali.module.chart.bo.SubAccount;
027:
028:        /**
029:         * This class is used to represent a procurement card holder, or the individual whose name is on the card.
030:         */
031:        public class ProcurementCardHolder extends
032:                PersistableBusinessObjectBase {
033:
034:            private String documentNumber;
035:            private String transactionCreditCardNumber;
036:            private String cardHolderName;
037:            private String cardHolderAlternateName;
038:            private String cardHolderLine1Address;
039:            private String cardHolderLine2Address;
040:            private String cardHolderCityName;
041:            private String cardHolderStateCode;
042:            private String cardHolderZipCode;
043:            private String cardHolderWorkPhoneNumber;
044:            private KualiDecimal cardLimit;
045:            private KualiDecimal cardCycleAmountLimit;
046:            private KualiDecimal cardCycleVolumeLimit;
047:            private String cardStatusCode;
048:            private String cardNoteText;
049:            private String chartOfAccountsCode;
050:            private String accountNumber;
051:            private String subAccountNumber;
052:
053:            private Account account;
054:            private Chart chartOfAccounts;
055:            private SubAccount subAccount;
056:
057:            /**
058:             * Default constructor.
059:             */
060:            public ProcurementCardHolder() {
061:
062:            }
063:
064:            /**
065:             * Gets the documentNumber attribute.
066:             * 
067:             * @return Returns the documentNumber
068:             */
069:            public String getDocumentNumber() {
070:                return documentNumber;
071:            }
072:
073:            /**
074:             * Sets the documentNumber attribute.
075:             * 
076:             * @param documentNumber The documentNumber to set.
077:             */
078:            public void setDocumentNumber(String documentNumber) {
079:                this .documentNumber = documentNumber;
080:            }
081:
082:            /**
083:             * Gets the transactionCreditCardNumber attribute.
084:             * 
085:             * @return Returns the transactionCreditCardNumber
086:             */
087:            public String getTransactionCreditCardNumber() {
088:                return transactionCreditCardNumber;
089:            }
090:
091:            /**
092:             * Sets the transactionCreditCardNumber attribute.
093:             * 
094:             * @param transactionCreditCardNumber The transactionCreditCardNumber to set.
095:             */
096:            public void setTransactionCreditCardNumber(
097:                    String transactionCreditCardNumber) {
098:                this .transactionCreditCardNumber = transactionCreditCardNumber;
099:            }
100:
101:            /**
102:             * Gets the cardHolderName attribute.
103:             * 
104:             * @return Returns the cardHolderName
105:             */
106:            public String getCardHolderName() {
107:                return cardHolderName;
108:            }
109:
110:            /**
111:             * Sets the cardHolderName attribute.
112:             * 
113:             * @param cardHolderName The cardHolderName to set.
114:             */
115:            public void setCardHolderName(String cardHolderName) {
116:                this .cardHolderName = cardHolderName;
117:            }
118:
119:            /**
120:             * Gets the cardHolderAlternateName attribute.
121:             * 
122:             * @return Returns the cardHolderAlternateName
123:             */
124:            public String getCardHolderAlternateName() {
125:                return cardHolderAlternateName;
126:            }
127:
128:            /**
129:             * Sets the cardHolderAlternateName attribute.
130:             * 
131:             * @param cardHolderAlternateName The cardHolderAlternateName to set.
132:             */
133:            public void setCardHolderAlternateName(
134:                    String cardHolderAlternateName) {
135:                this .cardHolderAlternateName = cardHolderAlternateName;
136:            }
137:
138:            /**
139:             * Gets the cardHolderLine1Address attribute.
140:             * 
141:             * @return Returns the cardHolderLine1Address
142:             */
143:            public String getCardHolderLine1Address() {
144:                return cardHolderLine1Address;
145:            }
146:
147:            /**
148:             * Sets the cardHolderLine1Address attribute.
149:             * 
150:             * @param cardHolderLine1Address The cardHolderLine1Address to set.
151:             */
152:            public void setCardHolderLine1Address(String cardHolderLine1Address) {
153:                this .cardHolderLine1Address = cardHolderLine1Address;
154:            }
155:
156:            /**
157:             * Gets the cardHolderLine2Address attribute.
158:             * 
159:             * @return Returns the cardHolderLine2Address
160:             */
161:            public String getCardHolderLine2Address() {
162:                return cardHolderLine2Address;
163:            }
164:
165:            /**
166:             * Sets the cardHolderLine2Address attribute.
167:             * 
168:             * @param cardHolderLine2Address The cardHolderLine2Address to set.
169:             */
170:            public void setCardHolderLine2Address(String cardHolderLine2Address) {
171:                this .cardHolderLine2Address = cardHolderLine2Address;
172:            }
173:
174:            /**
175:             * Gets the cardHolderCityName attribute.
176:             * 
177:             * @return Returns the cardHolderCityName
178:             */
179:            public String getCardHolderCityName() {
180:                return cardHolderCityName;
181:            }
182:
183:            /**
184:             * Sets the cardHolderCityName attribute.
185:             * 
186:             * @param cardHolderCityName The cardHolderCityName to set.
187:             */
188:            public void setCardHolderCityName(String cardHolderCityName) {
189:                this .cardHolderCityName = cardHolderCityName;
190:            }
191:
192:            /**
193:             * Gets the cardHolderStateCode attribute.
194:             * 
195:             * @return Returns the cardHolderStateCode
196:             */
197:            public String getCardHolderStateCode() {
198:                return cardHolderStateCode;
199:            }
200:
201:            /**
202:             * Sets the cardHolderStateCode attribute.
203:             * 
204:             * @param cardHolderStateCode The cardHolderStateCode to set.
205:             */
206:            public void setCardHolderStateCode(String cardHolderStateCode) {
207:                this .cardHolderStateCode = cardHolderStateCode;
208:            }
209:
210:            /**
211:             * Gets the cardHolderZipCode attribute.
212:             * 
213:             * @return Returns the cardHolderZipCode
214:             */
215:            public String getCardHolderZipCode() {
216:                return cardHolderZipCode;
217:            }
218:
219:            /**
220:             * Sets the cardHolderZipCode attribute.
221:             * 
222:             * @param cardHolderZipCode The cardHolderZipCode to set.
223:             */
224:            public void setCardHolderZipCode(String cardHolderZipCode) {
225:                this .cardHolderZipCode = cardHolderZipCode;
226:            }
227:
228:            /**
229:             * Gets the cardHolderWorkPhoneNumber attribute.
230:             * 
231:             * @return Returns the cardHolderWorkPhoneNumber
232:             */
233:            public String getCardHolderWorkPhoneNumber() {
234:                return cardHolderWorkPhoneNumber;
235:            }
236:
237:            /**
238:             * Sets the cardHolderWorkPhoneNumber attribute.
239:             * 
240:             * @param cardHolderWorkPhoneNumber The cardHolderWorkPhoneNumber to set.
241:             */
242:            public void setCardHolderWorkPhoneNumber(
243:                    String cardHolderWorkPhoneNumber) {
244:                this .cardHolderWorkPhoneNumber = cardHolderWorkPhoneNumber;
245:            }
246:
247:            /**
248:             * Gets the cardLimit attribute.
249:             * 
250:             * @return Returns the cardLimit
251:             */
252:            public KualiDecimal getCardLimit() {
253:                return cardLimit;
254:            }
255:
256:            /**
257:             * Sets the cardLimit attribute.
258:             * 
259:             * @param cardLimit The cardLimit to set.
260:             */
261:            public void setCardLimit(KualiDecimal cardLimit) {
262:                this .cardLimit = cardLimit;
263:            }
264:
265:            /**
266:             * Gets the cardCycleAmountLimit attribute.
267:             * 
268:             * @return Returns the cardCycleAmountLimit
269:             */
270:            public KualiDecimal getCardCycleAmountLimit() {
271:                return cardCycleAmountLimit;
272:            }
273:
274:            /**
275:             * Sets the cardCycleAmountLimit attribute.
276:             * 
277:             * @param cardCycleAmountLimit The cardCycleAmountLimit to set.
278:             */
279:            public void setCardCycleAmountLimit(
280:                    KualiDecimal cardCycleAmountLimit) {
281:                this .cardCycleAmountLimit = cardCycleAmountLimit;
282:            }
283:
284:            /**
285:             * Gets the cardCycleVolumeLimit attribute.
286:             * 
287:             * @return Returns the cardCycleVolumeLimit
288:             */
289:            public KualiDecimal getCardCycleVolumeLimit() {
290:                return cardCycleVolumeLimit;
291:            }
292:
293:            /**
294:             * Sets the cardCycleVolumeLimit attribute.
295:             * 
296:             * @param cardCycleVolumeLimit The cardCycleVolumeLimit to set.
297:             */
298:            public void setCardCycleVolumeLimit(
299:                    KualiDecimal cardCycleVolumeLimit) {
300:                this .cardCycleVolumeLimit = cardCycleVolumeLimit;
301:            }
302:
303:            /**
304:             * Gets the cardStatusCode attribute.
305:             * 
306:             * @return Returns the cardStatusCode
307:             */
308:            public String getCardStatusCode() {
309:                return cardStatusCode;
310:            }
311:
312:            /**
313:             * Sets the cardStatusCode attribute.
314:             * 
315:             * @param cardStatusCode The cardStatusCode to set.
316:             */
317:            public void setCardStatusCode(String cardStatusCode) {
318:                this .cardStatusCode = cardStatusCode;
319:            }
320:
321:            /**
322:             * Gets the cardNoteText attribute.
323:             * 
324:             * @return Returns the cardNoteText
325:             */
326:            public String getCardNoteText() {
327:                return cardNoteText;
328:            }
329:
330:            /**
331:             * Sets the cardNoteText attribute.
332:             * 
333:             * @param cardNoteText The cardNoteText to set.
334:             */
335:            public void setCardNoteText(String cardNoteText) {
336:                this .cardNoteText = cardNoteText;
337:            }
338:
339:            /**
340:             * Gets the chartOfAccountsCode attribute.
341:             * 
342:             * @return Returns the chartOfAccountsCode
343:             */
344:            public String getChartOfAccountsCode() {
345:                return chartOfAccountsCode;
346:            }
347:
348:            /**
349:             * Sets the chartOfAccountsCode attribute.
350:             * 
351:             * @param chartOfAccountsCode The chartOfAccountsCode to set.
352:             */
353:            public void setChartOfAccountsCode(String chartOfAccountsCode) {
354:                this .chartOfAccountsCode = chartOfAccountsCode;
355:            }
356:
357:            /**
358:             * Gets the accountNumber attribute.
359:             * 
360:             * @return Returns the accountNumber
361:             */
362:            public String getAccountNumber() {
363:                return accountNumber;
364:            }
365:
366:            /**
367:             * Sets the accountNumber attribute.
368:             * 
369:             * @param accountNumber The accountNumber to set.
370:             */
371:            public void setAccountNumber(String accountNumber) {
372:                this .accountNumber = accountNumber;
373:            }
374:
375:            /**
376:             * Gets the subAccountNumber attribute.
377:             * 
378:             * @return Returns the subAccountNumber
379:             */
380:            public String getSubAccountNumber() {
381:                return subAccountNumber;
382:            }
383:
384:            /**
385:             * Sets the subAccountNumber attribute.
386:             * 
387:             * @param subAccountNumber The subAccountNumber to set.
388:             */
389:            public void setSubAccountNumber(String subAccountNumber) {
390:                this .subAccountNumber = subAccountNumber;
391:            }
392:
393:            /**
394:             * Gets the account attribute.
395:             * 
396:             * @return Returns the account
397:             */
398:            public Account getAccount() {
399:                return account;
400:            }
401:
402:            /**
403:             * Sets the account attribute.
404:             * 
405:             * @param account The account to set.
406:             * @deprecated
407:             */
408:            public void setAccount(Account account) {
409:                this .account = account;
410:            }
411:
412:            /**
413:             * Gets the chartOfAccounts attribute.
414:             * 
415:             * @return Returns the chartOfAccounts
416:             */
417:            public Chart getChartOfAccounts() {
418:                return chartOfAccounts;
419:            }
420:
421:            /**
422:             * Sets the chartOfAccounts attribute.
423:             * 
424:             * @param chartOfAccounts The chartOfAccounts to set.
425:             * @deprecated
426:             */
427:            public void setChartOfAccounts(Chart chartOfAccounts) {
428:                this .chartOfAccounts = chartOfAccounts;
429:            }
430:
431:            /**
432:             * @return Returns the subAccount.
433:             */
434:            public SubAccount getSubAccount() {
435:                return subAccount;
436:            }
437:
438:            /**
439:             * @param subAccount The subAccount to set.
440:             */
441:            public void setSubAccount(SubAccount subAccount) {
442:                this .subAccount = subAccount;
443:            }
444:
445:            /**
446:             * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
447:             */
448:            protected LinkedHashMap toStringMapper() {
449:                LinkedHashMap m = new LinkedHashMap();
450:                m
451:                        .put(KFSPropertyConstants.DOCUMENT_NUMBER,
452:                                this.documentNumber);
453:                return m;
454:            }
455:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.