Source Code Cross Referenced for TCKind.java in  » Collaboration » JacORB » org » omg » CORBA » 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 » Collaboration » JacORB » org.omg.CORBA 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /***** Copyright (c) 1999-2000 Object Management Group. Unlimited rights to 
002:               duplicate and use this code are hereby granted provided that this 
003:               copyright notice is included.
004:         *****/package org.omg.CORBA;
005:
006:        public class TCKind implements  org.omg.CORBA.portable.IDLEntity {
007:
008:            public static final int _tk_null = 0;
009:            public static final TCKind tk_null = new TCKind(_tk_null);
010:
011:            public static final int _tk_void = 1;
012:            public static final TCKind tk_void = new TCKind(_tk_void);
013:
014:            public static final int _tk_short = 2;
015:            public static final TCKind tk_short = new TCKind(_tk_short);
016:
017:            public static final int _tk_long = 3;
018:            public static final TCKind tk_long = new TCKind(_tk_long);
019:
020:            public static final int _tk_ushort = 4;
021:            public static final TCKind tk_ushort = new TCKind(_tk_ushort);
022:
023:            public static final int _tk_ulong = 5;
024:            public static final TCKind tk_ulong = new TCKind(_tk_ulong);
025:
026:            public static final int _tk_float = 6;
027:            public static final TCKind tk_float = new TCKind(_tk_float);
028:
029:            public static final int _tk_double = 7;
030:            public static final TCKind tk_double = new TCKind(_tk_double);
031:
032:            public static final int _tk_boolean = 8;
033:            public static final TCKind tk_boolean = new TCKind(_tk_boolean);
034:
035:            public static final int _tk_char = 9;
036:            public static final TCKind tk_char = new TCKind(_tk_char);
037:
038:            public static final int _tk_octet = 10;
039:            public static final TCKind tk_octet = new TCKind(_tk_octet);
040:
041:            public static final int _tk_any = 11;
042:            public static final TCKind tk_any = new TCKind(_tk_any);
043:
044:            public static final int _tk_TypeCode = 12;
045:            public static final TCKind tk_TypeCode = new TCKind(_tk_TypeCode);
046:
047:            public static final int _tk_Principal = 13;
048:            public static final TCKind tk_Principal = new TCKind(_tk_Principal);
049:
050:            public static final int _tk_objref = 14;
051:            public static final TCKind tk_objref = new TCKind(_tk_objref);
052:
053:            public static final int _tk_struct = 15;
054:            public static final TCKind tk_struct = new TCKind(_tk_struct);
055:
056:            public static final int _tk_union = 16;
057:            public static final TCKind tk_union = new TCKind(_tk_union);
058:
059:            public static final int _tk_enum = 17;
060:            public static final TCKind tk_enum = new TCKind(_tk_enum);
061:
062:            public static final int _tk_string = 18;
063:            public static final TCKind tk_string = new TCKind(_tk_string);
064:
065:            public static final int _tk_sequence = 19;
066:            public static final TCKind tk_sequence = new TCKind(_tk_sequence);
067:
068:            public static final int _tk_array = 20;
069:            public static final TCKind tk_array = new TCKind(_tk_array);
070:
071:            public static final int _tk_alias = 21;
072:            public static final TCKind tk_alias = new TCKind(_tk_alias);
073:
074:            public static final int _tk_except = 22;
075:            public static final TCKind tk_except = new TCKind(_tk_except);
076:
077:            public static final int _tk_longlong = 23;
078:            public static final TCKind tk_longlong = new TCKind(_tk_longlong);
079:
080:            public static final int _tk_ulonglong = 24;
081:            public static final TCKind tk_ulonglong = new TCKind(_tk_ulonglong);
082:
083:            public static final int _tk_longdouble = 25;
084:            public static final TCKind tk_longdouble = new TCKind(
085:                    _tk_longdouble);
086:
087:            public static final int _tk_wchar = 26;
088:            public static final TCKind tk_wchar = new TCKind(_tk_wchar);
089:
090:            public static final int _tk_wstring = 27;
091:            public static final TCKind tk_wstring = new TCKind(_tk_wstring);
092:
093:            public static final int _tk_fixed = 28;
094:            public static final TCKind tk_fixed = new TCKind(_tk_fixed);
095:
096:            public static final int _tk_value = 29;
097:            public static final TCKind tk_value = new TCKind(_tk_value);
098:
099:            public static final int _tk_value_box = 30;
100:            public static final TCKind tk_value_box = new TCKind(_tk_value_box);
101:
102:            public static final int _tk_native = 31;
103:            public static final TCKind tk_native = new TCKind(_tk_native);
104:
105:            public static final int _tk_abstract_interface = 32;
106:            public static final TCKind tk_abstract_interface = new TCKind(
107:                    _tk_abstract_interface);
108:
109:            public static final int _tk_local_interface = 33;
110:            public static final TCKind tk_local_interface = new TCKind(
111:                    _tk_local_interface);
112:
113:            public int value() {
114:                throw new org.omg.CORBA.NO_IMPLEMENT();
115:            }
116:
117:            public static TCKind from_int(int val)
118:            /* Issue 3669  throws org.omg.CORBA.BAD_PARAM */{
119:                switch (val) {
120:                case _tk_null:
121:                    return tk_null;
122:                case _tk_void:
123:                    return tk_void;
124:                case _tk_short:
125:                    return tk_short;
126:                case _tk_long:
127:                    return tk_long;
128:                case _tk_ushort:
129:                    return tk_ushort;
130:                case _tk_ulong:
131:                    return tk_ulong;
132:                case _tk_float:
133:                    return tk_float;
134:                case _tk_double:
135:                    return tk_double;
136:                case _tk_boolean:
137:                    return tk_boolean;
138:                case _tk_char:
139:                    return tk_char;
140:                case _tk_octet:
141:                    return tk_octet;
142:                case _tk_any:
143:                    return tk_any;
144:                case _tk_TypeCode:
145:                    return tk_TypeCode;
146:                case _tk_Principal:
147:                    return tk_Principal;
148:                case _tk_objref:
149:                    return tk_objref;
150:                case _tk_struct:
151:                    return tk_struct;
152:                case _tk_union:
153:                    return tk_union;
154:                case _tk_enum:
155:                    return tk_enum;
156:                case _tk_string:
157:                    return tk_string;
158:                case _tk_sequence:
159:                    return tk_sequence;
160:                case _tk_array:
161:                    return tk_array;
162:                case _tk_alias:
163:                    return tk_alias;
164:                case _tk_except:
165:                    return tk_except;
166:                case _tk_longlong:
167:                    return tk_longlong;
168:                case _tk_ulonglong:
169:                    return tk_ulonglong;
170:                case _tk_longdouble:
171:                    return tk_longdouble;
172:                case _tk_wchar:
173:                    return tk_wchar;
174:                case _tk_wstring:
175:                    return tk_wstring;
176:                case _tk_fixed:
177:                    return tk_fixed;
178:                case _tk_value:
179:                    return tk_value;
180:                case _tk_value_box:
181:                    return tk_value_box;
182:                case _tk_native:
183:                    return tk_native;
184:                case _tk_abstract_interface:
185:                    return tk_abstract_interface;
186:                case _tk_local_interface:
187:                    return tk_local_interface;
188:                default:
189:                    throw new org.omg.CORBA.BAD_PARAM();
190:                }
191:            }
192:
193:            protected TCKind(int _value) {
194:                throw new org.omg.CORBA.NO_IMPLEMENT();
195:            }
196:
197:            public java.lang.Object readResolve()
198:                    throws java.io.ObjectStreamException {
199:                return from_int(value());
200:            }
201:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.