38 |
|
|
39 |
package org.omg.CORBA; |
package org.omg.CORBA; |
40 |
|
|
41 |
|
import org.omg.CORBA.portable.IDLEntity; |
42 |
|
|
43 |
|
import java.io.Serializable; |
44 |
|
|
45 |
/** |
/** |
46 |
* This class indicates the kind of the definition, stored in the interface |
* This class indicates the kind of the definition, stored in the interface |
49 |
* @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) |
* @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) |
50 |
*/ |
*/ |
51 |
public class DefinitionKind |
public class DefinitionKind |
52 |
|
implements IDLEntity, Serializable |
53 |
{ |
{ |
54 |
/** |
/** |
55 |
|
* Use v1.4 serialVersionUID for interoperability. |
56 |
|
*/ |
57 |
|
private static final long serialVersionUID = -8601167576704143376L; |
58 |
|
|
59 |
|
/** |
60 |
* Indicates that the current definition defines has no definition kind. |
* Indicates that the current definition defines has no definition kind. |
61 |
*/ |
*/ |
62 |
public static int _dk_none = 0; |
public static final int _dk_none = 0; |
63 |
|
|
64 |
/** |
/** |
65 |
* This is a "wildcard '*'", used in cases where any definition kind |
* This is a "wildcard '*'", used in cases where any definition kind |
66 |
* is appropriate . |
* is appropriate . |
67 |
*/ |
*/ |
68 |
public static int _dk_all = 1; |
public static final int _dk_all = 1; |
69 |
|
|
70 |
/** |
/** |
71 |
* Indicates that the current definition defines an attribute. |
* Indicates that the current definition defines an attribute. |
72 |
*/ |
*/ |
73 |
public static int _dk_Attribute = 2; |
public static final int _dk_Attribute = 2; |
74 |
|
|
75 |
/** |
/** |
76 |
* Indicates that the current definition defines a constant. |
* Indicates that the current definition defines a constant. |
77 |
*/ |
*/ |
78 |
public static int _dk_Constant = 3; |
public static final int _dk_Constant = 3; |
79 |
|
|
80 |
/** |
/** |
81 |
* Indicates that the current definition defines an exception. |
* Indicates that the current definition defines an exception. |
82 |
*/ |
*/ |
83 |
public static int _dk_Exception = 4; |
public static final int _dk_Exception = 4; |
84 |
|
|
85 |
/** |
/** |
86 |
* Indicates that the current definition defines an interface. |
* Indicates that the current definition defines an interface. |
87 |
* The interface definition can contain constants, types, |
* The interface definition can contain constants, types, |
88 |
* exceptions, operations, and attributes. |
* exceptions, operations, and attributes. |
89 |
*/ |
*/ |
90 |
public static int _dk_Interface = 5; |
public static final int _dk_Interface = 5; |
91 |
|
|
92 |
/** |
/** |
93 |
* Indicates that the current definition defines a Module. |
* Indicates that the current definition defines a Module. |
95 |
* interface, component, home, value or event type definitions. |
* interface, component, home, value or event type definitions. |
96 |
* The module can also enclose other (nested) modules. |
* The module can also enclose other (nested) modules. |
97 |
*/ |
*/ |
98 |
public static int _dk_Module = 6; |
public static final int _dk_Module = 6; |
99 |
|
|
100 |
/** |
/** |
101 |
* Indicates that the current definition defines an operation, including |
* Indicates that the current definition defines an operation, including |
102 |
* the lists of parameters and exceptions raised by this operation. |
* the lists of parameters and exceptions raised by this operation. |
103 |
*/ |
*/ |
104 |
public static int _dk_Operation = 7; |
public static final int _dk_Operation = 7; |
105 |
|
|
106 |
/** |
/** |
107 |
* Indicates that the current definition defines a named type that is not |
* Indicates that the current definition defines a named type that is not |
109 |
* a definition of component, home and event, but these three kinds are |
* a definition of component, home and event, but these three kinds are |
110 |
* not listed in this class. |
* not listed in this class. |
111 |
*/ |
*/ |
112 |
public static int _dk_Typedef = 8; |
public static final int _dk_Typedef = 8; |
113 |
|
|
114 |
/** |
/** |
115 |
* Indicates that the current definition defines an alias. |
* Indicates that the current definition defines an alias. |
116 |
*/ |
*/ |
117 |
public static int _dk_Alias = 9; |
public static final int _dk_Alias = 9; |
118 |
|
|
119 |
/** |
/** |
120 |
* Indicates that the current definition defines a structure. |
* Indicates that the current definition defines a structure. |
121 |
*/ |
*/ |
122 |
public static int _dk_Struct = 10; |
public static final int _dk_Struct = 10; |
123 |
|
|
124 |
/** |
/** |
125 |
* Indicates that the current definition defines a union. |
* Indicates that the current definition defines a union. |
126 |
*/ |
*/ |
127 |
public static int _dk_Union = 11; |
public static final int _dk_Union = 11; |
128 |
|
|
129 |
/** |
/** |
130 |
* Indicates that the current definition defines an enumeration. |
* Indicates that the current definition defines an enumeration. |
131 |
*/ |
*/ |
132 |
public static int _dk_Enum = 12; |
public static final int _dk_Enum = 12; |
133 |
|
|
134 |
/** |
/** |
135 |
* Indicates that the current definition defines a primitive type. |
* Indicates that the current definition defines a primitive type. |
136 |
*/ |
*/ |
137 |
public static int _dk_Primitive = 13; |
public static final int _dk_Primitive = 13; |
138 |
|
|
139 |
/** |
/** |
140 |
* Indicates that the current definition defines a string. |
* Indicates that the current definition defines a string. |
141 |
*/ |
*/ |
142 |
public static int _dk_String = 14; |
public static final int _dk_String = 14; |
143 |
|
|
144 |
/** |
/** |
145 |
* Indicates that the current definition defines a sequence. |
* Indicates that the current definition defines a sequence. |
146 |
*/ |
*/ |
147 |
public static int _dk_Sequence = 15; |
public static final int _dk_Sequence = 15; |
148 |
|
|
149 |
/** |
/** |
150 |
* Indicates that the current definition defines an array. |
* Indicates that the current definition defines an array. |
151 |
*/ |
*/ |
152 |
public static int _dk_Array = 16; |
public static final int _dk_Array = 16; |
153 |
|
|
154 |
/** |
/** |
155 |
* Indicates that the current definition defines an another interface |
* Indicates that the current definition defines an another interface |
156 |
* repository. |
* repository. |
157 |
*/ |
*/ |
158 |
public static int _dk_Repository = 17; |
public static final int _dk_Repository = 17; |
159 |
|
|
160 |
/** |
/** |
161 |
* Indicates that the current definition defines a wide (usually 16-bit |
* Indicates that the current definition defines a wide (usually 16-bit |
162 |
* per character) string. |
* per character) string. |
163 |
*/ |
*/ |
164 |
public static int _dk_Wstring = 18; |
public static final int _dk_Wstring = 18; |
165 |
|
|
166 |
/** |
/** |
167 |
* Indicates that the current definition defines a CORBA <code>fixed</code>. |
* Indicates that the current definition defines a CORBA <code>fixed</code>. |
168 |
*/ |
*/ |
169 |
public static int _dk_Fixed = 19; |
public static final int _dk_Fixed = 19; |
170 |
|
|
171 |
/** |
/** |
172 |
* Indicates that the current definition defines a value. |
* Indicates that the current definition defines a value. |
173 |
*/ |
*/ |
174 |
public static int _dk_Value = 20; |
public static final int _dk_Value = 20; |
175 |
|
|
176 |
/** |
/** |
177 |
* Indicates that the current definition defines a value box. |
* Indicates that the current definition defines a value box. |
178 |
*/ |
*/ |
179 |
public static int _dk_ValueBox = 21; |
public static final int _dk_ValueBox = 21; |
180 |
|
|
181 |
/** |
/** |
182 |
* Indicates that the current definition defines value member. |
* Indicates that the current definition defines value member. |
183 |
*/ |
*/ |
184 |
public static int _dk_ValueMember = 22; |
public static final int _dk_ValueMember = 22; |
185 |
|
|
186 |
/** |
/** |
187 |
* Indicates that the current definition defines a Native. |
* Indicates that the current definition defines a Native. |
188 |
*/ |
*/ |
189 |
public static int _dk_Native = 23; |
public static final int _dk_Native = 23; |
190 |
|
|
191 |
/** |
/** |
192 |
* Indicates that the current definition defines an abstract interface. |
* Indicates that the current definition defines an abstract interface. |
193 |
*/ |
*/ |
194 |
public static int _dk_AbstractInterface = 24; |
public static final int _dk_AbstractInterface = 24; |
195 |
|
|
196 |
/** |
/** |
197 |
* Indicates that the current definition defines has no definition kind. |
* Indicates that the current definition defines has no definition kind. |
198 |
*/ |
*/ |
199 |
public static DefinitionKind dk_none = new DefinitionKind(_dk_none); |
public static final DefinitionKind dk_none = new DefinitionKind(_dk_none); |
200 |
|
|
201 |
/** |
/** |
202 |
* This is a "wildcard '*'", used in cases where any definition kind |
* This is a "wildcard '*'", used in cases where any definition kind |
203 |
* is appropriate . |
* is appropriate . |
204 |
*/ |
*/ |
205 |
public static DefinitionKind dk_all = new DefinitionKind(_dk_all); |
public static final DefinitionKind dk_all = new DefinitionKind(_dk_all); |
206 |
|
|
207 |
/** |
/** |
208 |
* Indicates that the current definition defines an attribute. |
* Indicates that the current definition defines an attribute. |
209 |
*/ |
*/ |
210 |
public static DefinitionKind dk_Attribute = new DefinitionKind(_dk_Attribute); |
public static final DefinitionKind dk_Attribute = new DefinitionKind(_dk_Attribute); |
211 |
|
|
212 |
/** |
/** |
213 |
* Indicates that the current definition defines a constant. |
* Indicates that the current definition defines a constant. |
214 |
*/ |
*/ |
215 |
public static DefinitionKind dk_Constant = new DefinitionKind(_dk_Constant); |
public static final DefinitionKind dk_Constant = new DefinitionKind(_dk_Constant); |
216 |
|
|
217 |
/** |
/** |
218 |
* Indicates that the current definition defines an exception. |
* Indicates that the current definition defines an exception. |
219 |
*/ |
*/ |
220 |
public static DefinitionKind dk_Exception = new DefinitionKind(_dk_Exception); |
public static final DefinitionKind dk_Exception = new DefinitionKind(_dk_Exception); |
221 |
|
|
222 |
/** |
/** |
223 |
* Indicates that the current definition defines an interface. |
* Indicates that the current definition defines an interface. |
224 |
* The interface definition can contain constants, types, |
* The interface definition can contain constants, types, |
225 |
* exceptions, operations, and attributes. |
* exceptions, operations, and attributes. |
226 |
*/ |
*/ |
227 |
public static DefinitionKind dk_Interface = new DefinitionKind(_dk_Interface); |
public static final DefinitionKind dk_Interface = new DefinitionKind(_dk_Interface); |
228 |
|
|
229 |
/** |
/** |
230 |
* Indicates that the current definition defines a Module. |
* Indicates that the current definition defines a Module. |
232 |
* interface, component, home, value or event type definitions. |
* interface, component, home, value or event type definitions. |
233 |
* The module can also enclose other (nested) modules. |
* The module can also enclose other (nested) modules. |
234 |
*/ |
*/ |
235 |
public static DefinitionKind dk_Module = new DefinitionKind(_dk_Module); |
public static final DefinitionKind dk_Module = new DefinitionKind(_dk_Module); |
236 |
|
|
237 |
/** |
/** |
238 |
* Indicates that the current definition defines an operation, including |
* Indicates that the current definition defines an operation, including |
239 |
* the lists of parameters and exceptions raised by this operation. |
* the lists of parameters and exceptions raised by this operation. |
240 |
*/ |
*/ |
241 |
public static DefinitionKind dk_Operation = new DefinitionKind(_dk_Operation); |
public static final DefinitionKind dk_Operation = new DefinitionKind(_dk_Operation); |
242 |
|
|
243 |
/** |
/** |
244 |
* Indicates that the current definition defines a named type that is not |
* Indicates that the current definition defines a named type that is not |
246 |
* a definition of component, home and event, but these three kinds are |
* a definition of component, home and event, but these three kinds are |
247 |
* not listed in this class. |
* not listed in this class. |
248 |
*/ |
*/ |
249 |
public static DefinitionKind dk_Typedef = new DefinitionKind(_dk_Typedef); |
public static final DefinitionKind dk_Typedef = new DefinitionKind(_dk_Typedef); |
250 |
|
|
251 |
/** |
/** |
252 |
* Indicates that the current definition defines an alias. |
* Indicates that the current definition defines an alias. |
253 |
*/ |
*/ |
254 |
public static DefinitionKind dk_Alias = new DefinitionKind(_dk_Alias); |
public static final DefinitionKind dk_Alias = new DefinitionKind(_dk_Alias); |
255 |
|
|
256 |
/** |
/** |
257 |
* Indicates that the current definition defines a structure. |
* Indicates that the current definition defines a structure. |
258 |
*/ |
*/ |
259 |
public static DefinitionKind dk_Struct = new DefinitionKind(_dk_Struct); |
public static final DefinitionKind dk_Struct = new DefinitionKind(_dk_Struct); |
260 |
|
|
261 |
/** |
/** |
262 |
* Indicates that the current definition defines a union. |
* Indicates that the current definition defines a union. |
263 |
*/ |
*/ |
264 |
public static DefinitionKind dk_Union = new DefinitionKind(_dk_Union); |
public static final DefinitionKind dk_Union = new DefinitionKind(_dk_Union); |
265 |
|
|
266 |
/** |
/** |
267 |
* Indicates that the current definition defines an enumeration. |
* Indicates that the current definition defines an enumeration. |
268 |
*/ |
*/ |
269 |
public static DefinitionKind dk_Enum = new DefinitionKind(_dk_Enum); |
public static final DefinitionKind dk_Enum = new DefinitionKind(_dk_Enum); |
270 |
|
|
271 |
/** |
/** |
272 |
* Indicates that the current definition defines a primitive type. |
* Indicates that the current definition defines a primitive type. |
273 |
*/ |
*/ |
274 |
public static DefinitionKind dk_Primitive = new DefinitionKind(_dk_Primitive); |
public static final DefinitionKind dk_Primitive = new DefinitionKind(_dk_Primitive); |
275 |
|
|
276 |
/** |
/** |
277 |
* Indicates that the current definition defines a string. |
* Indicates that the current definition defines a string. |
278 |
*/ |
*/ |
279 |
public static DefinitionKind dk_String = new DefinitionKind(_dk_String); |
public static final DefinitionKind dk_String = new DefinitionKind(_dk_String); |
280 |
|
|
281 |
/** |
/** |
282 |
* Indicates that the current definition defines a sequence. |
* Indicates that the current definition defines a sequence. |
283 |
*/ |
*/ |
284 |
public static DefinitionKind dk_Sequence = new DefinitionKind(_dk_Sequence); |
public static final DefinitionKind dk_Sequence = new DefinitionKind(_dk_Sequence); |
285 |
|
|
286 |
/** |
/** |
287 |
* Indicates that the current definition defines an array. |
* Indicates that the current definition defines an array. |
288 |
*/ |
*/ |
289 |
public static DefinitionKind dk_Array = new DefinitionKind(_dk_Array); |
public static final DefinitionKind dk_Array = new DefinitionKind(_dk_Array); |
290 |
|
|
291 |
/** |
/** |
292 |
* Indicates that the current definition defines an another interface |
* Indicates that the current definition defines an another interface |
293 |
* repository. |
* repository. |
294 |
*/ |
*/ |
295 |
public static DefinitionKind dk_Repository = |
public static final DefinitionKind dk_Repository = |
296 |
new DefinitionKind(_dk_Repository); |
new DefinitionKind(_dk_Repository); |
297 |
|
|
298 |
/** |
/** |
299 |
* Indicates that the current definition defines a wide (usually 16-bit |
* Indicates that the current definition defines a wide (usually 16-bit |
300 |
* per character) string. |
* per character) string. |
301 |
*/ |
*/ |
302 |
public static DefinitionKind dk_Wstring = new DefinitionKind(_dk_Wstring); |
public static final DefinitionKind dk_Wstring = new DefinitionKind(_dk_Wstring); |
303 |
|
|
304 |
/** |
/** |
305 |
* Indicates that the current definition defines a CORBA <code>fixed</code>. |
* Indicates that the current definition defines a CORBA <code>fixed</code>. |
306 |
*/ |
*/ |
307 |
public static DefinitionKind dk_Fixed = new DefinitionKind(_dk_Fixed); |
public static final DefinitionKind dk_Fixed = new DefinitionKind(_dk_Fixed); |
308 |
|
|
309 |
/** |
/** |
310 |
* Indicates that the current definition defines a value. |
* Indicates that the current definition defines a value. |
311 |
*/ |
*/ |
312 |
public static DefinitionKind dk_Value = new DefinitionKind(_dk_Value); |
public static final DefinitionKind dk_Value = new DefinitionKind(_dk_Value); |
313 |
|
|
314 |
/** |
/** |
315 |
* Indicates that the current definition defines a value box. |
* Indicates that the current definition defines a value box. |
316 |
*/ |
*/ |
317 |
public static DefinitionKind dk_ValueBox = new DefinitionKind(_dk_ValueBox); |
public static final DefinitionKind dk_ValueBox = new DefinitionKind(_dk_ValueBox); |
318 |
|
|
319 |
/** |
/** |
320 |
* Indicates that the current definition defines value member. |
* Indicates that the current definition defines value member. |
321 |
*/ |
*/ |
322 |
public static DefinitionKind dk_ValueMember = |
public static final DefinitionKind dk_ValueMember = |
323 |
new DefinitionKind(_dk_ValueMember); |
new DefinitionKind(_dk_ValueMember); |
324 |
|
|
325 |
/** |
/** |
326 |
* Indicates that the current definition defines a Native. |
* Indicates that the current definition defines a Native. |
327 |
*/ |
*/ |
328 |
public static DefinitionKind dk_Native = new DefinitionKind(_dk_Native); |
public static final DefinitionKind dk_Native = new DefinitionKind(_dk_Native); |
329 |
|
|
330 |
/** |
/** |
331 |
* Indicates that the current definition defines . |
* Indicates that the current definition defines . |
332 |
*/ |
*/ |
333 |
public static DefinitionKind dk_AbstractInterface = |
public static final DefinitionKind dk_AbstractInterface = |
334 |
new DefinitionKind(_dk_AbstractInterface); |
new DefinitionKind(_dk_AbstractInterface); |
335 |
|
|
336 |
/** |
/** |
422 |
table [ _dk_Native ] = dk_Native; |
table [ _dk_Native ] = dk_Native; |
423 |
table [ _dk_AbstractInterface ] = dk_AbstractInterface; |
table [ _dk_AbstractInterface ] = dk_AbstractInterface; |
424 |
} |
} |
425 |
} |
} |