org.omg.CORBA

Class TCKind


public class TCKind
extends Object

The basic constants, used in java to IDL mapping.

Field Summary

static int
_tk_Principal
The integer constant, indicating IDL data type Principal.
static int
_tk_TypeCode
The integer constant, indicating IDL data type TypeCode.
static int
_tk_abstract_interface
The integer constant, indicating IDL data type abstract_interface.
static int
_tk_alias
The integer constant, indicating IDL data type alias.
static int
_tk_any
The integer constant, indicating IDL data type any.
static int
_tk_array
The integer constant, indicating IDL data type array.
static int
_tk_boolean
The integer constant, indicating IDL data type boolean.
static int
_tk_char
The integer constant, indicating IDL data type char.
static int
_tk_double
The integer constant, indicating IDL data type double.
static int
_tk_enum
The integer constant, indicating IDL data type enum.
static int
_tk_except
The integer constant, indicating IDL data type except.
static int
_tk_fixed
The integer constant, indicating IDL data type fixed.
static int
_tk_float
The integer constant, indicating IDL data type float.
static int
_tk_long
The integer constant, indicating IDL data type long.
static int
_tk_longdouble
The integer constant, indicating IDL data type longdouble.
static int
_tk_longlong
The integer constant, indicating IDL data type longlong.
static int
_tk_native
The integer constant, indicating IDL data type native.
static int
_tk_null
The integer constant, indicating IDL data type null.
static int
_tk_objref
The integer constant, indicating IDL data type objref.
static int
_tk_octet
The integer constant, indicating IDL data type octet.
static int
_tk_sequence
The integer constant, indicating IDL data type sequence.
static int
_tk_short
The integer constant, indicating IDL data type short.
static int
_tk_string
The integer constant, indicating IDL data type string.
static int
_tk_struct
The integer constant, indicating IDL data type struct.
static int
_tk_ulong
The integer constant, indicating IDL data type ulong.
static int
_tk_ulonglong
The integer constant, indicating IDL data type ulonglong.
static int
_tk_union
The integer constant, indicating IDL data type union.
static int
_tk_ushort
The integer constant, indicating IDL data type ushort.
static int
_tk_value
The integer constant, indicating IDL data type value.
static int
_tk_value_box
The integer constant, indicating IDL data type value_box.
static int
_tk_void
The integer constant, indicating IDL data type void.
static int
_tk_wchar
The integer constant, indicating IDL data type wchar.
static int
_tk_wstring
The integer constant, indicating IDL data type wstring.
static TCKind
tk_Principal
The TCKind constant, indicating IDL data type Principal
static TCKind
tk_TypeCode
The TCKind constant, indicating IDL data type TypeCode
static TCKind
tk_abstract_interface
The TCKind constant, indicating IDL data type abstract_interface
static TCKind
tk_alias
The TCKind constant, indicating IDL data type alias
static TCKind
tk_any
The TCKind constant, indicating IDL data type any
static TCKind
tk_array
The TCKind constant, indicating IDL data type array
static TCKind
tk_boolean
The TCKind constant, indicating IDL data type boolean
static TCKind
tk_char
The TCKind constant, indicating IDL data type char
static TCKind
tk_double
The TCKind constant, indicating IDL data type double
static TCKind
tk_enum
The TCKind constant, indicating IDL data type enum
static TCKind
tk_except
The TCKind constant, indicating IDL data type except
static TCKind
tk_fixed
The TCKind constant, indicating IDL data type fixed
static TCKind
tk_float
The TCKind constant, indicating IDL data type float
static TCKind
tk_long
The TCKind constant, indicating IDL data type long
static TCKind
tk_longdouble
The TCKind constant, indicating IDL data type longdouble
static TCKind
tk_longlong
The TCKind constant, indicating IDL data type longlong
static TCKind
tk_native
The TCKind constant, indicating IDL data type native
static TCKind
tk_null
The TCKind constant, indicating IDL data type null
static TCKind
tk_objref
The TCKind constant, indicating IDL data type objref
static TCKind
tk_octet
The TCKind constant, indicating IDL data type octet
static TCKind
tk_sequence
The TCKind constant, indicating IDL data type sequence
static TCKind
tk_short
The TCKind constant, indicating IDL data type short
static TCKind
tk_string
The TCKind constant, indicating IDL data type string
static TCKind
tk_struct
The TCKind constant, indicating IDL data type struct
static TCKind
tk_ulong
The TCKind constant, indicating IDL data type ulong
static TCKind
tk_ulonglong
The TCKind constant, indicating IDL data type ulonglong
static TCKind
tk_union
The TCKind constant, indicating IDL data type union
static TCKind
tk_ushort
The TCKind constant, indicating IDL data type ushort
static TCKind
tk_value
The TCKind constant, indicating IDL data type value
static TCKind
tk_value_box
The TCKind constant, indicating IDL data type value_box
static TCKind
tk_void
The TCKind constant, indicating IDL data type void
static TCKind
tk_wchar
The TCKind constant, indicating IDL data type wchar
static TCKind
tk_wstring
The TCKind constant, indicating IDL data type wstring

Constructor Summary

TCKind(int kind)
Deprecated. it is recommended to use from_int(int) that reuses existing TCKind object instead of allocating the new instance.

Method Summary

static TCKind
from_int(int _tk_nnn)
Return a TCKind object, matching the given integer code.
int
value()
Returns the integer value, corresponding this instance of TCKind.

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Details

_tk_Principal

public static final int _tk_Principal
The integer constant, indicating IDL data type Principal.
Field Value:
13

_tk_TypeCode

public static final int _tk_TypeCode
The integer constant, indicating IDL data type TypeCode.
Field Value:
12

_tk_abstract_interface

public static final int _tk_abstract_interface
The integer constant, indicating IDL data type abstract_interface.
Field Value:
32

_tk_alias

public static final int _tk_alias
The integer constant, indicating IDL data type alias.
Field Value:
21

_tk_any

public static final int _tk_any
The integer constant, indicating IDL data type any.
Field Value:
11

_tk_array

public static final int _tk_array
The integer constant, indicating IDL data type array.
Field Value:
20

_tk_boolean

public static final int _tk_boolean
The integer constant, indicating IDL data type boolean.
Field Value:
8

_tk_char

public static final int _tk_char
The integer constant, indicating IDL data type char.
Field Value:
9

_tk_double

public static final int _tk_double
The integer constant, indicating IDL data type double.
Field Value:
7

_tk_enum

public static final int _tk_enum
The integer constant, indicating IDL data type enum.
Field Value:
17

_tk_except

public static final int _tk_except
The integer constant, indicating IDL data type except.
Field Value:
22

_tk_fixed

public static final int _tk_fixed
The integer constant, indicating IDL data type fixed.
Field Value:
28

_tk_float

public static final int _tk_float
The integer constant, indicating IDL data type float.
Field Value:
6

_tk_long

public static final int _tk_long
The integer constant, indicating IDL data type long.
Field Value:
3

_tk_longdouble

public static final int _tk_longdouble
The integer constant, indicating IDL data type longdouble.
Field Value:
25

_tk_longlong

public static final int _tk_longlong
The integer constant, indicating IDL data type longlong.
Field Value:
23

_tk_native

public static final int _tk_native
The integer constant, indicating IDL data type native.
Field Value:
31

_tk_null

public static final int _tk_null
The integer constant, indicating IDL data type null.
Field Value:
0

_tk_objref

public static final int _tk_objref
The integer constant, indicating IDL data type objref.
Field Value:
14

_tk_octet

public static final int _tk_octet
The integer constant, indicating IDL data type octet.
Field Value:
10

_tk_sequence

public static final int _tk_sequence
The integer constant, indicating IDL data type sequence.
Field Value:
19

_tk_short

public static final int _tk_short
The integer constant, indicating IDL data type short.
Field Value:
2

_tk_string

public static final int _tk_string
The integer constant, indicating IDL data type string.
Field Value:
18

_tk_struct

public static final int _tk_struct
The integer constant, indicating IDL data type struct.
Field Value:
15

_tk_ulong

public static final int _tk_ulong
The integer constant, indicating IDL data type ulong.
Field Value:
5

_tk_ulonglong

public static final int _tk_ulonglong
The integer constant, indicating IDL data type ulonglong.
Field Value:
24

_tk_union

public static final int _tk_union
The integer constant, indicating IDL data type union.
Field Value:
16

_tk_ushort

public static final int _tk_ushort
The integer constant, indicating IDL data type ushort.
Field Value:
4

_tk_value

public static final int _tk_value
The integer constant, indicating IDL data type value.
Field Value:
29

_tk_value_box

public static final int _tk_value_box
The integer constant, indicating IDL data type value_box.
Field Value:
30

_tk_void

public static final int _tk_void
The integer constant, indicating IDL data type void.
Field Value:
1

_tk_wchar

public static final int _tk_wchar
The integer constant, indicating IDL data type wchar.
Field Value:
26

_tk_wstring

public static final int _tk_wstring
The integer constant, indicating IDL data type wstring.
Field Value:
27

tk_Principal

public static final TCKind tk_Principal
The TCKind constant, indicating IDL data type Principal

tk_TypeCode

public static final TCKind tk_TypeCode
The TCKind constant, indicating IDL data type TypeCode

tk_abstract_interface

public static final TCKind tk_abstract_interface
The TCKind constant, indicating IDL data type abstract_interface

tk_alias

public static final TCKind tk_alias
The TCKind constant, indicating IDL data type alias

tk_any

public static final TCKind tk_any
The TCKind constant, indicating IDL data type any

tk_array

public static final TCKind tk_array
The TCKind constant, indicating IDL data type array

tk_boolean

public static final TCKind tk_boolean
The TCKind constant, indicating IDL data type boolean

tk_char

public static final TCKind tk_char
The TCKind constant, indicating IDL data type char

tk_double

public static final TCKind tk_double
The TCKind constant, indicating IDL data type double

tk_enum

public static final TCKind tk_enum
The TCKind constant, indicating IDL data type enum

tk_except

public static final TCKind tk_except
The TCKind constant, indicating IDL data type except

tk_fixed

public static final TCKind tk_fixed
The TCKind constant, indicating IDL data type fixed

tk_float

public static final TCKind tk_float
The TCKind constant, indicating IDL data type float

tk_long

public static final TCKind tk_long
The TCKind constant, indicating IDL data type long

tk_longdouble

public static final TCKind tk_longdouble
The TCKind constant, indicating IDL data type longdouble

tk_longlong

public static final TCKind tk_longlong
The TCKind constant, indicating IDL data type longlong

tk_native

public static final TCKind tk_native
The TCKind constant, indicating IDL data type native

tk_null

public static final TCKind tk_null
The TCKind constant, indicating IDL data type null

tk_objref

public static final TCKind tk_objref
The TCKind constant, indicating IDL data type objref

tk_octet

public static final TCKind tk_octet
The TCKind constant, indicating IDL data type octet

tk_sequence

public static final TCKind tk_sequence
The TCKind constant, indicating IDL data type sequence

tk_short

public static final TCKind tk_short
The TCKind constant, indicating IDL data type short

tk_string

public static final TCKind tk_string
The TCKind constant, indicating IDL data type string

tk_struct

public static final TCKind tk_struct
The TCKind constant, indicating IDL data type struct

tk_ulong

public static final TCKind tk_ulong
The TCKind constant, indicating IDL data type ulong

tk_ulonglong

public static final TCKind tk_ulonglong
The TCKind constant, indicating IDL data type ulonglong

tk_union

public static final TCKind tk_union
The TCKind constant, indicating IDL data type union

tk_ushort

public static final TCKind tk_ushort
The TCKind constant, indicating IDL data type ushort

tk_value

public static final TCKind tk_value
The TCKind constant, indicating IDL data type value

tk_value_box

public static final TCKind tk_value_box
The TCKind constant, indicating IDL data type value_box

tk_void

public static final TCKind tk_void
The TCKind constant, indicating IDL data type void

tk_wchar

public static final TCKind tk_wchar
The TCKind constant, indicating IDL data type wchar

tk_wstring

public static final TCKind tk_wstring
The TCKind constant, indicating IDL data type wstring

Constructor Details

TCKind

protected TCKind(int kind)

Deprecated. it is recommended to use from_int(int) that reuses existing TCKind object instead of allocating the new instance.

Creates a new TCKind instance with the given integer constant value.
Parameters:
kind - one of the _tk_.. constants.

Method Details

from_int

public static TCKind from_int(int _tk_nnn)
Return a TCKind object, matching the given integer code.
Parameters:
_tk_nnn - the TCKind code, one of _tk_.. constants.
Returns:
the matching instance of TCKind, on of tk_.. constants.
Throws:
BAD_PARAM - if the given integer constant is not one of the valid _tk_.. constants.

value

public int value()
Returns the integer value, corresponding this instance of TCKind.
Returns:
the _tk_.. value, matching this instance.

TCKind.java -- java to IDL mapping constants. Copyright (C) 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.