|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ilog.rules.factory.IlrBaseStatement ilog.rules.factory.IlrBindStatement
public final class IlrBindStatement
This class represents a 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 Summary | |
---|---|
IlrBindStatement(String name,
IlrType clazz,
IlrValue value)
Constructs a bind action with neither bind
nor var keyword. |
|
IlrBindStatement(String name,
IlrValue value)
Deprecated. Replaced by constructor IlrBindStatement(String name, IlrType clazz, IlrValue value) |
|
IlrBindStatement(String name,
IlrValue value,
boolean bind)
Deprecated. Replaced by constructor IlrBindStatement(String name, IlrType clazz, IlrValue value) |
Method Summary | |
---|---|
Object |
exploreStatement(IlrFactoryExplorer explorer)
Explores the bind statement using a factory explorer and returns
an object as a result. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IlrBindStatement(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(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 IlrBindStatement(String name, IlrType clazz, IlrValue value)
bind
action with neither bind
nor var
keyword.
name
- The name of the variable to be bound.clazz
- The type of the variable.value
- The value of the variable.Method Detail |
---|
public 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 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.
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |