- java.lang.Object
-
- org.omg.CORBA.DefinitionKind
-
- All Implemented Interfaces:
- Serializable, IDLEntity
public class DefinitionKind extends Object implements 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 anintand those that are an instance of the classDefinitionKind. This class provides the methodfrom_int, which given one of theintconstants, creates the correspondingDefinitionKindinstance. It also provides the methodvalue, which returns theintconstant that is the value for aDefinitionKindinstance.- See Also:
IRObject
-
-
Field Summary
Fields Modifier and Type Field and Description 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 DefinitionKinddk_AbstractInterfaceThe static instance ofDefinitionKindindicating that an Interface Repository object represents an abstract interface.static DefinitionKinddk_AliasThe static instance ofDefinitionKindindicating that an Interface Repository object is an Alias.static DefinitionKinddk_allThe wildcardDefinitionKindconstant, useful in all occasions where anyDefinitionKindis appropriate.static DefinitionKinddk_ArrayThe static instance ofDefinitionKindindicating that an Interface Repository object is an Array.static DefinitionKinddk_AttributeThe static instance ofDefinitionKindindicating that an Interface Repository object is an Attribute.static DefinitionKinddk_ConstantThe static instance ofDefinitionKindindicating that an Interface Repository object is a constant.static DefinitionKinddk_EnumThe static instance ofDefinitionKindindicating that an Interface Repository object is an Enum.static DefinitionKinddk_ExceptionThe static instance ofDefinitionKindindicating that an Interface Repository object is an Exception.static DefinitionKinddk_FixedThe static instance ofDefinitionKindindicating that an Interface Repository object is a Fixed value.static DefinitionKinddk_InterfaceThe static instance ofDefinitionKindindicating that an Interface Repository object is an Interface.static DefinitionKinddk_ModuleThe static instance ofDefinitionKindindicating that an Interface Repository object is a Module.static DefinitionKinddk_NativeThe static instance ofDefinitionKindindicating that an Interface Repository object is a Native value.static DefinitionKinddk_noneThe static instance ofDefinitionKindindicating that an Interface Repository object has no definition kind.static DefinitionKinddk_OperationThe static instance ofDefinitionKindindicating that an Interface Repository object is an Operation.static DefinitionKinddk_PrimitiveThe static instance ofDefinitionKindindicating that an Interface Repository object is a Primitive.static DefinitionKinddk_RepositoryThe static instance ofDefinitionKindindicating that an Interface Repository object is a Repository.static DefinitionKinddk_SequenceThe static instance ofDefinitionKindindicating that an Interface Repository object is a Sequence.static DefinitionKinddk_StringThe static instance ofDefinitionKindindicating that an Interface Repository object is a String.static DefinitionKinddk_StructThe static instance ofDefinitionKindindicating that an Interface Repository object is a Struct.static DefinitionKinddk_TypedefThe static instance ofDefinitionKindindicating that an Interface Repository object is a Typedef.static DefinitionKinddk_UnionThe static instance ofDefinitionKindindicating that an Interface Repository object is a Union.static DefinitionKinddk_ValueThe static instance ofDefinitionKindindicating that an Interface Repository object is a Value.static DefinitionKinddk_ValueBoxThe static instance ofDefinitionKindindicating that an Interface Repository object is a ValueBox.static DefinitionKinddk_ValueMemberThe static instance ofDefinitionKindindicating that an Interface Repository object is a ValueMember.static DefinitionKinddk_WstringThe static instance ofDefinitionKindindicating that an Interface Repository object is a Wstring.
-
Constructor Summary
Constructors Modifier Constructor and Description protectedDefinitionKind(int _value)Constructs aDefinitionKindobject with its_valuefield initialized with the given value.
-
Method Summary
Methods Modifier and Type Method and Description static DefinitionKindfrom_int(int i)Creates aDefinitionKindinstance corresponding to the given code .intvalue()Returns theintconstant identifying the type of an IR object.
-
-
-
Field Detail
-
_dk_none
public static final int _dk_none
The constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
- Constant Field Values
-
_dk_all
public static final int _dk_all
The constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
- Constant Field Values
-
_dk_Attribute
public static final int _dk_Attribute
The constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
- Constant Field Values
-
_dk_Constant
public static final int _dk_Constant
The constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
- Constant Field Values
-
_dk_Exception
public static final int _dk_Exception
The constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
- Constant Field Values
-
_dk_Interface
public static final int _dk_Interface
The constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
- Constant Field Values
-
_dk_Module
public static final int _dk_Module
The constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
- Constant Field Values
-
_dk_Operation
public static final int _dk_Operation
The constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
- Constant Field Values
-
_dk_Typedef
public static final int _dk_Typedef
The constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
- Constant Field Values
-
_dk_Alias
public static final int _dk_Alias
The constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
- Constant Field Values
-
_dk_Struct
public static final int _dk_Struct
The constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
- Constant Field Values
-
_dk_Union
public static final int _dk_Union
The constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
- Constant Field Values
-
_dk_Enum
public static final int _dk_Enum
The constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
- Constant Field Values
-
_dk_Primitive
public static final int _dk_Primitive
The constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
- Constant Field Values
-
_dk_String
public static final int _dk_String
The constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
- Constant Field Values
-
_dk_Sequence
public static final int _dk_Sequence
The constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
- Constant Field Values
-
_dk_Array
public static final int _dk_Array
The constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
- Constant Field Values
-
_dk_Repository
public static final int _dk_Repository
The constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
- Constant Field Values
-
_dk_Wstring
public static final int _dk_Wstring
The constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
- Constant Field Values
-
_dk_Fixed
public static final int _dk_Fixed
The constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
- Constant Field Values
-
_dk_Value
public static final int _dk_Value
The constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
- Constant Field Values
-
_dk_ValueBox
public static final int _dk_ValueBox
The constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
- Constant Field Values
-
_dk_ValueMember
public static final int _dk_ValueMember
The constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
- Constant Field Values
-
_dk_Native
public static final int _dk_Native
The constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
- Constant Field Values
-
_dk_AbstractInterface
public static final int _dk_AbstractInterface
The constant that indicates that an Interface Repository object does not have a definition kind.- See Also:
- Constant Field Values
-
dk_none
public static final DefinitionKind dk_none
The static instance ofDefinitionKindindicating that an Interface Repository object has no definition kind.
-
dk_all
public static final DefinitionKind dk_all
The wildcardDefinitionKindconstant, useful in all occasions where anyDefinitionKindis appropriate. The Container'scontentsmethod makes use of this constant to return all contained definitions of any kind.
-
dk_Attribute
public static final DefinitionKind dk_Attribute
The static instance ofDefinitionKindindicating that an Interface Repository object is an Attribute.
-
dk_Constant
public static final DefinitionKind dk_Constant
The static instance ofDefinitionKindindicating that an Interface Repository object is a constant.
-
dk_Exception
public static final DefinitionKind dk_Exception
The static instance ofDefinitionKindindicating that an Interface Repository object is an Exception.
-
dk_Interface
public static final DefinitionKind dk_Interface
The static instance ofDefinitionKindindicating that an Interface Repository object is an Interface.
-
dk_Module
public static final DefinitionKind dk_Module
The static instance ofDefinitionKindindicating that an Interface Repository object is a Module.
-
dk_Operation
public static final DefinitionKind dk_Operation
The static instance ofDefinitionKindindicating that an Interface Repository object is an Operation.
-
dk_Typedef
public static final DefinitionKind dk_Typedef
The static instance ofDefinitionKindindicating that an Interface Repository object is a Typedef.
-
dk_Alias
public static final DefinitionKind dk_Alias
The static instance ofDefinitionKindindicating that an Interface Repository object is an Alias.
-
dk_Struct
public static final DefinitionKind dk_Struct
The static instance ofDefinitionKindindicating that an Interface Repository object is a Struct.
-
dk_Union
public static final DefinitionKind dk_Union
The static instance ofDefinitionKindindicating that an Interface Repository object is a Union.
-
dk_Enum
public static final DefinitionKind dk_Enum
The static instance ofDefinitionKindindicating that an Interface Repository object is an Enum.
-
dk_Primitive
public static final DefinitionKind dk_Primitive
The static instance ofDefinitionKindindicating that an Interface Repository object is a Primitive.
-
dk_String
public static final DefinitionKind dk_String
The static instance ofDefinitionKindindicating that an Interface Repository object is a String.
-
dk_Sequence
public static final DefinitionKind dk_Sequence
The static instance ofDefinitionKindindicating that an Interface Repository object is a Sequence.
-
dk_Array
public static final DefinitionKind dk_Array
The static instance ofDefinitionKindindicating that an Interface Repository object is an Array.
-
dk_Repository
public static final DefinitionKind dk_Repository
The static instance ofDefinitionKindindicating that an Interface Repository object is a Repository.
-
dk_Wstring
public static final DefinitionKind dk_Wstring
The static instance ofDefinitionKindindicating that an Interface Repository object is a Wstring.
-
dk_Fixed
public static final DefinitionKind dk_Fixed
The static instance ofDefinitionKindindicating that an Interface Repository object is a Fixed value.
-
dk_Value
public static final DefinitionKind dk_Value
The static instance ofDefinitionKindindicating that an Interface Repository object is a Value.
-
dk_ValueBox
public static final DefinitionKind dk_ValueBox
The static instance ofDefinitionKindindicating that an Interface Repository object is a ValueBox.
-
dk_ValueMember
public static final DefinitionKind dk_ValueMember
The static instance ofDefinitionKindindicating that an Interface Repository object is a ValueMember.
-
dk_Native
public static final DefinitionKind dk_Native
The static instance ofDefinitionKindindicating that an Interface Repository object is a Native value.
-
dk_AbstractInterface
public static final DefinitionKind dk_AbstractInterface
The static instance ofDefinitionKindindicating that an Interface Repository object represents an abstract interface.
-
-
Constructor Detail
-
DefinitionKind
protected DefinitionKind(int _value)
Constructs aDefinitionKindobject with its_valuefield initialized with the given value.- Parameters:
_value- one of theintconstants defined in the classDefinitionKind
-
-
Method Detail
-
value
public int value()
Returns theintconstant identifying the type of an IR object.- Returns:
- the
intconstant from the classDefinitionKindthat is the value of thisDefinitionKindinstance
-
from_int
public static DefinitionKind from_int(int i)
Creates aDefinitionKindinstance corresponding to the given code .- Parameters:
i- one of theintconstants from the classDefinitionKind- Returns:
- the
DefinitionKindinstance corresponding to the given code - Throws:
BAD_PARAM- if the given parameter is not one of theintconstants from the classDefinitionKind
-
-
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-org/omg/CORBA/DefinitionKind.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author of this site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.