public final class IlrBindStatement extends IlrBaseStatement
bind action of the rule language.
Warning: Serialized objects of this class will not be compatible with future releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of IBM Decision Server.
| Constructor and Description |
|---|
IlrBindStatement(java.lang.String name,
IlrType clazz,
IlrValue value)
Constructs a
bind action with neither bind
nor var keyword. |
IlrBindStatement(java.lang.String name,
IlrValue value)
Deprecated.
Replaced by constructor
IlrBindStatement(String name, IlrType clazz, IlrValue value) |
IlrBindStatement(java.lang.String name,
IlrValue value,
boolean bind)
Deprecated.
Replaced by constructor
IlrBindStatement(String name, IlrType clazz, IlrValue value) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
exploreStatement(IlrFactoryExplorer explorer)
Explores the
bind statement using a factory explorer and returns
an object as a result. |
java.lang.String |
getName()
Gets the name of the bound variable.
|
IlrValue |
getValue()
Gets the value bound to the variable.
|
boolean |
hasDefaultValue()
Tests if the value of the variable is a default value assigned by
the engine.
|
boolean |
isBind()
Tests if the variable has been declared using the
bind
keyword. |
boolean |
isVar()
Tests if the variable has been declared using the
var
keyword. |
public IlrBindStatement(java.lang.String name,
IlrValue value)
IlrBindStatement(String name, IlrType clazz, IlrValue value)bind action.name - The name of the variable to be bound.value - The value of the variable.public IlrBindStatement(java.lang.String name,
IlrValue value,
boolean bind)
IlrBindStatement(String name, IlrType clazz, IlrValue value)bind action.name - The name of the variable to be bound.value - The value of the variable.bind - The bind type.public java.lang.String getName()
public IlrValue getValue()
public boolean hasDefaultValue()
true if the value of variable is a default value.public boolean isBind()
bind
keyword.true if the variable has been declared using
bind.public boolean isVar()
var
keyword.true if the variable has been declared using
var.public java.lang.Object exploreStatement(IlrFactoryExplorer explorer)
bind statement using a factory explorer and returns
an object as a result.explorer - The factory explorer.null if the method does not return a value.© Copyright IBM Corp. 1987, 2017