org.omg.CORBA

Class TCKind

public class TCKind extends Object

The basic constants, used in java to IDL mapping.
Field Summary
static TCKindtk_abstract_interface
The TCKind constant, indicating IDL data type abstract_interface
static TCKindtk_alias
The TCKind constant, indicating IDL data type alias
static TCKindtk_any
The TCKind constant, indicating IDL data type any
static TCKindtk_array
The TCKind constant, indicating IDL data type array
static TCKindtk_boolean
The TCKind constant, indicating IDL data type boolean
static TCKindtk_char
The TCKind constant, indicating IDL data type char
static TCKindtk_double
The TCKind constant, indicating IDL data type double
static TCKindtk_enum
The TCKind constant, indicating IDL data type enum
static TCKindtk_except
The TCKind constant, indicating IDL data type except
static TCKindtk_fixed
The TCKind constant, indicating IDL data type fixed
static TCKindtk_float
The TCKind constant, indicating IDL data type float
static TCKindtk_long
The TCKind constant, indicating IDL data type long
static TCKindtk_longdouble
The TCKind constant, indicating IDL data type longdouble
static TCKindtk_longlong
The TCKind constant, indicating IDL data type longlong
static TCKindtk_native
The TCKind constant, indicating IDL data type native
static TCKindtk_null
The TCKind constant, indicating IDL data type null
static TCKindtk_objref
The TCKind constant, indicating IDL data type objref
static TCKindtk_octet
The TCKind constant, indicating IDL data type octet
static TCKindtk_Principal
The TCKind constant, indicating IDL data type Principal
static TCKindtk_sequence
The TCKind constant, indicating IDL data type sequence
static TCKindtk_short
The TCKind constant, indicating IDL data type short
static TCKindtk_string
The TCKind constant, indicating IDL data type string
static TCKindtk_struct
The TCKind constant, indicating IDL data type struct
static TCKindtk_TypeCode
The TCKind constant, indicating IDL data type TypeCode
static TCKindtk_ulong
The TCKind constant, indicating IDL data type ulong
static TCKindtk_ulonglong
The TCKind constant, indicating IDL data type ulonglong
static TCKindtk_union
The TCKind constant, indicating IDL data type union
static TCKindtk_ushort
The TCKind constant, indicating IDL data type ushort
static TCKindtk_value
The TCKind constant, indicating IDL data type value
static TCKindtk_value_box
The TCKind constant, indicating IDL data type value_box
static TCKindtk_void
The TCKind constant, indicating IDL data type void
static TCKindtk_wchar
The TCKind constant, indicating IDL data type wchar
static TCKindtk_wstring
The TCKind constant, indicating IDL data type wstring
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_Principal
The integer constant, indicating IDL data type Principal.
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_TypeCode
The integer constant, indicating IDL data type TypeCode.
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.
Constructor Summary
protected TCKind(int kind)
Creates a new TCKind instance with the given integer constant value.
Method Summary
static TCKindfrom_int(int _tk_nnn)
Return a TCKind object, matching the given integer code.
intvalue()
Returns the integer value, corresponding this instance of TCKind.

Field Detail

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_Principal

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

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_TypeCode

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

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

_tk_abstract_interface

public static final int _tk_abstract_interface
The integer constant, indicating IDL data type abstract_interface.

_tk_alias

public static final int _tk_alias
The integer constant, indicating IDL data type alias.

_tk_any

public static final int _tk_any
The integer constant, indicating IDL data type any.

_tk_array

public static final int _tk_array
The integer constant, indicating IDL data type array.

_tk_boolean

public static final int _tk_boolean
The integer constant, indicating IDL data type boolean.

_tk_char

public static final int _tk_char
The integer constant, indicating IDL data type char.

_tk_double

public static final int _tk_double
The integer constant, indicating IDL data type double.

_tk_enum

public static final int _tk_enum
The integer constant, indicating IDL data type enum.

_tk_except

public static final int _tk_except
The integer constant, indicating IDL data type except.

_tk_fixed

public static final int _tk_fixed
The integer constant, indicating IDL data type fixed.

_tk_float

public static final int _tk_float
The integer constant, indicating IDL data type float.

_tk_long

public static final int _tk_long
The integer constant, indicating IDL data type long.

_tk_longdouble

public static final int _tk_longdouble
The integer constant, indicating IDL data type longdouble.

_tk_longlong

public static final int _tk_longlong
The integer constant, indicating IDL data type longlong.

_tk_native

public static final int _tk_native
The integer constant, indicating IDL data type native.

_tk_null

public static final int _tk_null
The integer constant, indicating IDL data type null.

_tk_objref

public static final int _tk_objref
The integer constant, indicating IDL data type objref.

_tk_octet

public static final int _tk_octet
The integer constant, indicating IDL data type octet.

_tk_Principal

public static final int _tk_Principal
The integer constant, indicating IDL data type Principal.

_tk_sequence

public static final int _tk_sequence
The integer constant, indicating IDL data type sequence.

_tk_short

public static final int _tk_short
The integer constant, indicating IDL data type short.

_tk_string

public static final int _tk_string
The integer constant, indicating IDL data type string.

_tk_struct

public static final int _tk_struct
The integer constant, indicating IDL data type struct.

_tk_TypeCode

public static final int _tk_TypeCode
The integer constant, indicating IDL data type TypeCode.

_tk_ulong

public static final int _tk_ulong
The integer constant, indicating IDL data type ulong.

_tk_ulonglong

public static final int _tk_ulonglong
The integer constant, indicating IDL data type ulonglong.

_tk_union

public static final int _tk_union
The integer constant, indicating IDL data type union.

_tk_ushort

public static final int _tk_ushort
The integer constant, indicating IDL data type ushort.

_tk_value

public static final int _tk_value
The integer constant, indicating IDL data type value.

_tk_value_box

public static final int _tk_value_box
The integer constant, indicating IDL data type value_box.

_tk_void

public static final int _tk_void
The integer constant, indicating IDL data type void.

_tk_wchar

public static final int _tk_wchar
The integer constant, indicating IDL data type wchar.

_tk_wstring

public static final int _tk_wstring
The integer constant, indicating IDL data type wstring.

Constructor Detail

TCKind

protected TCKind(int kind)

Deprecated: it is recommended to use {@link #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 Detail

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.