org.omg.CosNaming
public class BindingType extends Object implements IDLEntity
| Field Summary | |
|---|---|
| static BindingType | ncontext
This constant means that the binding has been created
with operations bind_context, rebind_context or
bind_new_context. |
| static BindingType | nobject
This constant means that the binding has been created by the
means, different from the listed in {@link #_ncontext} description. |
| static int | _ncontext
This constant means that the binding has been created
with operations bind_context, rebind_context or
bind_new_context. |
| static int | _nobject
This constant means that the binding has been created by the
means, different from the listed in {@link #_ncontext} description. |
| Constructor Summary | |
|---|---|
| protected | BindingType(int value)
Create the new binding type definition.
|
| Method Summary | |
|---|---|
| static BindingType | from_int(int value)
Get the binding type instance, matching its integer code.
|
| int | value()
Return the integer code for this binding. |
Parameters: value the binding type, normally either _nobject or _ncontext.
Parameters: value the binding type code.
Returns: the matching binding type instance.
Throws: BAD_PARAM if there is no matching binding type for the passed value.