Java Platform 1.2
Beta 4

Class org.omg.CORBA.TCKind

java.lang.Object
  |
  +--org.omg.CORBA.TCKind

public final class TCKind
extends Object
The Java mapping of the IDL enum TCKind, which specifies the kind of a TypeCode object. There is one kind for each primitive and essential IDL datatype.

The class TCKind consists of:

The value field of a TCKind instance is the CDR encoding used for a TypeCode object in an IIOP message.


Field Summary
static int _tk_alias
           
static int _tk_any
           
static int _tk_array
           
static int _tk_boolean
           
static int _tk_char
           
static int _tk_double
           
static int _tk_enum
           
static int _tk_except
           
static int _tk_fixed
           
static int _tk_float
           
static int _tk_long
           
static int _tk_longdouble
           
static int _tk_longlong
           
static int _tk_native
           
static int _tk_null
           
static int _tk_objref
           
static int _tk_octet
           
static int _tk_Principal
           
static int _tk_sequence
           
static int _tk_short
           
static int _tk_string
           
static int _tk_struct
           
static int _tk_TypeCode
           
static int _tk_ulong
           
static int _tk_ulonglong
           
static int _tk_union
           
static int _tk_ushort
           
static int _tk_value
           
static int _tk_value_box
           
static int _tk_void
           
static int _tk_wchar
           
static int _tk_wstring
           
static TCKind tk_alias
           
static TCKind tk_any
           
static TCKind tk_array
           
static TCKind tk_boolean
           
static TCKind tk_char
           
static TCKind tk_double
           
static TCKind tk_enum
           
static TCKind tk_except
           
static TCKind tk_fixed
           
static TCKind tk_float
           
static TCKind tk_long
           
static TCKind tk_longdouble
           
static TCKind tk_longlong
           
static TCKind tk_native
           
static TCKind tk_null
           
static TCKind tk_objref
           
static TCKind tk_octet
           
static TCKind tk_Principal
           
static TCKind tk_sequence
           
static TCKind tk_short
           
static TCKind tk_string
           
static TCKind tk_struct
           
static TCKind tk_TypeCode
           
static TCKind tk_ulong
           
static TCKind tk_ulonglong
           
static TCKind tk_union
           
static TCKind tk_ushort
           
static TCKind tk_value
           
static TCKind tk_value_box
           
static TCKind tk_void
           
static TCKind tk_wchar
           
static TCKind tk_wstring
           
 
Method Summary
static TCKind from_int(int i)
          Converts the given int to the corresponding TCKind instance.
 int value()
          Retrieves the value of this TCKind instance.
 
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

_tk_void

public static final int _tk_void

_tk_short

public static final int _tk_short

_tk_long

public static final int _tk_long

_tk_ushort

public static final int _tk_ushort

_tk_ulong

public static final int _tk_ulong

_tk_float

public static final int _tk_float

_tk_double

public static final int _tk_double

_tk_boolean

public static final int _tk_boolean

_tk_char

public static final int _tk_char

_tk_octet

public static final int _tk_octet

_tk_any

public static final int _tk_any

_tk_TypeCode

public static final int _tk_TypeCode

_tk_Principal

public static final int _tk_Principal

_tk_objref

public static final int _tk_objref

_tk_struct

public static final int _tk_struct

_tk_union

public static final int _tk_union

_tk_enum

public static final int _tk_enum

_tk_string

public static final int _tk_string

_tk_sequence

public static final int _tk_sequence

_tk_array

public static final int _tk_array

_tk_alias

public static final int _tk_alias

_tk_except

public static final int _tk_except

_tk_longlong

public static final int _tk_longlong

_tk_ulonglong

public static final int _tk_ulonglong

_tk_longdouble

public static final int _tk_longdouble

_tk_wchar

public static final int _tk_wchar

_tk_wstring

public static final int _tk_wstring

_tk_fixed

public static final int _tk_fixed

_tk_value

public static final int _tk_value

_tk_value_box

public static final int _tk_value_box

_tk_native

public static final int _tk_native

tk_null

public static final TCKind tk_null

tk_void

public static final TCKind tk_void

tk_short

public static final TCKind tk_short

tk_long

public static final TCKind tk_long

tk_ushort

public static final TCKind tk_ushort

tk_ulong

public static final TCKind tk_ulong

tk_float

public static final TCKind tk_float

tk_double

public static final TCKind tk_double

tk_boolean

public static final TCKind tk_boolean

tk_char

public static final TCKind tk_char

tk_octet

public static final TCKind tk_octet

tk_any

public static final TCKind tk_any

tk_TypeCode

public static final TCKind tk_TypeCode

tk_Principal

public static final TCKind tk_Principal

tk_objref

public static final TCKind tk_objref

tk_struct

public static final TCKind tk_struct

tk_union

public static final TCKind tk_union

tk_enum

public static final TCKind tk_enum

tk_string

public static final TCKind tk_string

tk_sequence

public static final TCKind tk_sequence

tk_array

public static final TCKind tk_array

tk_alias

public static final TCKind tk_alias

tk_except

public static final TCKind tk_except

tk_longlong

public static final TCKind tk_longlong

tk_ulonglong

public static final TCKind tk_ulonglong

tk_longdouble

public static final TCKind tk_longdouble

tk_wchar

public static final TCKind tk_wchar

tk_wstring

public static final TCKind tk_wstring

tk_fixed

public static final TCKind tk_fixed

tk_value

public static final TCKind tk_value

tk_value_box

public static final TCKind tk_value_box

tk_native

public static final TCKind tk_native
Method Detail

value

public int value()
Retrieves the value of this TCKind instance.
Returns:
the int that represents the kind of IDL data type for this TCKind instance

from_int

public static final TCKind from_int(int i)
                             throws BAD_PARAM
Converts the given int to the corresponding TCKind instance.
Parameters:
the - int to convert. It must be one of the int constants in the class TCKind.
Returns:
the TCKind instance whose value field matches the given int
Throws:
BAD_PARAM - if the given int does not match the _value field of any TCKind instance

Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.