| 
 | 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.DefinitionKind
public class DefinitionKind
The class that provides the constants used to identify the type of an
 Interface Repository object.  This class contains two kinds of constants,
 those that are an int and those that are an instance of the class
 DefinitionKind.  This class provides the method
 from_int, which given one
 of the int constants, creates the corresponding
 DefinitionKind instance.  It also provides the method
 value, which returns the int constant that
 is the value for a DefinitionKind instance.
IRObject| Field Summary | |
|---|---|
| static int | _dk_AbstractInterfaceThe constant that indicates that an Interface Repository object does not have a definition kind. | 
| static int | _dk_AliasThe constant that indicates that an Interface Repository object does not have a definition kind. | 
| static int | _dk_allThe constant that indicates that an Interface Repository object does not have a definition kind. | 
| static int | _dk_ArrayThe constant that indicates that an Interface Repository object does not have a definition kind. | 
| static int | _dk_AttributeThe constant that indicates that an Interface Repository object does not have a definition kind. | 
| static int | _dk_ConstantThe constant that indicates that an Interface Repository object does not have a definition kind. | 
| static int | _dk_EnumThe constant that indicates that an Interface Repository object does not have a definition kind. | 
| static int | _dk_ExceptionThe constant that indicates that an Interface Repository object does not have a definition kind. | 
| static int | _dk_FixedThe constant that indicates that an Interface Repository object does not have a definition kind. | 
| static int | _dk_InterfaceThe constant that indicates that an Interface Repository object does not have a definition kind. | 
| static int | _dk_ModuleThe constant that indicates that an Interface Repository object does not have a definition kind. | 
| static int | _dk_NativeThe constant that indicates that an Interface Repository object does not have a definition kind. | 
| static int | _dk_noneThe constant that indicates that an Interface Repository object does not have a definition kind. | 
| static int | _dk_OperationThe constant that indicates that an Interface Repository object does not have a definition kind. | 
| static int | _dk_PrimitiveThe constant that indicates that an Interface Repository object does not have a definition kind. | 
| static int | _dk_RepositoryThe constant that indicates that an Interface Repository object does not have a definition kind. | 
| static int | _dk_SequenceThe constant that indicates that an Interface Repository object does not have a definition kind. | 
| static int | _dk_StringThe constant that indicates that an Interface Repository object does not have a definition kind. | 
| static int | _dk_StructThe constant that indicates that an Interface Repository object does not have a definition kind. | 
| static int | _dk_TypedefThe constant that indicates that an Interface Repository object does not have a definition kind. | 
| static int | _dk_UnionThe constant that indicates that an Interface Repository object does not have a definition kind. | 
| static int | _dk_ValueThe constant that indicates that an Interface Repository object does not have a definition kind. | 
| static int | _dk_ValueBoxThe constant that indicates that an Interface Repository object does not have a definition kind. | 
| static int | _dk_ValueMemberThe constant that indicates that an Interface Repository object does not have a definition kind. | 
| static int | _dk_WstringThe constant that indicates that an Interface Repository object does not have a definition kind. | 
| static DefinitionKind | dk_AbstractInterfaceThe static instance of DefinitionKindindicating that an
 Interface Repository object represents an abstract interface. | 
| static DefinitionKind | dk_AliasThe static instance of DefinitionKindindicating that an
 Interface Repository object is an Alias. | 
| static DefinitionKind | dk_allThe wildcard DefinitionKindconstant, useful
 in all occasions where anyDefinitionKindis appropriate. | 
| static DefinitionKind | dk_ArrayThe static instance of DefinitionKindindicating that an
 Interface Repository object is an Array. | 
| static DefinitionKind | dk_AttributeThe static instance of DefinitionKindindicating that an
 Interface Repository object is an Attribute. | 
| static DefinitionKind | dk_ConstantThe static instance of DefinitionKindindicating that an
 Interface Repository object is a constant. | 
| static DefinitionKind | dk_EnumThe static instance of DefinitionKindindicating that an
 Interface Repository object is an Enum. | 
| static DefinitionKind | dk_ExceptionThe static instance of DefinitionKindindicating that an
 Interface Repository object is an Exception. | 
| static DefinitionKind | dk_FixedThe static instance of DefinitionKindindicating that an
 Interface Repository object is a Fixed value. | 
| static DefinitionKind | dk_InterfaceThe static instance of DefinitionKindindicating that an
 Interface Repository object is an Interface. | 
| static DefinitionKind | dk_ModuleThe static instance of DefinitionKindindicating that an
 Interface Repository object is a Module. | 
| static DefinitionKind | dk_NativeThe static instance of DefinitionKindindicating that an
 Interface Repository object is a Native value. | 
| static DefinitionKind | dk_noneThe static instance of DefinitionKindindicating that an
 Interface Repository object has no definition kind. | 
| static DefinitionKind | dk_OperationThe static instance of DefinitionKindindicating that an
 Interface Repository object is an Operation. | 
| static DefinitionKind | dk_PrimitiveThe static instance of DefinitionKindindicating that an
 Interface Repository object is a Primitive. | 
| static DefinitionKind | dk_RepositoryThe static instance of DefinitionKindindicating that an
 Interface Repository object is a Repository. | 
| static DefinitionKind | dk_SequenceThe static instance of DefinitionKindindicating that an
 Interface Repository object is a Sequence. | 
| static DefinitionKind | dk_StringThe static instance of DefinitionKindindicating that an
 Interface Repository object is a String. | 
| static DefinitionKind | dk_StructThe static instance of DefinitionKindindicating that an
 Interface Repository object is a Struct. | 
| static DefinitionKind | dk_TypedefThe static instance of DefinitionKindindicating that an
 Interface Repository object is a Typedef. | 
| static DefinitionKind | dk_UnionThe static instance of DefinitionKindindicating that an
 Interface Repository object is a Union. | 
| static DefinitionKind | dk_ValueThe static instance of DefinitionKindindicating that an
 Interface Repository object is a Value. | 
| static DefinitionKind | dk_ValueBoxThe static instance of DefinitionKindindicating that an
 Interface Repository object is a ValueBox. | 
| static DefinitionKind | dk_ValueMemberThe static instance of DefinitionKindindicating that an
 Interface Repository object is a ValueMember. | 
| static DefinitionKind | dk_WstringThe static instance of DefinitionKindindicating that an
 Interface Repository object is a Wstring. | 
| Constructor Summary | |
|---|---|
| protected  | DefinitionKind(int _value)Constructs a DefinitionKindobject with its_valuefield initialized with the given value. | 
| Method Summary | |
|---|---|
| static DefinitionKind | from_int(int i)Creates a DefinitionKindinstance corresponding to the given code
. | 
|  int | value()Returns the intconstant 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 | 
|---|
public static final int _dk_none
public static final int _dk_all
public static final int _dk_Attribute
public static final int _dk_Constant
public static final int _dk_Exception
public static final int _dk_Interface
public static final int _dk_Module
public static final int _dk_Operation
public static final int _dk_Typedef
public static final int _dk_Alias
public static final int _dk_Struct
public static final int _dk_Union
public static final int _dk_Enum
public static final int _dk_Primitive
public static final int _dk_String
public static final int _dk_Sequence
public static final int _dk_Array
public static final int _dk_Repository
public static final int _dk_Wstring
public static final int _dk_Fixed
public static final int _dk_Value
public static final int _dk_ValueBox
public static final int _dk_ValueMember
public static final int _dk_Native
public static final int _dk_AbstractInterface
public static final DefinitionKind dk_none
DefinitionKind indicating that an
 Interface Repository object has no definition kind.
public static final DefinitionKind dk_all
DefinitionKind constant, useful
 in all occasions where any
 DefinitionKind is appropriate. The Container's
 contents method
 makes use of this constant to return all contained definitions of any kind.
public static final DefinitionKind dk_Attribute
DefinitionKind indicating that an
 Interface Repository object is an Attribute.
public static final DefinitionKind dk_Constant
DefinitionKind indicating that an
 Interface Repository object is a constant.
public static final DefinitionKind dk_Exception
DefinitionKind indicating that an
 Interface Repository object is an Exception.
public static final DefinitionKind dk_Interface
DefinitionKind indicating that an
 Interface Repository object is an Interface.
public static final DefinitionKind dk_Module
DefinitionKind indicating that an
 Interface Repository object is a Module.
public static final DefinitionKind dk_Operation
DefinitionKind indicating that an
 Interface Repository object is an Operation.
public static final DefinitionKind dk_Typedef
DefinitionKind indicating that an
 Interface Repository object is a Typedef.
public static final DefinitionKind dk_Alias
DefinitionKind indicating that an
 Interface Repository object is an Alias.
public static final DefinitionKind dk_Struct
DefinitionKind indicating that an
 Interface Repository object is a Struct.
public static final DefinitionKind dk_Union
DefinitionKind indicating that an
 Interface Repository object is a Union.
public static final DefinitionKind dk_Enum
DefinitionKind indicating that an
 Interface Repository object is an Enum.
public static final DefinitionKind dk_Primitive
DefinitionKind indicating that an
 Interface Repository object is a Primitive.
public static final DefinitionKind dk_String
DefinitionKind indicating that an
 Interface Repository object is a String.
public static final DefinitionKind dk_Sequence
DefinitionKind indicating that an
 Interface Repository object is a Sequence.
public static final DefinitionKind dk_Array
DefinitionKind indicating that an
 Interface Repository object is an Array.
public static final DefinitionKind dk_Repository
DefinitionKind indicating that an
 Interface Repository object is a Repository.
public static final DefinitionKind dk_Wstring
DefinitionKind indicating that an
 Interface Repository object is a Wstring.
public static final DefinitionKind dk_Fixed
DefinitionKind indicating that an
 Interface Repository object is a Fixed value.
public static final DefinitionKind dk_Value
DefinitionKind indicating that an
 Interface Repository object is a Value.
public static final DefinitionKind dk_ValueBox
DefinitionKind indicating that an
 Interface Repository object is a ValueBox.
public static final DefinitionKind dk_ValueMember
DefinitionKind indicating that an
 Interface Repository object is a ValueMember.
public static final DefinitionKind dk_Native
DefinitionKind indicating that an
 Interface Repository object is a Native value.
public static final DefinitionKind dk_AbstractInterface
DefinitionKind indicating that an
 Interface Repository object represents an abstract interface.
| Constructor Detail | 
|---|
protected DefinitionKind(int _value)
DefinitionKind object with its _value
 field initialized with the given value.
_value - one of the int constants defined in the
                   class DefinitionKind| Method Detail | 
|---|
public int value()
int constant identifying the type of an IR object.
int constant from the class
 DefinitionKind that is the value of this
 DefinitionKind instancepublic static DefinitionKind from_int(int i)
DefinitionKind instance corresponding to the given code
.
i - one of the int constants from the class
 DefinitionKind
DefinitionKind instance corresponding
         to the given code
BAD_PARAM - if the given parameter is not
 one
         of the int constants from the class
         DefinitionKind| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved.