Source Code Cross Referenced for LightBoxDefinitionParameterType.java in  » Report » jmagallanes-1.0 » com » calipso » reportgenerator » reportdefinitions » types » 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 » Report » jmagallanes 1.0 » com.calipso.reportgenerator.reportdefinitions.types 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * This class was automatically generated with 
003:         * <a href="http://www.castor.org">Castor 0.9.4.3</a>, using an XML
004:         * Schema.
005:         * $Id$
006:         */
007:
008:        package com.calipso.reportgenerator.reportdefinitions.types;
009:
010:        //---------------------------------/
011:        //- Imported classes and packages -/
012:        //---------------------------------/
013:
014:        import java.io.Serializable;
015:        import java.util.Enumeration;
016:        import java.util.Hashtable;
017:        import org.exolab.castor.xml.Marshaller;
018:        import org.exolab.castor.xml.Unmarshaller;
019:
020:        /**
021:         * Class LightBoxDefinitionParameterType.
022:         * 
023:         * @version $Revision$ $Date$
024:         */
025:        public class LightBoxDefinitionParameterType implements 
026:                java.io.Serializable {
027:
028:            //--------------------------/
029:            //- Class/Member Variables -/
030:            //--------------------------/
031:
032:            /**
033:             * The FROM type
034:             */
035:            public static final int FROM_TYPE = 0;
036:
037:            /**
038:             * The instance of the FROM type
039:             */
040:            public static final LightBoxDefinitionParameterType FROM = new LightBoxDefinitionParameterType(
041:                    FROM_TYPE, "FROM");
042:
043:            /**
044:             * The TO type
045:             */
046:            public static final int TO_TYPE = 1;
047:
048:            /**
049:             * The instance of the TO type
050:             */
051:            public static final LightBoxDefinitionParameterType TO = new LightBoxDefinitionParameterType(
052:                    TO_TYPE, "TO");
053:
054:            /**
055:             * The VALUE type
056:             */
057:            public static final int VALUE_TYPE = 2;
058:
059:            /**
060:             * The instance of the VALUE type
061:             */
062:            public static final LightBoxDefinitionParameterType VALUE = new LightBoxDefinitionParameterType(
063:                    VALUE_TYPE, "VALUE");
064:
065:            /**
066:             * The VALUES type
067:             */
068:            public static final int VALUES_TYPE = 3;
069:
070:            /**
071:             * The instance of the VALUES type
072:             */
073:            public static final LightBoxDefinitionParameterType VALUES = new LightBoxDefinitionParameterType(
074:                    VALUES_TYPE, "VALUES");
075:
076:            /**
077:             * Field _memberTable
078:             */
079:            private static java.util.Hashtable _memberTable = init();
080:
081:            /**
082:             * Field type
083:             */
084:            private int type = -1;
085:
086:            /**
087:             * Field stringValue
088:             */
089:            private java.lang.String stringValue = null;
090:
091:            //----------------/
092:            //- Constructors -/
093:            //----------------/
094:
095:            private LightBoxDefinitionParameterType(int type,
096:                    java.lang.String value) {
097:                super ();
098:                this .type = type;
099:                this .stringValue = value;
100:            } //-- com.calipso.reportgenerator.reportdefinitions.types.LightBoxDefinitionParameterType(int, java.lang.String)
101:
102:            //-----------/
103:            //- Methods -/
104:            //-----------/
105:
106:            /**
107:             * Method enumerateReturns an enumeration of all possible
108:             * instances of LightBoxDefinitionParameterType
109:             */
110:            public static java.util.Enumeration enumerate() {
111:                return _memberTable.elements();
112:            } //-- java.util.Enumeration enumerate() 
113:
114:            /**
115:             * Method getTypeReturns the type of this
116:             * LightBoxDefinitionParameterType
117:             */
118:            public int getType() {
119:                return this .type;
120:            } //-- int getType() 
121:
122:            /**
123:             * Method init
124:             */
125:            private static java.util.Hashtable init() {
126:                Hashtable members = new Hashtable();
127:                members.put("FROM", FROM);
128:                members.put("TO", TO);
129:                members.put("VALUE", VALUE);
130:                members.put("VALUES", VALUES);
131:                return members;
132:            } //-- java.util.Hashtable init() 
133:
134:            /**
135:             * Method toStringReturns the String representation of this
136:             * LightBoxDefinitionParameterType
137:             */
138:            public java.lang.String toString() {
139:                return this .stringValue;
140:            } //-- java.lang.String toString() 
141:
142:            /**
143:             * Method valueOfReturns a new LightBoxDefinitionParameterType
144:             * based on the given String value.
145:             * 
146:             * @param string
147:             */
148:            public static com.calipso.reportgenerator.reportdefinitions.types.LightBoxDefinitionParameterType valueOf(
149:                    java.lang.String string) {
150:                java.lang.Object obj = null;
151:                if (string != null)
152:                    obj = _memberTable.get(string);
153:                if (obj == null) {
154:                    String err = "'"
155:                            + string
156:                            + "' is not a valid LightBoxDefinitionParameterType";
157:                    throw new IllegalArgumentException(err);
158:                }
159:                return (LightBoxDefinitionParameterType) obj;
160:            } //-- com.calipso.reportgenerator.reportdefinitions.types.LightBoxDefinitionParameterType valueOf(java.lang.String) 
161:
162:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.