Source Code Cross Referenced for SSLMode.java in  » ESB » cbesb-1.2 » com » bostechcorp » cbesb » ui » componentflow » componentFlowEditor » 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 » ESB » cbesb 1.2 » com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * <copyright>
003:         * </copyright>
004:         *
005:         * $Id$
006:         */package com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor;
007:
008:        import java.util.Arrays;
009:        import java.util.Collections;
010:        import java.util.List;
011:
012:        import org.eclipse.emf.common.util.AbstractEnumerator;
013:
014:        /**
015:         * <!-- begin-user-doc -->
016:         * A representation of the literals of the enumeration '<em><b>SSL Mode</b></em>',
017:         * and utility methods for working with them.
018:         * <!-- end-user-doc -->
019:         * @see com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.componentflowPackage#getSSLMode()
020:         * @model
021:         * @generated
022:         */
023:        public final class SSLMode extends AbstractEnumerator {
024:            /**
025:             * <!-- begin-user-doc -->
026:             * <!-- end-user-doc -->
027:             * @generated
028:             */
029:            public static final String copyright = "Copyright, Bostech Corp.";
030:
031:            /**
032:             * The '<em><b>TLS</b></em>' literal value.
033:             * <!-- begin-user-doc -->
034:             * <p>
035:             * If the meaning of '<em><b>TLS</b></em>' literal object isn't clear,
036:             * there really should be more of a description here...
037:             * </p>
038:             * <!-- end-user-doc -->
039:             * @see #TLS_LITERAL
040:             * @model
041:             * @generated
042:             * @ordered
043:             */
044:            public static final int TLS = 0;
045:
046:            /**
047:             * The '<em><b>SSL</b></em>' literal value.
048:             * <!-- begin-user-doc -->
049:             * <p>
050:             * If the meaning of '<em><b>SSL</b></em>' literal object isn't clear,
051:             * there really should be more of a description here...
052:             * </p>
053:             * <!-- end-user-doc -->
054:             * @see #SSL_LITERAL
055:             * @model
056:             * @generated
057:             * @ordered
058:             */
059:            public static final int SSL = 1;
060:
061:            /**
062:             * The '<em><b>SS Lv3</b></em>' literal value.
063:             * <!-- begin-user-doc -->
064:             * <p>
065:             * If the meaning of '<em><b>SS Lv3</b></em>' literal object isn't clear,
066:             * there really should be more of a description here...
067:             * </p>
068:             * <!-- end-user-doc -->
069:             * @see #SS_LV3_LITERAL
070:             * @model name="SSLv3"
071:             * @generated
072:             * @ordered
073:             */
074:            public static final int SS_LV3 = 2;
075:
076:            /**
077:             * The '<em><b>TLS</b></em>' literal object.
078:             * <!-- begin-user-doc -->
079:             * <!-- end-user-doc -->
080:             * @see #TLS
081:             * @generated
082:             * @ordered
083:             */
084:            public static final SSLMode TLS_LITERAL = new SSLMode(TLS, "TLS",
085:                    "TLS");
086:
087:            /**
088:             * The '<em><b>SSL</b></em>' literal object.
089:             * <!-- begin-user-doc -->
090:             * <!-- end-user-doc -->
091:             * @see #SSL
092:             * @generated
093:             * @ordered
094:             */
095:            public static final SSLMode SSL_LITERAL = new SSLMode(SSL, "SSL",
096:                    "SSL");
097:
098:            /**
099:             * The '<em><b>SS Lv3</b></em>' literal object.
100:             * <!-- begin-user-doc -->
101:             * <!-- end-user-doc -->
102:             * @see #SS_LV3
103:             * @generated
104:             * @ordered
105:             */
106:            public static final SSLMode SS_LV3_LITERAL = new SSLMode(SS_LV3,
107:                    "SSLv3", "SSLv3");
108:
109:            /**
110:             * An array of all the '<em><b>SSL Mode</b></em>' enumerators.
111:             * <!-- begin-user-doc -->
112:             * <!-- end-user-doc -->
113:             * @generated
114:             */
115:            private static final SSLMode[] VALUES_ARRAY = new SSLMode[] {
116:                    TLS_LITERAL, SSL_LITERAL, SS_LV3_LITERAL, };
117:
118:            /**
119:             * A public read-only list of all the '<em><b>SSL Mode</b></em>' enumerators.
120:             * <!-- begin-user-doc -->
121:             * <!-- end-user-doc -->
122:             * @generated
123:             */
124:            public static final List VALUES = Collections
125:                    .unmodifiableList(Arrays.asList(VALUES_ARRAY));
126:
127:            /**
128:             * Returns the '<em><b>SSL Mode</b></em>' literal with the specified literal value.
129:             * <!-- begin-user-doc -->
130:             * <!-- end-user-doc -->
131:             * @generated
132:             */
133:            public static SSLMode get(String literal) {
134:                for (int i = 0; i < VALUES_ARRAY.length; ++i) {
135:                    SSLMode result = VALUES_ARRAY[i];
136:                    if (result.toString().equals(literal)) {
137:                        return result;
138:                    }
139:                }
140:                return null;
141:            }
142:
143:            /**
144:             * Returns the '<em><b>SSL Mode</b></em>' literal with the specified name.
145:             * <!-- begin-user-doc -->
146:             * <!-- end-user-doc -->
147:             * @generated
148:             */
149:            public static SSLMode getByName(String name) {
150:                for (int i = 0; i < VALUES_ARRAY.length; ++i) {
151:                    SSLMode result = VALUES_ARRAY[i];
152:                    if (result.getName().equals(name)) {
153:                        return result;
154:                    }
155:                }
156:                return null;
157:            }
158:
159:            /**
160:             * Returns the '<em><b>SSL Mode</b></em>' literal with the specified integer value.
161:             * <!-- begin-user-doc -->
162:             * <!-- end-user-doc -->
163:             * @generated
164:             */
165:            public static SSLMode get(int value) {
166:                switch (value) {
167:                case TLS:
168:                    return TLS_LITERAL;
169:                case SSL:
170:                    return SSL_LITERAL;
171:                case SS_LV3:
172:                    return SS_LV3_LITERAL;
173:                }
174:                return null;
175:            }
176:
177:            /**
178:             * Only this class can construct instances.
179:             * <!-- begin-user-doc -->
180:             * <!-- end-user-doc -->
181:             * @generated
182:             */
183:            private SSLMode(int value, String name, String literal) {
184:                super (value, name, literal);
185:            }
186:
187:        } //SSLMode
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.