Source Code Cross Referenced for Column.java in  » ERP-CRM-Financial » Kuali-Financial-System » edu » iu » uis » eden » lookupable » 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 » edu.iu.uis.eden.lookupable 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Copyright 2005-2006 The Kuali Foundation.
003:         * 
004:         * 
005:         * Licensed under the Educational Community License, Version 1.0 (the "License");
006:         * you may not use this file except in compliance with the License.
007:         * You may obtain a copy of the License at
008:         * 
009:         * http://www.opensource.org/licenses/ecl1.php
010:         * 
011:         * Unless required by applicable law or agreed to in writing, software
012:         * distributed under the License is distributed on an "AS IS" BASIS,
013:         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014:         * See the License for the specific language governing permissions and
015:         * limitations under the License.
016:         */
017:        package edu.iu.uis.eden.lookupable;
018:
019:        import java.util.HashMap;
020:        import java.util.Map;
021:
022:        import edu.iu.uis.eden.plugin.attributes.WorkflowLookupable;
023:        import edu.iu.uis.eden.util.Utilities;
024:
025:        /**
026:         * Represents a column within a table in the user interface for Lookupables.
027:         * 
028:         * @see WorkflowLookupable
029:         * 
030:         * @author jhopf
031:         */
032:        public class Column {
033:
034:            public static final String COLUMN_IS_SORTABLE_VALUE = "true";
035:            public static final String COLUMN_NOT_SORTABLE_VALUE = "false";
036:
037:            public static final String TEXT = "text";
038:            public static final String INTEGER = "integer";
039:            public static final String LONG = "long";
040:            public static final String FLOAT = "float";
041:            public static final String DATETIME = "datetime";
042:
043:            private String columnTitle;
044:            private String sortable;
045:            private String key;
046:            private String propertyName;
047:            private String sortPropertyName;
048:            private String type = TEXT;
049:            private Map<String, String> displayParameters = new HashMap<String, String>();
050:
051:            public Column() {
052:
053:            }
054:
055:            public Column(String columnTitle, String sortable,
056:                    String propertyName) {
057:                this .columnTitle = columnTitle;
058:                this .sortable = sortable;
059:                this .propertyName = propertyName;
060:            }
061:
062:            public Column(String columnTitle, String sortable,
063:                    String propertyName, String sortPropertyName, String key,
064:                    Map<String, String> displayParameters) {
065:                this .columnTitle = columnTitle;
066:                this .sortable = sortable;
067:                this .propertyName = propertyName;
068:                this .sortPropertyName = sortPropertyName;
069:                this .key = key;
070:                this .displayParameters = displayParameters;
071:            }
072:
073:            public String getSortName() {
074:                if (!Utilities.isEmpty(this .sortPropertyName)) {
075:                    return this .sortPropertyName;
076:                }
077:                return this .propertyName;
078:            }
079:
080:            /**
081:             * @return the displayParameters
082:             */
083:            public Map<String, String> getDisplayParameters() {
084:                return displayParameters;
085:            }
086:
087:            /**
088:             * @param displayParameters the displayParameters to set
089:             */
090:            public void setDisplayParameters(
091:                    Map<String, String> displayParameters) {
092:                this .displayParameters = displayParameters;
093:            }
094:
095:            /**
096:             * @return the key
097:             */
098:            public String getKey() {
099:                return key;
100:            }
101:
102:            /**
103:             * @param key the key to set
104:             */
105:            public void setKey(String key) {
106:                this .key = key;
107:            }
108:
109:            /**
110:             * @return Returns the columnTitle.
111:             */
112:            public String getColumnTitle() {
113:                return columnTitle;
114:            }
115:
116:            /**
117:             * @param columnTitle
118:             *            The columnTitle to set.
119:             */
120:            public void setColumnTitle(String columnTitle) {
121:                this .columnTitle = columnTitle;
122:            }
123:
124:            /**
125:             * @return Returns the propertyName.
126:             */
127:            public String getPropertyName() {
128:                return propertyName;
129:            }
130:
131:            /**
132:             * @param propertyName
133:             *            The propertyName to set.
134:             */
135:            public void setPropertyName(String propertyName) {
136:                this .propertyName = propertyName;
137:            }
138:
139:            /**
140:             * @return the sortPropertyName
141:             */
142:            public String getSortPropertyName() {
143:                return sortPropertyName;
144:            }
145:
146:            /**
147:             * @param sortPropertyName the sortPropertyName to set
148:             */
149:            public void setSortPropertyName(String sortPropertyName) {
150:                this .sortPropertyName = sortPropertyName;
151:            }
152:
153:            /**
154:             * @return Returns the sortable.
155:             */
156:            public String getSortable() {
157:                return sortable;
158:            }
159:
160:            /**
161:             * @param sortable
162:             *            The sortable to set.
163:             */
164:            public void setSortable(String sortable) {
165:                this .sortable = sortable;
166:            }
167:
168:            /**
169:             * @return the type
170:             */
171:            public String getType() {
172:                return type;
173:            }
174:
175:            /**
176:             * @param type the type to set
177:             */
178:            public void setType(String type) {
179:                this.type = type;
180:            }
181:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.