Package org.omg.CORBA
Class DefinitionKind
java.lang.Object
org.omg.CORBA.DefinitionKind
- All Implemented Interfaces:
Serializable
,IDLEntity
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.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The constant that indicates that an Interface Repository object does not have a definition kind.static final int
The constant that indicates that an Interface Repository object does not have a definition kind.static final int
The constant that indicates that an Interface Repository object does not have a definition kind.static final int
The constant that indicates that an Interface Repository object does not have a definition kind.static final int
The constant that indicates that an Interface Repository object does not have a definition kind.static final int
The constant that indicates that an Interface Repository object does not have a definition kind.static final int
The constant that indicates that an Interface Repository object does not have a definition kind.static final int
The constant that indicates that an Interface Repository object does not have a definition kind.static final int
The constant that indicates that an Interface Repository object does not have a definition kind.static final int
The constant that indicates that an Interface Repository object does not have a definition kind.static final int
The constant that indicates that an Interface Repository object does not have a definition kind.static final int
The constant that indicates that an Interface Repository object does not have a definition kind.static final int
The constant that indicates that an Interface Repository object does not have a definition kind.static final int
The constant that indicates that an Interface Repository object does not have a definition kind.static final int
The constant that indicates that an Interface Repository object does not have a definition kind.static final int
The constant that indicates that an Interface Repository object does not have a definition kind.static final int
The constant that indicates that an Interface Repository object does not have a definition kind.static final int
The constant that indicates that an Interface Repository object does not have a definition kind.static final int
The constant that indicates that an Interface Repository object does not have a definition kind.static final int
The constant that indicates that an Interface Repository object does not have a definition kind.static final int
The constant that indicates that an Interface Repository object does not have a definition kind.static final int
The constant that indicates that an Interface Repository object does not have a definition kind.static final int
The constant that indicates that an Interface Repository object does not have a definition kind.static final int
The constant that indicates that an Interface Repository object does not have a definition kind.static final int
The constant that indicates that an Interface Repository object does not have a definition kind.private int
The field that holds a value for aDefinitionKind
object.static final DefinitionKind
The static instance ofDefinitionKind
indicating that an Interface Repository object represents an abstract interface.static final DefinitionKind
The static instance ofDefinitionKind
indicating that an Interface Repository object is an Alias.static final DefinitionKind
The wildcardDefinitionKind
constant, useful in all occasions where anyDefinitionKind
is appropriate.static final DefinitionKind
The static instance ofDefinitionKind
indicating that an Interface Repository object is an Array.static final DefinitionKind
The static instance ofDefinitionKind
indicating that an Interface Repository object is an Attribute.static final DefinitionKind
The static instance ofDefinitionKind
indicating that an Interface Repository object is a constant.static final DefinitionKind
The static instance ofDefinitionKind
indicating that an Interface Repository object is an Enum.static final DefinitionKind
The static instance ofDefinitionKind
indicating that an Interface Repository object is an Exception.static final DefinitionKind
The static instance ofDefinitionKind
indicating that an Interface Repository object is a Fixed value.static final DefinitionKind
The static instance ofDefinitionKind
indicating that an Interface Repository object is an Interface.static final DefinitionKind
The static instance ofDefinitionKind
indicating that an Interface Repository object is a Module.static final DefinitionKind
The static instance ofDefinitionKind
indicating that an Interface Repository object is a Native value.static final DefinitionKind
The static instance ofDefinitionKind
indicating that an Interface Repository object has no definition kind.static final DefinitionKind
The static instance ofDefinitionKind
indicating that an Interface Repository object is an Operation.static final DefinitionKind
The static instance ofDefinitionKind
indicating that an Interface Repository object is a Primitive.static final DefinitionKind
The static instance ofDefinitionKind
indicating that an Interface Repository object is a Repository.static final DefinitionKind
The static instance ofDefinitionKind
indicating that an Interface Repository object is a Sequence.static final DefinitionKind
The static instance ofDefinitionKind
indicating that an Interface Repository object is a String.static final DefinitionKind
The static instance ofDefinitionKind
indicating that an Interface Repository object is a Struct.static final DefinitionKind
The static instance ofDefinitionKind
indicating that an Interface Repository object is a Typedef.static final DefinitionKind
The static instance ofDefinitionKind
indicating that an Interface Repository object is a Union.static final DefinitionKind
The static instance ofDefinitionKind
indicating that an Interface Repository object is a Value.static final DefinitionKind
The static instance ofDefinitionKind
indicating that an Interface Repository object is a ValueBox.static final DefinitionKind
The static instance ofDefinitionKind
indicating that an Interface Repository object is a ValueMember.static final DefinitionKind
The static instance ofDefinitionKind
indicating that an Interface Repository object is a Wstring. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DefinitionKind
(int _value) Constructs aDefinitionKind
object with its_value
field initialized with the given value. -
Method Summary
Modifier and TypeMethodDescriptionstatic DefinitionKind
from_int
(int i) Creates aDefinitionKind
instance corresponding to the given code .int
value()
Returns theint
constant identifying the type of an IR object.
-
Field Details
-
_dk_none
public static final int _dk_noneThe constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
-
_dk_all
public static final int _dk_allThe constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
-
_dk_Attribute
public static final int _dk_AttributeThe constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
-
_dk_Constant
public static final int _dk_ConstantThe constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
-
_dk_Exception
public static final int _dk_ExceptionThe constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
-
_dk_Interface
public static final int _dk_InterfaceThe constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
-
_dk_Module
public static final int _dk_ModuleThe constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
-
_dk_Operation
public static final int _dk_OperationThe constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
-
_dk_Typedef
public static final int _dk_TypedefThe constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
-
_dk_Alias
public static final int _dk_AliasThe constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
-
_dk_Struct
public static final int _dk_StructThe constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
-
_dk_Union
public static final int _dk_UnionThe constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
-
_dk_Enum
public static final int _dk_EnumThe constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
-
_dk_Primitive
public static final int _dk_PrimitiveThe constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
-
_dk_String
public static final int _dk_StringThe constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
-
_dk_Sequence
public static final int _dk_SequenceThe constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
-
_dk_Array
public static final int _dk_ArrayThe constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
-
_dk_Repository
public static final int _dk_RepositoryThe constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
-
_dk_Wstring
public static final int _dk_WstringThe constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
-
_dk_Fixed
public static final int _dk_FixedThe constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
-
_dk_Value
public static final int _dk_ValueThe constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
-
_dk_ValueBox
public static final int _dk_ValueBoxThe constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
-
_dk_ValueMember
public static final int _dk_ValueMemberThe constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
-
_dk_Native
public static final int _dk_NativeThe constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
-
_dk_AbstractInterface
public static final int _dk_AbstractInterfaceThe constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
-
dk_none
The static instance ofDefinitionKind
indicating that an Interface Repository object has no definition kind. -
dk_all
The wildcardDefinitionKind
constant, useful in all occasions where anyDefinitionKind
is appropriate. The Container'scontents
method makes use of this constant to return all contained definitions of any kind. -
dk_Attribute
The static instance ofDefinitionKind
indicating that an Interface Repository object is an Attribute. -
dk_Constant
The static instance ofDefinitionKind
indicating that an Interface Repository object is a constant. -
dk_Exception
The static instance ofDefinitionKind
indicating that an Interface Repository object is an Exception. -
dk_Interface
The static instance ofDefinitionKind
indicating that an Interface Repository object is an Interface. -
dk_Module
The static instance ofDefinitionKind
indicating that an Interface Repository object is a Module. -
dk_Operation
The static instance ofDefinitionKind
indicating that an Interface Repository object is an Operation. -
dk_Typedef
The static instance ofDefinitionKind
indicating that an Interface Repository object is a Typedef. -
dk_Alias
The static instance ofDefinitionKind
indicating that an Interface Repository object is an Alias. -
dk_Struct
The static instance ofDefinitionKind
indicating that an Interface Repository object is a Struct. -
dk_Union
The static instance ofDefinitionKind
indicating that an Interface Repository object is a Union. -
dk_Enum
The static instance ofDefinitionKind
indicating that an Interface Repository object is an Enum. -
dk_Primitive
The static instance ofDefinitionKind
indicating that an Interface Repository object is a Primitive. -
dk_String
The static instance ofDefinitionKind
indicating that an Interface Repository object is a String. -
dk_Sequence
The static instance ofDefinitionKind
indicating that an Interface Repository object is a Sequence. -
dk_Array
The static instance ofDefinitionKind
indicating that an Interface Repository object is an Array. -
dk_Repository
The static instance ofDefinitionKind
indicating that an Interface Repository object is a Repository. -
dk_Wstring
The static instance ofDefinitionKind
indicating that an Interface Repository object is a Wstring. -
dk_Fixed
The static instance ofDefinitionKind
indicating that an Interface Repository object is a Fixed value. -
dk_Value
The static instance ofDefinitionKind
indicating that an Interface Repository object is a Value. -
dk_ValueBox
The static instance ofDefinitionKind
indicating that an Interface Repository object is a ValueBox. -
dk_ValueMember
The static instance ofDefinitionKind
indicating that an Interface Repository object is a ValueMember. -
dk_Native
The static instance ofDefinitionKind
indicating that an Interface Repository object is a Native value. -
dk_AbstractInterface
The static instance ofDefinitionKind
indicating that an Interface Repository object represents an abstract interface. -
_value
private int _valueThe field that holds a value for aDefinitionKind
object.
-
-
Constructor Details
-
DefinitionKind
protected DefinitionKind(int _value) Constructs aDefinitionKind
object with its_value
field initialized with the given value.- Parameters:
_value
- one of theint
constants defined in the classDefinitionKind
-
-
Method Details
-
value
public int value()Returns theint
constant identifying the type of an IR object.- Returns:
- the
int
constant from the classDefinitionKind
that is the value of thisDefinitionKind
instance
-
from_int
Creates aDefinitionKind
instance corresponding to the given code .- Parameters:
i
- one of theint
constants from the classDefinitionKind
- Returns:
- the
DefinitionKind
instance corresponding to the given code - Throws:
BAD_PARAM
- if the given parameter is not one of theint
constants from the classDefinitionKind
-