| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.omg.CORBA.TCKind
public class TCKind
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 data type.
 
 The class TCKind consists of:
 
int constants, one for each
 kind of IDL data type.  These int constants
 make it possible to use a switch statement.
 TCKind constants, one for each
 kind of IDL data type.  The value field for
 each TCKind instance is initialized with
 the int constant that corresponds with
 the IDL data type that the instance represents.
 from_intfor converting
 an int to its
 corresponding TCKind instance
 Example:
      org.omg.CORBA.TCKind k = org.omg.CORBA.TCKind.from_int(
                         org.omg.CORBA.TCKind._tk_string);
 
 The variable k represents the TCKind
 instance for the IDL type string, which is
 tk_string.
 
value for accessing the
 _value field of a TCKind constant
 Example:
int i = org.omg.CORBA.TCKind.tk_char.value();The variable
i represents 9, the value for the
 IDL data type char.
 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_abstract_interfaceThe intconstant for the IDL data typeabstract interface. | 
| static int | _tk_aliasThe intconstant for the IDL data typealias. | 
| static int | _tk_anyThe intconstant for the IDL data typeany. | 
| static int | _tk_arrayThe intconstant for the IDL data typearray. | 
| static int | _tk_booleanThe intconstant for the IDL data typeboolean. | 
| static int | _tk_charThe intconstant for the IDL data typechar. | 
| static int | _tk_doubleThe intconstant for the IDL data typedouble. | 
| static int | _tk_enumThe intconstant for the IDL data typeenum. | 
| static int | _tk_exceptThe intconstant for the IDL data typeexcept. | 
| static int | _tk_fixedThe intconstant for the IDL data typefixed. | 
| static int | _tk_floatThe intconstant for the IDL data typefloat. | 
| static int | _tk_longThe intconstant for the IDL data typelong. | 
| static int | _tk_longdoubleThe intconstant for the IDL data typelongdouble. | 
| static int | _tk_longlongThe intconstant for the IDL data typelonglong. | 
| static int | _tk_nativeThe intconstant for the IDL data typenative. | 
| static int | _tk_nullThe intconstant for anullIDL data type. | 
| static int | _tk_objrefThe intconstant for the IDL data typeobjref. | 
| static int | _tk_octetThe intconstant for the IDL data typeoctet. | 
| static int | _tk_PrincipalThe intconstant for the IDL data typePrincipal. | 
| static int | _tk_sequenceThe intconstant for the IDL data typesequence. | 
| static int | _tk_shortThe intconstant for the IDL data typeshort. | 
| static int | _tk_stringThe intconstant for the IDL data typestring. | 
| static int | _tk_structThe intconstant for the IDL data typestruct. | 
| static int | _tk_TypeCodeThe intconstant for the IDL data typeTypeCode. | 
| static int | _tk_ulongThe intconstant for the IDL data typeulong. | 
| static int | _tk_ulonglongThe intconstant for the IDL data typeulonglong. | 
| static int | _tk_unionThe intconstant for the IDL data typeunion. | 
| static int | _tk_ushortThe intconstant for the IDL data typeushort. | 
| static int | _tk_valueThe intconstant for the IDL data typevalue. | 
| static int | _tk_value_boxThe intconstant for the IDL data typevalue_box. | 
| static int | _tk_voidThe intconstant for the IDL data typevoid. | 
| static int | _tk_wcharThe intconstant for the IDL data typewchar. | 
| static int | _tk_wstringThe intconstant for the IDL data typewstring. | 
| static TCKind | tk_abstract_interfaceThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_abstract_interface. | 
| static TCKind | tk_aliasThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_alias. | 
| static TCKind | tk_anyThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_any. | 
| static TCKind | tk_arrayThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_array. | 
| static TCKind | tk_booleanThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_boolean. | 
| static TCKind | tk_charThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_char. | 
| static TCKind | tk_doubleThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_double. | 
| static TCKind | tk_enumThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_enum. | 
| static TCKind | tk_exceptThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_except. | 
| static TCKind | tk_fixedThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_fixed. | 
| static TCKind | tk_floatThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_float. | 
| static TCKind | tk_longThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_long. | 
| static TCKind | tk_longdoubleThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_longdouble. | 
| static TCKind | tk_longlongThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_longlong. | 
| static TCKind | tk_nativeThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_native. | 
| static TCKind | tk_nullThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_null. | 
| static TCKind | tk_objrefThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_objref. | 
| static TCKind | tk_octetThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_octet. | 
| static TCKind | tk_PrincipalThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_Principal. | 
| static TCKind | tk_sequenceThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_sequence. | 
| static TCKind | tk_shortThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_short. | 
| static TCKind | tk_stringThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_string. | 
| static TCKind | tk_structThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_struct. | 
| static TCKind | tk_TypeCodeThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_TypeCode. | 
| static TCKind | tk_ulongThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_ulong. | 
| static TCKind | tk_ulonglongThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_ulonglong. | 
| static TCKind | tk_unionThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_union. | 
| static TCKind | tk_ushortThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_ushort. | 
| static TCKind | tk_valueThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_value. | 
| static TCKind | tk_value_boxThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_value_box. | 
| static TCKind | tk_voidThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_void. | 
| static TCKind | tk_wcharThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_wchar. | 
| static TCKind | tk_wstringThe TCKindconstant whosevaluefield is
 initialized withTCKind._tk_wstring. | 
| Constructor Summary | |
|---|---|
| protected  | TCKind(int _value)Deprecated. Do not use this constructor as this method should be private according to the OMG specification. Use from_int(int)instead. | 
| Method Summary | |
|---|---|
| static TCKind | from_int(int i)Converts the given intto the correspondingTCKindinstance. | 
|  int | value()Retrieves the value of this TCKindinstance. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final int _tk_null
int constant for a null IDL data type.
public static final int _tk_void
int constant for the IDL data type void.
public static final int _tk_short
int constant for the IDL data type short.
public static final int _tk_long
int constant for the IDL data type long.
public static final int _tk_ushort
int constant for the IDL data type ushort.
public static final int _tk_ulong
int constant for the IDL data type ulong.
public static final int _tk_float
int constant for the IDL data type float.
public static final int _tk_double
int constant for the IDL data type double.
public static final int _tk_boolean
int constant for the IDL data type boolean.
public static final int _tk_char
int constant for the IDL data type char.
public static final int _tk_octet
int constant for the IDL data type octet.
public static final int _tk_any
int constant for the IDL data type any.
public static final int _tk_TypeCode
int constant for the IDL data type TypeCode.
public static final int _tk_Principal
int constant for the IDL data type Principal.
public static final int _tk_objref
int constant for the IDL data type objref.
public static final int _tk_struct
int constant for the IDL data type struct.
public static final int _tk_union
int constant for the IDL data type union.
public static final int _tk_enum
int constant for the IDL data type enum.
public static final int _tk_string
int constant for the IDL data type string.
public static final int _tk_sequence
int constant for the IDL data type sequence.
public static final int _tk_array
int constant for the IDL data type array.
public static final int _tk_alias
int constant for the IDL data type alias.
public static final int _tk_except
int constant for the IDL data type except.
public static final int _tk_longlong
int constant for the IDL data type longlong.
public static final int _tk_ulonglong
int constant for the IDL data type ulonglong.
public static final int _tk_longdouble
int constant for the IDL data type longdouble.
public static final int _tk_wchar
int constant for the IDL data type wchar.
public static final int _tk_wstring
int constant for the IDL data type wstring.
public static final int _tk_fixed
int constant for the IDL data type fixed.
public static final int _tk_value
int constant for the IDL data type value.
public static final int _tk_value_box
int constant for the IDL data type value_box.
public static final int _tk_native
int constant for the IDL data type native.
public static final int _tk_abstract_interface
int constant for the IDL data type abstract interface.
public static final TCKind tk_null
TCKind constant whose value field is
 initialized with TCKind._tk_null.
public static final TCKind tk_void
TCKind constant whose value field is
 initialized with TCKind._tk_void.
public static final TCKind tk_short
TCKind constant whose value field is
 initialized with TCKind._tk_short.
public static final TCKind tk_long
TCKind constant whose value field is
 initialized with TCKind._tk_long.
public static final TCKind tk_ushort
TCKind constant whose value field is
 initialized with TCKind._tk_ushort.
public static final TCKind tk_ulong
TCKind constant whose value field is
 initialized with TCKind._tk_ulong.
public static final TCKind tk_float
TCKind constant whose value field is
 initialized with TCKind._tk_float.
public static final TCKind tk_double
TCKind constant whose value field is
 initialized with TCKind._tk_double.
public static final TCKind tk_boolean
TCKind constant whose value field is
 initialized with TCKind._tk_boolean.
public static final TCKind tk_char
TCKind constant whose value field is
 initialized with TCKind._tk_char.
public static final TCKind tk_octet
TCKind constant whose value field is
 initialized with TCKind._tk_octet.
public static final TCKind tk_any
TCKind constant whose value field is
 initialized with TCKind._tk_any.
public static final TCKind tk_TypeCode
TCKind constant whose value field is
 initialized with TCKind._tk_TypeCode.
public static final TCKind tk_Principal
TCKind constant whose value field is
 initialized with TCKind._tk_Principal.
public static final TCKind tk_objref
TCKind constant whose value field is
 initialized with TCKind._tk_objref.
public static final TCKind tk_struct
TCKind constant whose value field is
 initialized with TCKind._tk_struct.
public static final TCKind tk_union
TCKind constant whose value field is
 initialized with TCKind._tk_union.
public static final TCKind tk_enum
TCKind constant whose value field is
 initialized with TCKind._tk_enum.
public static final TCKind tk_string
TCKind constant whose value field is
 initialized with TCKind._tk_string.
public static final TCKind tk_sequence
TCKind constant whose value field is
 initialized with TCKind._tk_sequence.
public static final TCKind tk_array
TCKind constant whose value field is
 initialized with TCKind._tk_array.
public static final TCKind tk_alias
TCKind constant whose value field is
 initialized with TCKind._tk_alias.
public static final TCKind tk_except
TCKind constant whose value field is
 initialized with TCKind._tk_except.
public static final TCKind tk_longlong
TCKind constant whose value field is
 initialized with TCKind._tk_longlong.
public static final TCKind tk_ulonglong
TCKind constant whose value field is
 initialized with TCKind._tk_ulonglong.
public static final TCKind tk_longdouble
TCKind constant whose value field is
 initialized with TCKind._tk_longdouble.
public static final TCKind tk_wchar
TCKind constant whose value field is
 initialized with TCKind._tk_wchar.
public static final TCKind tk_wstring
TCKind constant whose value field is
 initialized with TCKind._tk_wstring.
public static final TCKind tk_fixed
TCKind constant whose value field is
 initialized with TCKind._tk_fixed.
public static final TCKind tk_value
TCKind constant whose value field is
 initialized with TCKind._tk_value.
public static final TCKind tk_value_box
TCKind constant whose value field is
 initialized with TCKind._tk_value_box.
public static final TCKind tk_native
TCKind constant whose value field is
 initialized with TCKind._tk_native.
public static final TCKind tk_abstract_interface
TCKind constant whose value field is
 initialized with TCKind._tk_abstract_interface.
| Constructor Detail | 
|---|
@Deprecated protected TCKind(int _value)
from_int(int) instead.
TCKind instance initialized with the given
 int.
_value - the int to convert.  It must be one of
         the int constants in the class
         TCKind.| Method Detail | 
|---|
public int value()
TCKind instance.
int that represents the kind of
 IDL data type for this TCKind instancepublic static TCKind from_int(int i)
int to the corresponding
 TCKind instance.
i - the int to convert.  It must be one of
         the int constants in the class
         TCKind.
TCKind instance whose value
 field matches the given int
BAD_PARAM - if the given int does not
 match the _value field of
 any TCKind instance| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.