org.omg.CORBA
Class DefinitionKind

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by org.omg.CORBA.DefinitionKind
All Implemented Interfaces:
Serializable sample code for java.io.Serializable definition code for java.io.Serializable , IDLEntity sample code for org.omg.CORBA.portable.IDLEntity definition code for org.omg.CORBA.portable.IDLEntity

public class DefinitionKind
extends Object sample code for java.lang.Object definition code for java.lang.Object
implements IDLEntity sample code for org.omg.CORBA.portable.IDLEntity definition code for org.omg.CORBA.portable.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:
IRObject sample code for org.omg.CORBA.IRObject definition code for org.omg.CORBA.IRObject , Serialized Form

Field Summary
static int _dk_AbstractInterface
          The constant that indicates that an Interface Repository object does not have a definition kind.
static int _dk_Alias
          The constant that indicates that an Interface Repository object does not have a definition kind.
static int _dk_all
          The constant that indicates that an Interface Repository object does not have a definition kind.
static int _dk_Array
          The constant that indicates that an Interface Repository object does not have a definition kind.
static int _dk_Attribute
          The constant that indicates that an Interface Repository object does not have a definition kind.
static int _dk_Constant
          The constant that indicates that an Interface Repository object does not have a definition kind.
static int _dk_Enum
          The constant that indicates that an Interface Repository object does not have a definition kind.
static int _dk_Exception
          The constant that indicates that an Interface Repository object does not have a definition kind.
static int _dk_Fixed
          The constant that indicates that an Interface Repository object does not have a definition kind.
static int _dk_Interface
          The constant that indicates that an Interface Repository object does not have a definition kind.
static int _dk_Module
          The constant that indicates that an Interface Repository object does not have a definition kind.
static int _dk_Native
          The constant that indicates that an Interface Repository object does not have a definition kind.
static int _dk_none
          The constant that indicates that an Interface Repository object does not have a definition kind.
static int _dk_Operation
          The constant that indicates that an Interface Repository object does not have a definition kind.
static int _dk_Primitive
          The constant that indicates that an Interface Repository object does not have a definition kind.
static int _dk_Repository
          The constant that indicates that an Interface Repository object does not have a definition kind.
static int _dk_Sequence
          The constant that indicates that an Interface Repository object does not have a definition kind.
static int _dk_String
          The constant that indicates that an Interface Repository object does not have a definition kind.
static int _dk_Struct
          The constant that indicates that an Interface Repository object does not have a definition kind.
static int _dk_Typedef
          The constant that indicates that an Interface Repository object does not have a definition kind.
static int _dk_Union
          The constant that indicates that an Interface Repository object does not have a definition kind.
static int _dk_Value
          The constant that indicates that an Interface Repository object does not have a definition kind.
static int _dk_ValueBox
          The constant that indicates that an Interface Repository object does not have a definition kind.
static int _dk_ValueMember
          The constant that indicates that an Interface Repository object does not have a definition kind.
static int _dk_Wstring
          The constant that indicates that an Interface Repository object does not have a definition kind.
static DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind dk_AbstractInterface
          The static instance of DefinitionKind indicating that an Interface Repository object represents an abstract interface.
static DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind dk_Alias
          The static instance of DefinitionKind indicating that an Interface Repository object is an Alias.
static DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind dk_all
          The wildcard DefinitionKind constant, useful in all occasions where any DefinitionKind is appropriate.
static DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind dk_Array
          The static instance of DefinitionKind indicating that an Interface Repository object is an Array.
static DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind dk_Attribute
          The static instance of DefinitionKind indicating that an Interface Repository object is an Attribute.
static DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind dk_Constant
          The static instance of DefinitionKind indicating that an Interface Repository object is a constant.
static DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind dk_Enum
          The static instance of DefinitionKind indicating that an Interface Repository object is an Enum.
static DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind dk_Exception
          The static instance of DefinitionKind indicating that an Interface Repository object is an Exception.
static DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind dk_Fixed
          The static instance of DefinitionKind indicating that an Interface Repository object is a Fixed value.
static DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind dk_Interface
          The static instance of DefinitionKind indicating that an Interface Repository object is an Interface.
static DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind dk_Module
          The static instance of DefinitionKind indicating that an Interface Repository object is a Module.
static DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind dk_Native
          The static instance of DefinitionKind indicating that an Interface Repository object is a Native value.
static DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind dk_none
          The static instance of DefinitionKind indicating that an Interface Repository object has no definition kind.
static DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind dk_Operation
          The static instance of DefinitionKind indicating that an Interface Repository object is an Operation.
static DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind dk_Primitive
          The static instance of DefinitionKind indicating that an Interface Repository object is a Primitive.
static DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind dk_Repository
          The static instance of DefinitionKind indicating that an Interface Repository object is a Repository.
static DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind dk_Sequence
          The static instance of DefinitionKind indicating that an Interface Repository object is a Sequence.
static DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind dk_String
          The static instance of DefinitionKind indicating that an Interface Repository object is a String.
static DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind dk_Struct
          The static instance of DefinitionKind indicating that an Interface Repository object is a Struct.
static DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind dk_Typedef
          The static instance of DefinitionKind indicating that an Interface Repository object is a Typedef.
static DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind dk_Union
          The static instance of DefinitionKind indicating that an Interface Repository object is a Union.
static DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind dk_Value
          The static instance of DefinitionKind indicating that an Interface Repository object is a Value.
static DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind dk_ValueBox
          The static instance of DefinitionKind indicating that an Interface Repository object is a ValueBox.
static DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind dk_ValueMember
          The static instance of DefinitionKind indicating that an Interface Repository object is a ValueMember.
static DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind dk_Wstring
          The static instance of DefinitionKind indicating that an Interface Repository object is a Wstring.
 
Constructor Summary
protected DefinitionKind sample code for org.omg.CORBA.DefinitionKind.DefinitionKind(int) definition code for org.omg.CORBA.DefinitionKind.DefinitionKind(int) (int _value)
          Constructs a DefinitionKind object with its _value field initialized with the given value.
 
Method Summary
static DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind from_int sample code for org.omg.CORBA.DefinitionKind.from_int(int) definition code for org.omg.CORBA.DefinitionKind.from_int(int) (int i)
          Creates a DefinitionKind instance corresponding to the given code .
 int value sample code for org.omg.CORBA.DefinitionKind.value() definition code for org.omg.CORBA.DefinitionKind.value() ()
          Returns the int constant identifying the type of an IR object.
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Field Detail

_dk_none sample code for org.omg.CORBA.DefinitionKind._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 sample code for org.omg.CORBA.DefinitionKind._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 sample code for org.omg.CORBA.DefinitionKind._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 sample code for org.omg.CORBA.DefinitionKind._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 sample code for org.omg.CORBA.DefinitionKind._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 sample code for org.omg.CORBA.DefinitionKind._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 sample code for org.omg.CORBA.DefinitionKind._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 sample code for org.omg.CORBA.DefinitionKind._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 sample code for org.omg.CORBA.DefinitionKind._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 sample code for org.omg.CORBA.DefinitionKind._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 sample code for org.omg.CORBA.DefinitionKind._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 sample code for org.omg.CORBA.DefinitionKind._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 sample code for org.omg.CORBA.DefinitionKind._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 sample code for org.omg.CORBA.DefinitionKind._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 sample code for org.omg.CORBA.DefinitionKind._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 sample code for org.omg.CORBA.DefinitionKind._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 sample code for org.omg.CORBA.DefinitionKind._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 sample code for org.omg.CORBA.DefinitionKind._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 sample code for org.omg.CORBA.DefinitionKind._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 sample code for org.omg.CORBA.DefinitionKind._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 sample code for org.omg.CORBA.DefinitionKind._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 sample code for org.omg.CORBA.DefinitionKind._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 sample code for org.omg.CORBA.DefinitionKind._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 sample code for org.omg.CORBA.DefinitionKind._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 sample code for org.omg.CORBA.DefinitionKind._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 sample code for org.omg.CORBA.DefinitionKind.dk_none

public static final DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind  dk_none
The static instance of DefinitionKind indicating that an Interface Repository object has no definition kind.


dk_all sample code for org.omg.CORBA.DefinitionKind.dk_all

public static final DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind  dk_all
The wildcard 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.


dk_Attribute sample code for org.omg.CORBA.DefinitionKind.dk_Attribute

public static final DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind  dk_Attribute
The static instance of DefinitionKind indicating that an Interface Repository object is an Attribute.


dk_Constant sample code for org.omg.CORBA.DefinitionKind.dk_Constant

public static final DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind  dk_Constant
The static instance of DefinitionKind indicating that an Interface Repository object is a constant.


dk_Exception sample code for org.omg.CORBA.DefinitionKind.dk_Exception

public static final DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind  dk_Exception
The static instance of DefinitionKind indicating that an Interface Repository object is an Exception.


dk_Interface sample code for org.omg.CORBA.DefinitionKind.dk_Interface

public static final DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind  dk_Interface
The static instance of DefinitionKind indicating that an Interface Repository object is an Interface.


dk_Module sample code for org.omg.CORBA.DefinitionKind.dk_Module

public static final DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind  dk_Module
The static instance of DefinitionKind indicating that an Interface Repository object is a Module.


dk_Operation sample code for org.omg.CORBA.DefinitionKind.dk_Operation

public static final DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind  dk_Operation
The static instance of DefinitionKind indicating that an Interface Repository object is an Operation.


dk_Typedef sample code for org.omg.CORBA.DefinitionKind.dk_Typedef

public static final DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind  dk_Typedef
The static instance of DefinitionKind indicating that an Interface Repository object is a Typedef.


dk_Alias sample code for org.omg.CORBA.DefinitionKind.dk_Alias

public static final DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind  dk_Alias
The static instance of DefinitionKind indicating that an Interface Repository object is an Alias.


dk_Struct sample code for org.omg.CORBA.DefinitionKind.dk_Struct

public static final DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind  dk_Struct
The static instance of DefinitionKind indicating that an Interface Repository object is a Struct.


dk_Union sample code for org.omg.CORBA.DefinitionKind.dk_Union

public static final DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind  dk_Union
The static instance of DefinitionKind indicating that an Interface Repository object is a Union.


dk_Enum sample code for org.omg.CORBA.DefinitionKind.dk_Enum

public static final DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind  dk_Enum
The static instance of DefinitionKind indicating that an Interface Repository object is an Enum.


dk_Primitive sample code for org.omg.CORBA.DefinitionKind.dk_Primitive

public static final DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind  dk_Primitive
The static instance of DefinitionKind indicating that an Interface Repository object is a Primitive.


dk_String sample code for org.omg.CORBA.DefinitionKind.dk_String

public static final DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind  dk_String
The static instance of DefinitionKind indicating that an Interface Repository object is a String.


dk_Sequence sample code for org.omg.CORBA.DefinitionKind.dk_Sequence

public static final DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind  dk_Sequence
The static instance of DefinitionKind indicating that an Interface Repository object is a Sequence.


dk_Array sample code for org.omg.CORBA.DefinitionKind.dk_Array

public static final DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind  dk_Array
The static instance of DefinitionKind indicating that an Interface Repository object is an Array.


dk_Repository sample code for org.omg.CORBA.DefinitionKind.dk_Repository

public static final DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind  dk_Repository
The static instance of DefinitionKind indicating that an Interface Repository object is a Repository.


dk_Wstring sample code for org.omg.CORBA.DefinitionKind.dk_Wstring

public static final DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind  dk_Wstring
The static instance of DefinitionKind indicating that an Interface Repository object is a Wstring.


dk_Fixed sample code for org.omg.CORBA.DefinitionKind.dk_Fixed

public static final DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind  dk_Fixed
The static instance of DefinitionKind indicating that an Interface Repository object is a Fixed value.


dk_Value sample code for org.omg.CORBA.DefinitionKind.dk_Value

public static final DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind  dk_Value
The static instance of DefinitionKind indicating that an Interface Repository object is a Value.


dk_ValueBox sample code for org.omg.CORBA.DefinitionKind.dk_ValueBox

public static final DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind  dk_ValueBox
The static instance of DefinitionKind indicating that an Interface Repository object is a ValueBox.


dk_ValueMember sample code for org.omg.CORBA.DefinitionKind.dk_ValueMember

public static final DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind  dk_ValueMember
The static instance of DefinitionKind indicating that an Interface Repository object is a ValueMember.


dk_Native sample code for org.omg.CORBA.DefinitionKind.dk_Native

public static final DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind  dk_Native
The static instance of DefinitionKind indicating that an Interface Repository object is a Native value.


dk_AbstractInterface sample code for org.omg.CORBA.DefinitionKind.dk_AbstractInterface

public static final DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind  dk_AbstractInterface
The static instance of DefinitionKind indicating that an Interface Repository object represents an abstract interface.

Constructor Detail

DefinitionKind sample code for org.omg.CORBA.DefinitionKind(int) definition code for org.omg.CORBA.DefinitionKind(int)

protected DefinitionKind(int _value)
Constructs a DefinitionKind object with its _value field initialized with the given value.

Parameters:
_value - one of the int constants defined in the class DefinitionKind
Method Detail

value sample code for org.omg.CORBA.DefinitionKind.value() definition code for org.omg.CORBA.DefinitionKind.value()

public int value()
Returns the int constant identifying the type of an IR object.

Returns:
the int constant from the class DefinitionKind that is the value of this DefinitionKind instance

from_int sample code for org.omg.CORBA.DefinitionKind.from_int(int) definition code for org.omg.CORBA.DefinitionKind.from_int(int)

public static DefinitionKind sample code for org.omg.CORBA.DefinitionKind definition code for org.omg.CORBA.DefinitionKind  from_int(int i)
Creates a DefinitionKind instance corresponding to the given code .

Parameters:
i - one of the int constants from the class DefinitionKind
Returns:
the DefinitionKind instance corresponding to the given code
Throws:
BAD_PARAM sample code for org.omg.CORBA.BAD_PARAM definition code for org.omg.CORBA.BAD_PARAM - if the given parameter is not one of the int constants from the class DefinitionKind