public class BindingType extends Object implements IDLEntity
Modifier and Type | Field and 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
_ncontext description. |
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
_ncontext description. |
Modifier | Constructor and Description |
---|---|
protected |
BindingType(int value)
Create the new binding type definition.
|
Modifier and Type | Method and Description |
---|---|
static BindingType |
from_int(int value)
Get the binding type instance, matching its integer code.
|
int |
value()
Return the integer code for this binding.
|
public static final int _ncontext
public static final int _nobject
_ncontext
description.public static final BindingType ncontext
public static final BindingType nobject
_ncontext
description.protected BindingType(int value)
value
- the binding type, normally either _nobject or
_ncontext.public static BindingType from_int(int value)
value
- the binding type code.BAD_PARAM
- if there is no matching binding type for
the passed value.public int value()