Source Code Cross Referenced for NonpersonnelCategory.java in  » ERP-CRM-Financial » Kuali-Financial-System » org » kuali » module » kra » budget » 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.kra.budget.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.kra.budget.bo;
018:
019:        import java.util.ArrayList;
020:        import java.util.LinkedHashMap;
021:        import java.util.List;
022:
023:        import org.kuali.core.bo.PersistableBusinessObjectBase;
024:
025:        /**
026:         * This is KRAs NonpersonnelCategory business object.
027:         */
028:        public class NonpersonnelCategory extends PersistableBusinessObjectBase {
029:
030:            private static final long serialVersionUID = -908290558174256616L;
031:            private String code;
032:            private boolean active;
033:            private String name;
034:            private Integer sortNumber;
035:
036:            private List nonpersonnelObjectCodes;
037:
038:            public NonpersonnelCategory() {
039:                super ();
040:                nonpersonnelObjectCodes = new ArrayList();
041:            }
042:
043:            /**
044:             * Gets the sortNumber attribute.
045:             * 
046:             * @return Returns the sortNumber.
047:             */
048:            public Integer getSortNumber() {
049:                return sortNumber;
050:            }
051:
052:            /**
053:             * Sets the sortNumber attribute value.
054:             * 
055:             * @param sortNumber The sortNumber to set.
056:             */
057:            public void setSortNumber(Integer sortNumber) {
058:                this .sortNumber = sortNumber;
059:            }
060:
061:            public NonpersonnelCategory(String nonpersonnelCategoryCode) {
062:                this .setCode(nonpersonnelCategoryCode);
063:            }
064:
065:            /**
066:             * @see org.kuali.core.bo.KualiCodeBase#getCode()
067:             */
068:            public String getCode() {
069:                // TODO Auto-generated method stub
070:                return code;
071:            }
072:
073:            /**
074:             * @see org.kuali.core.bo.KualiCodeBase#getName()
075:             */
076:            public String getName() {
077:                // TODO Auto-generated method stub
078:                return name;
079:            }
080:
081:            /**
082:             * @see org.kuali.core.bo.KualiCodeBase#isActive()
083:             */
084:            public boolean isActive() {
085:                // TODO Auto-generated method stub
086:                return active;
087:            }
088:
089:            /**
090:             * @see org.kuali.core.bo.KualiCodeBase#setActive(boolean)
091:             */
092:            public void setActive(boolean a) {
093:                // TODO Auto-generated method stub
094:                active = a;
095:            }
096:
097:            /**
098:             * @see org.kuali.core.bo.KualiCodeBase#setCode(java.lang.String)
099:             */
100:            public void setCode(String code) {
101:                // TODO Auto-generated method stub
102:                this .code = code;
103:            }
104:
105:            /**
106:             * @see org.kuali.core.bo.KualiCodeBase#setName(java.lang.String)
107:             */
108:            public void setName(String name) {
109:                // TODO Auto-generated method stub
110:                this .name = name;
111:            }
112:
113:            /**
114:             * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
115:             */
116:            protected LinkedHashMap toStringMapper() {
117:                LinkedHashMap m = new LinkedHashMap();
118:                m.put("code", this .code);
119:                return m;
120:            }
121:
122:            /**
123:             * Gets the nonpersonnelObjectCodes attribute.
124:             * 
125:             * @return Returns the nonpersonnelObjectCodes.
126:             */
127:            public List<NonpersonnelObjectCode> getNonpersonnelObjectCodes() {
128:                return nonpersonnelObjectCodes;
129:            }
130:
131:            /**
132:             * Sets the nonpersonnelObjectCodes attribute value.
133:             * 
134:             * @param nonpersonnelObjectCodes The nonpersonnelObjectCodes to set.
135:             */
136:            public void setNonpersonnelObjectCodes(List nonpersonnelObjectCodes) {
137:                this .nonpersonnelObjectCodes = nonpersonnelObjectCodes;
138:            }
139:
140:            /**
141:             * Gets the newNonpersonnel attribute.
142:             * 
143:             * @return Returns the newNonpersonnel.
144:             */
145:            public NonpersonnelObjectCode getNonpersonnelObjectCode(int index) {
146:                while (getNonpersonnelObjectCodes().size() <= index) {
147:                    getNonpersonnelObjectCodes().add(
148:                            new NonpersonnelObjectCode());
149:                }
150:                return (NonpersonnelObjectCode) getNonpersonnelObjectCodes()
151:                        .get(index);
152:            }
153:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.