JavaTM 2 Platform
Standard Ed. 6

org.omg.CORBA
类 DefinitionKind

java.lang.Object
  继承者 org.omg.CORBA.DefinitionKind
所有已实现的接口:
Serializable, IDLEntity

public class DefinitionKind
extends Object
implements IDLEntity

该类提供用来标识接口存储库 (Interface Repository) 对象类型的常量。此类包含两种常量,一种是 int,另一种是 DefinitionKind 类的实例。此类提供 from_int 方法,只要给出一个 int 常量,该方法就能创建相应的 DefinitionKind 实例。此类还提供了 value 方法,该方法返回用作 DefinitionKind 实例的值的 int 常量。

另请参见:
IRObject

字段摘要
static int _dk_AbstractInterface
          指示 Interface Repository 对象不具有某一定义种类的常量。
static int _dk_Alias
          指示 Interface Repository 对象不具有某一定义种类的常量。
static int _dk_all
          指示 Interface Repository 对象不具有某一定义种类的常量。
static int _dk_Array
          指示 Interface Repository 对象不具有某一定义种类的常量。
static int _dk_Attribute
          指示 Interface Repository 对象不具有某一定义种类的常量。
static int _dk_Constant
          指示 Interface Repository 对象不具有某一定义种类的常量。
static int _dk_Enum
          指示 Interface Repository 对象不具有某一定义种类的常量。
static int _dk_Exception
          指示 Interface Repository 对象不具有某一定义种类的常量。
static int _dk_Fixed
          指示 Interface Repository 对象不具有某一定义种类的常量。
static int _dk_Interface
          指示 Interface Repository 对象不具有某一定义种类的常量。
static int _dk_Module
          指示 Interface Repository 对象不具有某一定义种类的常量。
static int _dk_Native
          指示 Interface Repository 对象不具有某一定义种类的常量。
static int _dk_none
          指示 Interface Repository 对象不具有定义种类的常量。
static int _dk_Operation
          指示 Interface Repository 对象不具有某一定义种类的常量。
static int _dk_Primitive
          指示 Interface Repository 对象不具有某一定义种类的常量。
static int _dk_Repository
          指示 Interface Repository 对象不具有某一定义种类的常量。
static int _dk_Sequence
          指示 Interface Repository 对象不具有某一定义种类的常量。
static int _dk_String
          指示 Interface Repository 对象不具有某一定义种类的常量。
static int _dk_Struct
          指示 Interface Repository 对象不具有某一定义种类的常量。
static int _dk_Typedef
          指示 Interface Repository 对象不具有某一定义种类的常量。
static int _dk_Union
          指示 Interface Repository 对象不具有某一定义种类的常量。
static int _dk_Value
          指示 Interface Repository 对象不具有某一定义种类的常量。
static int _dk_ValueBox
          指示 Interface Repository 对象不具有某一定义种类的常量。
static int _dk_ValueMember
          指示 Interface Repository 对象不具有某一定义种类的常量。
static int _dk_Wstring
          指示 Interface Repository 对象不具有某一定义种类的常量。
static DefinitionKind dk_AbstractInterface
          指示 Interface Repository 对象表示一个抽象接口的静态 DefinitionKind 实例。
static DefinitionKind dk_Alias
          指示 Interface Repository 对象是一个 Alias 的静态 DefinitionKind 实例。
static DefinitionKind dk_all
          通配符 DefinitionKind 常量,可用于 DefinitionKind 适合的所有情况。
static DefinitionKind dk_Array
          指示 Interface Repository 对象是一个 Array 的静态 DefinitionKind 实例。
static DefinitionKind dk_Attribute
          指示 Interface Repository 对象是一个 Attribute 的静态 DefinitionKind 实例。
static DefinitionKind dk_Constant
          指示 Interface Repository 对象是一个常量的静态 DefinitionKind 实例。
static DefinitionKind dk_Enum
          指示 Interface Repository 对象是一个 Enum 的静态 DefinitionKind 实例。
static DefinitionKind dk_Exception
          指示 Interface Repository 对象是一个 Exception 的静态 DefinitionKind 实例。
static DefinitionKind dk_Fixed
          指示 Interface Repository 对象是一个 Fixed value 的静态 DefinitionKind 实例。
static DefinitionKind dk_Interface
          指示 Interface Repository 对象是一个 Interface 的静态 DefinitionKind 实例。
static DefinitionKind dk_Module
          指示 Interface Repository 对象是一个 Module 的静态 DefinitionKind 实例。
static DefinitionKind dk_Native
          指示 Interface Repository 对象是一个 Native value 的静态 DefinitionKind 实例。
static DefinitionKind dk_none
          指示 Interface Repository 对象不具有任何定义种类的静态 DefinitionKind 实例。
static DefinitionKind dk_Operation
          指示 Interface Repository 对象是一个 Operation 的静态 DefinitionKind 实例。
static DefinitionKind dk_Primitive
          指示 Interface Repository 对象是一个 Primitive 的静态 DefinitionKind 实例。
static DefinitionKind dk_Repository
          指示 Interface Repository 对象是一个 Repository 的静态 DefinitionKind 实例。
static DefinitionKind dk_Sequence
          指示 Interface Repository 对象是一个 Sequence 的静态 DefinitionKind 实例。
static DefinitionKind dk_String
          指示 Interface Repository 对象是一个 String 的静态 DefinitionKind 实例。
static DefinitionKind dk_Struct
          指示 Interface Repository 对象是一个 Struct 的静态 DefinitionKind 实例。
static DefinitionKind dk_Typedef
          指示 Interface Repository 对象是一个 Typedef 的静态 DefinitionKind 实例。
static DefinitionKind dk_Union
          指示 Interface Repository 对象是一个 Union 的静态 DefinitionKind 实例。
static DefinitionKind dk_Value
          指示 Interface Repository 对象是一个 Value 的静态 DefinitionKind 实例。
static DefinitionKind dk_ValueBox
          指示 Interface Repository 对象是一个 ValueBox 的静态 DefinitionKind 实例。
static DefinitionKind dk_ValueMember
          指示 Interface Repository 对象是一个 ValueMember 的静态 DefinitionKind 实例。
static DefinitionKind dk_Wstring
          指示 Interface Repository 对象是一个 Wstring 的静态 DefinitionKind 实例。
 
构造方法摘要
protected DefinitionKind(int _value)
          构造一个 DefinitionKind 对象,使用给定值初始化其 _value 字段。
 
方法摘要
static DefinitionKind from_int(int i)
          创建一个对应于给定代码的 DefinitionKind 实例。
 int value()
          返回标识 IR 对象类型的 int 常量。
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

_dk_none

public static final int _dk_none
指示 Interface Repository 对象不具有定义种类的常量。

另请参见:
常量字段值

_dk_all

public static final int _dk_all
指示 Interface Repository 对象不具有某一定义种类的常量。

另请参见:
常量字段值

_dk_Attribute

public static final int _dk_Attribute
指示 Interface Repository 对象不具有某一定义种类的常量。

另请参见:
常量字段值

_dk_Constant

public static final int _dk_Constant
指示 Interface Repository 对象不具有某一定义种类的常量。

另请参见:
常量字段值

_dk_Exception

public static final int _dk_Exception
指示 Interface Repository 对象不具有某一定义种类的常量。

另请参见:
常量字段值

_dk_Interface

public static final int _dk_Interface
指示 Interface Repository 对象不具有某一定义种类的常量。

另请参见:
常量字段值

_dk_Module

public static final int _dk_Module
指示 Interface Repository 对象不具有某一定义种类的常量。

另请参见:
常量字段值

_dk_Operation

public static final int _dk_Operation
指示 Interface Repository 对象不具有某一定义种类的常量。

另请参见:
常量字段值

_dk_Typedef

public static final int _dk_Typedef
指示 Interface Repository 对象不具有某一定义种类的常量。

另请参见:
常量字段值

_dk_Alias

public static final int _dk_Alias
指示 Interface Repository 对象不具有某一定义种类的常量。

另请参见:
常量字段值

_dk_Struct

public static final int _dk_Struct
指示 Interface Repository 对象不具有某一定义种类的常量。

另请参见:
常量字段值

_dk_Union

public static final int _dk_Union
指示 Interface Repository 对象不具有某一定义种类的常量。

另请参见:
常量字段值

_dk_Enum

public static final int _dk_Enum
指示 Interface Repository 对象不具有某一定义种类的常量。

另请参见:
常量字段值

_dk_Primitive

public static final int _dk_Primitive
指示 Interface Repository 对象不具有某一定义种类的常量。

另请参见:
常量字段值

_dk_String

public static final int _dk_String
指示 Interface Repository 对象不具有某一定义种类的常量。

另请参见:
常量字段值

_dk_Sequence

public static final int _dk_Sequence
指示 Interface Repository 对象不具有某一定义种类的常量。

另请参见:
常量字段值

_dk_Array

public static final int _dk_Array
指示 Interface Repository 对象不具有某一定义种类的常量。

另请参见:
常量字段值

_dk_Repository

public static final int _dk_Repository
指示 Interface Repository 对象不具有某一定义种类的常量。

另请参见:
常量字段值

_dk_Wstring

public static final int _dk_Wstring
指示 Interface Repository 对象不具有某一定义种类的常量。

另请参见:
常量字段值

_dk_Fixed

public static final int _dk_Fixed
指示 Interface Repository 对象不具有某一定义种类的常量。

另请参见:
常量字段值

_dk_Value

public static final int _dk_Value
指示 Interface Repository 对象不具有某一定义种类的常量。

另请参见:
常量字段值

_dk_ValueBox

public static final int _dk_ValueBox
指示 Interface Repository 对象不具有某一定义种类的常量。

另请参见:
常量字段值

_dk_ValueMember

public static final int _dk_ValueMember
指示 Interface Repository 对象不具有某一定义种类的常量。

另请参见:
常量字段值

_dk_Native

public static final int _dk_Native
指示 Interface Repository 对象不具有某一定义种类的常量。

另请参见:
常量字段值

_dk_AbstractInterface

public static final int _dk_AbstractInterface
指示 Interface Repository 对象不具有某一定义种类的常量。

另请参见:
常量字段值

dk_none

public static final DefinitionKind dk_none
指示 Interface Repository 对象不具有任何定义种类的静态 DefinitionKind 实例。


dk_all

public static final DefinitionKind dk_all
通配符 DefinitionKind 常量,可用于 DefinitionKind 适合的所有情况。Container 的 contents 方法使用此常量返回所包含的任何种类的定义。


dk_Attribute

public static final DefinitionKind dk_Attribute
指示 Interface Repository 对象是一个 Attribute 的静态 DefinitionKind 实例。


dk_Constant

public static final DefinitionKind dk_Constant
指示 Interface Repository 对象是一个常量的静态 DefinitionKind 实例。


dk_Exception

public static final DefinitionKind dk_Exception
指示 Interface Repository 对象是一个 Exception 的静态 DefinitionKind 实例。


dk_Interface

public static final DefinitionKind dk_Interface
指示 Interface Repository 对象是一个 Interface 的静态 DefinitionKind 实例。


dk_Module

public static final DefinitionKind dk_Module
指示 Interface Repository 对象是一个 Module 的静态 DefinitionKind 实例。


dk_Operation

public static final DefinitionKind dk_Operation
指示 Interface Repository 对象是一个 Operation 的静态 DefinitionKind 实例。


dk_Typedef

public static final DefinitionKind dk_Typedef
指示 Interface Repository 对象是一个 Typedef 的静态 DefinitionKind 实例。


dk_Alias

public static final DefinitionKind dk_Alias
指示 Interface Repository 对象是一个 Alias 的静态 DefinitionKind 实例。


dk_Struct

public static final DefinitionKind dk_Struct
指示 Interface Repository 对象是一个 Struct 的静态 DefinitionKind 实例。


dk_Union

public static final DefinitionKind dk_Union
指示 Interface Repository 对象是一个 Union 的静态 DefinitionKind 实例。


dk_Enum

public static final DefinitionKind dk_Enum
指示 Interface Repository 对象是一个 Enum 的静态 DefinitionKind 实例。


dk_Primitive

public static final DefinitionKind dk_Primitive
指示 Interface Repository 对象是一个 Primitive 的静态 DefinitionKind 实例。


dk_String

public static final DefinitionKind dk_String
指示 Interface Repository 对象是一个 String 的静态 DefinitionKind 实例。


dk_Sequence

public static final DefinitionKind dk_Sequence
指示 Interface Repository 对象是一个 Sequence 的静态 DefinitionKind 实例。


dk_Array

public static final DefinitionKind dk_Array
指示 Interface Repository 对象是一个 Array 的静态 DefinitionKind 实例。


dk_Repository

public static final DefinitionKind dk_Repository
指示 Interface Repository 对象是一个 Repository 的静态 DefinitionKind 实例。


dk_Wstring

public static final DefinitionKind dk_Wstring
指示 Interface Repository 对象是一个 Wstring 的静态 DefinitionKind 实例。


dk_Fixed

public static final DefinitionKind dk_Fixed
指示 Interface Repository 对象是一个 Fixed value 的静态 DefinitionKind 实例。


dk_Value

public static final DefinitionKind dk_Value
指示 Interface Repository 对象是一个 Value 的静态 DefinitionKind 实例。


dk_ValueBox

public static final DefinitionKind dk_ValueBox
指示 Interface Repository 对象是一个 ValueBox 的静态 DefinitionKind 实例。


dk_ValueMember

public static final DefinitionKind dk_ValueMember
指示 Interface Repository 对象是一个 ValueMember 的静态 DefinitionKind 实例。


dk_Native

public static final DefinitionKind dk_Native
指示 Interface Repository 对象是一个 Native value 的静态 DefinitionKind 实例。


dk_AbstractInterface

public static final DefinitionKind dk_AbstractInterface
指示 Interface Repository 对象表示一个抽象接口的静态 DefinitionKind 实例。

构造方法详细信息

DefinitionKind

protected DefinitionKind(int _value)
构造一个 DefinitionKind 对象,使用给定值初始化其 _value 字段。

参数:
_value - DefinitionKind 类中定义的 int 常量之一。
方法详细信息

value

public int value()
返回标识 IR 对象类型的 int 常量。

返回:
DefinitionKind 类中的 int 常量,该常量是此 DefinitionKind 实例的值

from_int

public static DefinitionKind from_int(int i)
创建一个对应于给定代码的 DefinitionKind 实例。

参数:
i - DefinitionKind 类中的 int 常量之一
返回:
对应于给定代码的 DefinitionKind 实例
抛出:
BAD_PARAM - 如果给定参数不是 DefinitionKind 类中的 int 常量之一

JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

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