站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Class DefinitionKind - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

org.omg.CORBA
Class DefinitionKind

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

public class DefinitionKind
extends Object
implements IDLEntity

This class defines the constants used to identify the type of an Interface Repository object.

See Also:
IRObject, Serialized Form

Field Summary
static int _dk_Alias
           
static int _dk_all
           
static int _dk_Array
           
static int _dk_Attribute
           
static int _dk_Constant
           
static int _dk_Enum
           
static int _dk_Exception
           
static int _dk_Fixed
           
static int _dk_Interface
           
static int _dk_Module
           
static int _dk_Native
           
static int _dk_none
           
static int _dk_Operation
           
static int _dk_Primitive
           
static int _dk_Repository
           
static int _dk_Sequence
           
static int _dk_String
           
static int _dk_Struct
           
static int _dk_Typedef
           
static int _dk_Union
           
static int _dk_Value
           
static int _dk_ValueBox
           
static int _dk_ValueMember
           
static int _dk_Wstring
           
static DefinitionKind dk_Alias
           
static DefinitionKind dk_all
          The wildcard definition kind, useful in all occasions where any DefinitionKind is appropriate.
static DefinitionKind dk_Array
           
static DefinitionKind dk_Attribute
           
static DefinitionKind dk_Constant
           
static DefinitionKind dk_Enum
           
static DefinitionKind dk_Exception
           
static DefinitionKind dk_Fixed
           
static DefinitionKind dk_Interface
           
static DefinitionKind dk_Module
           
static DefinitionKind dk_Native
           
static DefinitionKind dk_none
           
static DefinitionKind dk_Operation
           
static DefinitionKind dk_Primitive
           
static DefinitionKind dk_Repository
           
static DefinitionKind dk_Sequence
           
static DefinitionKind dk_String
           
static DefinitionKind dk_Struct
           
static DefinitionKind dk_Typedef
           
static DefinitionKind dk_Union
           
static DefinitionKind dk_Value
           
static DefinitionKind dk_ValueBox
           
static DefinitionKind dk_ValueMember
           
static DefinitionKind dk_Wstring
           
 
Constructor Summary
protected DefinitionKind(int _value)
           
 
Method Summary
static DefinitionKind from_int(int i)
          Returns the DefinitionKind corresponding to the given code.
 int value()
          Returns the code identifying the type of an IR object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_dk_none

public static final int _dk_none

_dk_all

public static final int _dk_all

_dk_Attribute

public static final int _dk_Attribute

_dk_Constant

public static final int _dk_Constant

_dk_Exception

public static final int _dk_Exception

_dk_Interface

public static final int _dk_Interface

_dk_Module

public static final int _dk_Module

_dk_Operation

public static final int _dk_Operation

_dk_Typedef

public static final int _dk_Typedef

_dk_Alias

public static final int _dk_Alias

_dk_Struct

public static final int _dk_Struct

_dk_Union

public static final int _dk_Union

_dk_Enum

public static final int _dk_Enum

_dk_Primitive

public static final int _dk_Primitive

_dk_String

public static final int _dk_String

_dk_Sequence

public static final int _dk_Sequence

_dk_Array

public static final int _dk_Array

_dk_Repository

public static final int _dk_Repository

_dk_Wstring

public static final int _dk_Wstring

_dk_Fixed

public static final int _dk_Fixed

_dk_Value

public static final int _dk_Value

_dk_ValueBox

public static final int _dk_ValueBox

_dk_ValueMember

public static final int _dk_ValueMember

_dk_Native

public static final int _dk_Native

dk_none

public static final DefinitionKind dk_none

dk_all

public static final DefinitionKind dk_all
The wildcard definition kind, useful in all occasions where any DefinitionKind is appropriate. The Containers contents method makes use of this to return all contained definitions of any kind.

dk_Attribute

public static final DefinitionKind dk_Attribute

dk_Constant

public static final DefinitionKind dk_Constant

dk_Exception

public static final DefinitionKind dk_Exception

dk_Interface

public static final DefinitionKind dk_Interface

dk_Module

public static final DefinitionKind dk_Module

dk_Operation

public static final DefinitionKind dk_Operation

dk_Typedef

public static final DefinitionKind dk_Typedef

dk_Alias

public static final DefinitionKind dk_Alias

dk_Struct

public static final DefinitionKind dk_Struct

dk_Union

public static final DefinitionKind dk_Union

dk_Enum

public static final DefinitionKind dk_Enum

dk_Primitive

public static final DefinitionKind dk_Primitive

dk_String

public static final DefinitionKind dk_String

dk_Sequence

public static final DefinitionKind dk_Sequence

dk_Array

public static final DefinitionKind dk_Array

dk_Repository

public static final DefinitionKind dk_Repository

dk_Wstring

public static final DefinitionKind dk_Wstring

dk_Fixed

public static final DefinitionKind dk_Fixed

dk_Value

public static final DefinitionKind dk_Value

dk_ValueBox

public static final DefinitionKind dk_ValueBox

dk_ValueMember

public static final DefinitionKind dk_ValueMember

dk_Native

public static final DefinitionKind dk_Native
Constructor Detail

DefinitionKind

protected DefinitionKind(int _value)
Method Detail

value

public int value()
Returns the code identifying the type of an IR object.
Returns:
the code of this DefinitionKind.

from_int

public static DefinitionKind from_int(int i)
                               throws BAD_PARAM
Returns the DefinitionKind corresponding to the given code.
Parameters:
i - the code of a DefinitionKind.

JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.