org.omg.CORBA
Class TCKind

java.lang.Object
  extended by org.omg.CORBA.TCKind

public class TCKind
extends Object

The basic constants, used in java to IDL mapping.


Field Summary
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.
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_Principal
          The TCKind constant, indicating IDL data type Principal
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_TypeCode
          The TCKind constant, indicating IDL data type TypeCode
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
protected 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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_tk_null

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

See Also:
Constant Field Values

_tk_void

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

See Also:
Constant Field Values

_tk_short

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

See Also:
Constant Field Values

_tk_long

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

See Also:
Constant Field Values

_tk_ushort

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

See Also:
Constant Field Values

_tk_ulong

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

See Also:
Constant Field Values

_tk_float

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

See Also:
Constant Field Values

_tk_double

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

See Also:
Constant Field Values

_tk_boolean

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

See Also:
Constant Field Values

_tk_char

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

See Also:
Constant Field Values

_tk_octet

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

See Also:
Constant Field Values

_tk_any

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

See Also:
Constant Field Values

_tk_TypeCode

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

See Also:
Constant Field Values

_tk_Principal

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

See Also:
Constant Field Values

_tk_objref

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

See Also:
Constant Field Values

_tk_struct

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

See Also:
Constant Field Values

_tk_union

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

See Also:
Constant Field Values

_tk_enum

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

See Also:
Constant Field Values

_tk_string

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

See Also:
Constant Field Values

_tk_sequence

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

See Also:
Constant Field Values

_tk_array

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

See Also:
Constant Field Values

_tk_alias

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

See Also:
Constant Field Values

_tk_except

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

See Also:
Constant Field Values

_tk_longlong

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

See Also:
Constant Field Values

_tk_ulonglong

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

See Also:
Constant Field Values

_tk_longdouble

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

See Also:
Constant Field Values

_tk_wchar

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

See Also:
Constant Field Values

_tk_wstring

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

See Also:
Constant Field Values

_tk_fixed

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

See Also:
Constant Field Values

_tk_value

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

See Also:
Constant Field Values

_tk_value_box

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

See Also:
Constant Field Values

_tk_native

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

See Also:
Constant Field Values

_tk_abstract_interface

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

See Also:
Constant Field Values

tk_null

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


tk_void

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


tk_short

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


tk_long

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


tk_ushort

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


tk_ulong

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


tk_float

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


tk_double

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


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_octet

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


tk_any

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


tk_TypeCode

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


tk_Principal

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


tk_objref

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


tk_struct

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


tk_union

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


tk_enum

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


tk_string

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


tk_sequence

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


tk_array

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


tk_alias

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


tk_except

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


tk_longlong

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


tk_ulonglong

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


tk_longdouble

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


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_fixed

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


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_native

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


tk_abstract_interface

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

Constructor Detail

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 Detail

value

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

Returns:
the _tk_.. value, matching this instance.

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.