JavaTM 2 Platform
Standard Ed. 6

org.omg.CORBA
类 TCKind

java.lang.Object
  继承者 org.omg.CORBA.TCKind

public class TCKind
extends Object

IDL enum TCKind 的 Java 映射,TCKind 指定 TypeCode 对象的种类。每个基本和基础 IDL 数据类型都有一个种类。

TCKind 类由以下内容组成:

TCKind 实例的 value 字段是 CDR 编码的,用于 IIOP 消息中的 TypeCode 对象。


字段摘要
static int _tk_abstract_interface
          用于 IDL 数据类型 abstract interfaceint 常量。
static int _tk_alias
          用于 IDL 数据类型 aliasint 常量。
static int _tk_any
          用于 IDL 数据类型 anyint 常量。
static int _tk_array
          用于 IDL 数据类型 arrayint 常量。
static int _tk_boolean
          用于 IDL 数据类型 booleanint 常量。
static int _tk_char
          用于 IDL 数据类型 charint 常量。
static int _tk_double
          用于 IDL 数据类型 doubleint 常量。
static int _tk_enum
          用于 IDL 数据类型 enumint 常量。
static int _tk_except
          用于 IDL 数据类型 exceptint 常量。
static int _tk_fixed
          用于 IDL 数据类型 fixedint 常量。
static int _tk_float
          用于 IDL 数据类型 floatint 常量。
static int _tk_long
          用于 IDL 数据类型 longint 常量。
static int _tk_longdouble
          用于 IDL 数据类型 longdoubleint 常量。
static int _tk_longlong
          用于 IDL 数据类型 longlongint 常量。
static int _tk_native
          用于 IDL 数据类型 nativeint 常量。
static int _tk_null
          用于 null IDL 数据类型的 int 常量。
static int _tk_objref
          用于 IDL 数据类型 objrefint 常量。
static int _tk_octet
          用于 IDL 数据类型 octetint 常量。
static int _tk_Principal
          用于 IDL 数据类型 Principalint 常量。
static int _tk_sequence
          用于 IDL 数据类型 sequenceint 常量。
static int _tk_short
          用于 IDL 数据类型 shortint 常量。
static int _tk_string
          用于 IDL 数据类型 stringint 常量。
static int _tk_struct
          用于 IDL 数据类型 structint 常量。
static int _tk_TypeCode
          用于 IDL 数据类型 TypeCodeint 常量。
static int _tk_ulong
          用于 IDL 数据类型 ulongint 常量。
static int _tk_ulonglong
          用于 IDL 数据类型 ulonglongint 常量。
static int _tk_union
          用于 IDL 数据类型 unionint 常量。
static int _tk_ushort
          用于 IDL 数据类型 ushortint 常量。
static int _tk_value
          用于 IDL 数据类型 valueint 常量。
static int _tk_value_box
          用于 IDL 数据类型 value_boxint 常量。
static int _tk_void
          用于 IDL 数据类型 voidint 常量。
static int _tk_wchar
          用于 IDL 数据类型 wcharint 常量。
static int _tk_wstring
          用于 IDL 数据类型 wstringint 常量。
static TCKind tk_abstract_interface
          TCKind 常量,使用 TCKind._tk_abstract_interface 初始化其 value 字段。
static TCKind tk_alias
          TCKind 常量,使用 TCKind._tk_alias 初始化其 value 字段。
static TCKind tk_any
          TCKind 常量,使用 TCKind._tk_any 初始化其 value 字段。
static TCKind tk_array
          TCKind 常量,使用 TCKind._tk_array 初始化其 value 字段。
static TCKind tk_boolean
          TCKind 常量,使用 TCKind._tk_boolean 初始化其 value 字段。
static TCKind tk_char
          TCKind 常量,使用 TCKind._tk_char 初始化其 value 字段。
static TCKind tk_double
          TCKind 常量,使用 TCKind._tk_double 初始化其 value 字段。
static TCKind tk_enum
          TCKind 常量,使用 TCKind._tk_enum 初始化其 value 字段。
static TCKind tk_except
          TCKind 常量,使用 TCKind._tk_except 初始化其 value 字段。
static TCKind tk_fixed
          TCKind 常量,使用 TCKind._tk_fixed 初始化其 value 字段。
static TCKind tk_float
          TCKind 常量,使用 TCKind._tk_float 初始化其 value 字段。
static TCKind tk_long
          TCKind 常量,使用 TCKind._tk_long 初始化其 value 字段。
static TCKind tk_longdouble
          TCKind 常量,使用 TCKind._tk_longdouble 初始化其 value 字段。
static TCKind tk_longlong
          TCKind 常量,使用 TCKind._tk_longlong 初始化其 value 字段。
static TCKind tk_native
          TCKind 常量,使用 TCKind._tk_native 初始化其 value 字段。
static TCKind tk_null
          TCKind 常量,使用 TCKind._tk_null 初始化其 value 字段。
static TCKind tk_objref
          TCKind 常量,使用 TCKind._tk_objref 初始化其 value 字段。
static TCKind tk_octet
          TCKind 常量,使用 TCKind._tk_octet 初始化其 value 字段。
static TCKind tk_Principal
          TCKind 常量,使用 TCKind._tk_Principal 初始化其 value 字段。
static TCKind tk_sequence
          TCKind 常量,使用 TCKind._tk_sequence 初始化其 value 字段。
static TCKind tk_short
          TCKind 常量,使用 TCKind._tk_short 初始化其 value 字段。
static TCKind tk_string
          TCKind 常量,使用 TCKind._tk_string 初始化其 value 字段。
static TCKind tk_struct
          TCKind 常量,使用 TCKind._tk_struct 初始化其 value 字段。
static TCKind tk_TypeCode
          TCKind 常量,使用 TCKind._tk_TypeCode 初始化其 value 字段。
static TCKind tk_ulong
          TCKind 常量,使用 TCKind._tk_ulong 初始化其 value 字段。
static TCKind tk_ulonglong
          TCKind 常量,使用 TCKind._tk_ulonglong 初始化其 value 字段。
static TCKind tk_union
          TCKind 常量,使用 TCKind._tk_union 初始化其 value 字段。
static TCKind tk_ushort
          TCKind 常量,使用 TCKind._tk_ushort 初始化其 value 字段。
static TCKind tk_value
          TCKind 常量,使用 TCKind._tk_value 初始化其 value 字段。
static TCKind tk_value_box
          TCKind 常量,使用 TCKind._tk_value_box 初始化其 value 字段。
static TCKind tk_void
          TCKind 常量,使用 TCKind._tk_void 初始化其 value 字段。
static TCKind tk_wchar
          TCKind 常量,使用 TCKind._tk_wchar 初始化其 value 字段。
static TCKind tk_wstring
          TCKind 常量,使用 TCKind._tk_wstring 初始化其 value 字段。
 
构造方法摘要
protected TCKind(int _value)
          已过时。 不要使用此构造方法,因为根据 OMG 规范,此方法应该是私有的。使用 from_int(int) 代替。
 
方法摘要
static TCKind from_int(int i)
          将给定 int 值转换成相应的 TCKind 实例。
 int value()
          检索此 TCKind 实例的值。
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

_tk_null

public static final int _tk_null
用于 null IDL 数据类型的 int 常量。

另请参见:
常量字段值

_tk_void

public static final int _tk_void
用于 IDL 数据类型 voidint 常量。

另请参见:
常量字段值

_tk_short

public static final int _tk_short
用于 IDL 数据类型 shortint 常量。

另请参见:
常量字段值

_tk_long

public static final int _tk_long
用于 IDL 数据类型 longint 常量。

另请参见:
常量字段值

_tk_ushort

public static final int _tk_ushort
用于 IDL 数据类型 ushortint 常量。

另请参见:
常量字段值

_tk_ulong

public static final int _tk_ulong
用于 IDL 数据类型 ulongint 常量。

另请参见:
常量字段值

_tk_float

public static final int _tk_float
用于 IDL 数据类型 floatint 常量。

另请参见:
常量字段值

_tk_double

public static final int _tk_double
用于 IDL 数据类型 doubleint 常量。

另请参见:
常量字段值

_tk_boolean

public static final int _tk_boolean
用于 IDL 数据类型 booleanint 常量。

另请参见:
常量字段值

_tk_char

public static final int _tk_char
用于 IDL 数据类型 charint 常量。

另请参见:
常量字段值

_tk_octet

public static final int _tk_octet
用于 IDL 数据类型 octetint 常量。

另请参见:
常量字段值

_tk_any

public static final int _tk_any
用于 IDL 数据类型 anyint 常量。

另请参见:
常量字段值

_tk_TypeCode

public static final int _tk_TypeCode
用于 IDL 数据类型 TypeCodeint 常量。

另请参见:
常量字段值

_tk_Principal

public static final int _tk_Principal
用于 IDL 数据类型 Principalint 常量。

另请参见:
常量字段值

_tk_objref

public static final int _tk_objref
用于 IDL 数据类型 objrefint 常量。

另请参见:
常量字段值

_tk_struct

public static final int _tk_struct
用于 IDL 数据类型 structint 常量。

另请参见:
常量字段值

_tk_union

public static final int _tk_union
用于 IDL 数据类型 unionint 常量。

另请参见:
常量字段值

_tk_enum

public static final int _tk_enum
用于 IDL 数据类型 enumint 常量。

另请参见:
常量字段值

_tk_string

public static final int _tk_string
用于 IDL 数据类型 stringint 常量。

另请参见:
常量字段值

_tk_sequence

public static final int _tk_sequence
用于 IDL 数据类型 sequenceint 常量。

另请参见:
常量字段值

_tk_array

public static final int _tk_array
用于 IDL 数据类型 arrayint 常量。

另请参见:
常量字段值

_tk_alias

public static final int _tk_alias
用于 IDL 数据类型 aliasint 常量。

另请参见:
常量字段值

_tk_except

public static final int _tk_except
用于 IDL 数据类型 exceptint 常量。

另请参见:
常量字段值

_tk_longlong

public static final int _tk_longlong
用于 IDL 数据类型 longlongint 常量。

另请参见:
常量字段值

_tk_ulonglong

public static final int _tk_ulonglong
用于 IDL 数据类型 ulonglongint 常量。

另请参见:
常量字段值

_tk_longdouble

public static final int _tk_longdouble
用于 IDL 数据类型 longdoubleint 常量。

另请参见:
常量字段值

_tk_wchar

public static final int _tk_wchar
用于 IDL 数据类型 wcharint 常量。

另请参见:
常量字段值

_tk_wstring

public static final int _tk_wstring
用于 IDL 数据类型 wstringint 常量。

另请参见:
常量字段值

_tk_fixed

public static final int _tk_fixed
用于 IDL 数据类型 fixedint 常量。

另请参见:
常量字段值

_tk_value

public static final int _tk_value
用于 IDL 数据类型 valueint 常量。

另请参见:
常量字段值

_tk_value_box

public static final int _tk_value_box
用于 IDL 数据类型 value_boxint 常量。

另请参见:
常量字段值

_tk_native

public static final int _tk_native
用于 IDL 数据类型 nativeint 常量。

另请参见:
常量字段值

_tk_abstract_interface

public static final int _tk_abstract_interface
用于 IDL 数据类型 abstract interfaceint 常量。

另请参见:
常量字段值

tk_null

public static final TCKind tk_null
TCKind 常量,使用 TCKind._tk_null 初始化其 value 字段。


tk_void

public static final TCKind tk_void
TCKind 常量,使用 TCKind._tk_void 初始化其 value 字段。


tk_short

public static final TCKind tk_short
TCKind 常量,使用 TCKind._tk_short 初始化其 value 字段。


tk_long

public static final TCKind tk_long
TCKind 常量,使用 TCKind._tk_long 初始化其 value 字段。


tk_ushort

public static final TCKind tk_ushort
TCKind 常量,使用 TCKind._tk_ushort 初始化其 value 字段。


tk_ulong

public static final TCKind tk_ulong
TCKind 常量,使用 TCKind._tk_ulong 初始化其 value 字段。


tk_float

public static final TCKind tk_float
TCKind 常量,使用 TCKind._tk_float 初始化其 value 字段。


tk_double

public static final TCKind tk_double
TCKind 常量,使用 TCKind._tk_double 初始化其 value 字段。


tk_boolean

public static final TCKind tk_boolean
TCKind 常量,使用 TCKind._tk_boolean 初始化其 value 字段。


tk_char

public static final TCKind tk_char
TCKind 常量,使用 TCKind._tk_char 初始化其 value 字段。


tk_octet

public static final TCKind tk_octet
TCKind 常量,使用 TCKind._tk_octet 初始化其 value 字段。


tk_any

public static final TCKind tk_any
TCKind 常量,使用 TCKind._tk_any 初始化其 value 字段。


tk_TypeCode

public static final TCKind tk_TypeCode
TCKind 常量,使用 TCKind._tk_TypeCode 初始化其 value 字段。


tk_Principal

public static final TCKind tk_Principal
TCKind 常量,使用 TCKind._tk_Principal 初始化其 value 字段。


tk_objref

public static final TCKind tk_objref
TCKind 常量,使用 TCKind._tk_objref 初始化其 value 字段。


tk_struct

public static final TCKind tk_struct
TCKind 常量,使用 TCKind._tk_struct 初始化其 value 字段。


tk_union

public static final TCKind tk_union
TCKind 常量,使用 TCKind._tk_union 初始化其 value 字段。


tk_enum

public static final TCKind tk_enum
TCKind 常量,使用 TCKind._tk_enum 初始化其 value 字段。


tk_string

public static final TCKind tk_string
TCKind 常量,使用 TCKind._tk_string 初始化其 value 字段。


tk_sequence

public static final TCKind tk_sequence
TCKind 常量,使用 TCKind._tk_sequence 初始化其 value 字段。


tk_array

public static final TCKind tk_array
TCKind 常量,使用 TCKind._tk_array 初始化其 value 字段。


tk_alias

public static final TCKind tk_alias
TCKind 常量,使用 TCKind._tk_alias 初始化其 value 字段。


tk_except

public static final TCKind tk_except
TCKind 常量,使用 TCKind._tk_except 初始化其 value 字段。


tk_longlong

public static final TCKind tk_longlong
TCKind 常量,使用 TCKind._tk_longlong 初始化其 value 字段。


tk_ulonglong

public static final TCKind tk_ulonglong
TCKind 常量,使用 TCKind._tk_ulonglong 初始化其 value 字段。


tk_longdouble

public static final TCKind tk_longdouble
TCKind 常量,使用 TCKind._tk_longdouble 初始化其 value 字段。


tk_wchar

public static final TCKind tk_wchar
TCKind 常量,使用 TCKind._tk_wchar 初始化其 value 字段。


tk_wstring

public static final TCKind tk_wstring
TCKind 常量,使用 TCKind._tk_wstring 初始化其 value 字段。


tk_fixed

public static final TCKind tk_fixed
TCKind 常量,使用 TCKind._tk_fixed 初始化其 value 字段。


tk_value

public static final TCKind tk_value
TCKind 常量,使用 TCKind._tk_value 初始化其 value 字段。


tk_value_box

public static final TCKind tk_value_box
TCKind 常量,使用 TCKind._tk_value_box 初始化其 value 字段。


tk_native

public static final TCKind tk_native
TCKind 常量,使用 TCKind._tk_native 初始化其 value 字段。


tk_abstract_interface

public static final TCKind tk_abstract_interface
TCKind 常量,使用 TCKind._tk_abstract_interface 初始化其 value 字段。

构造方法详细信息

TCKind

@Deprecated
protected TCKind(int _value)
已过时。 不要使用此构造方法,因为根据 OMG 规范,此方法应该是私有的。使用 from_int(int) 代替。

创建一个新的 TCKind 实例,使用给定 int 值初始化。

参数:
_value - 要转换的 int 值。它必须是 TCKind 类中的 int 常量之一。
方法详细信息

value

public int value()
检索此 TCKind 实例的值。

返回:
一个 int 值,它表示用于此 TCKind 实例的 IDL 数据类型种类

from_int

public static TCKind from_int(int i)
将给定 int 值转换成相应的 TCKind 实例。

参数:
i - 要转换的 int 值。它必须是 TCKind 类中的 int 常量之一。
返回:
value 字段与给定 int 值匹配的 TCKind 实例
抛出:
BAD_PARAM - 如果给定 int 与任何 TCKind 实例的 _value 字段都不匹配

JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only