|
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.IlrBaseTest ilog.rules.factory.IlrNaryTest
public class IlrNaryTest
This class represents a logical test 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.
Field Summary | |
---|---|
static int |
AND
This constant is used to represent a logical AND ( && )
test. |
static int |
OR
This constant is used to represent a logical OR ( || )
test. |
Constructor Summary | |
---|---|
IlrNaryTest(int kind,
IlrTest... arguments)
Constructs a logical test of a certain type. |
Method Summary | |
---|---|
void |
addTest(IlrTest test)
Adds a test to the arguments of this logical test. |
Enumeration |
enumerateTests()
Gets an enumeration to visit all the arguments of this logical test. |
Object |
exploreTest(IlrFactoryExplorer explorer)
Explores this test using a factory explorer. |
int |
getKind()
Gets the kind of this test. |
int |
getTestCount()
Gets the number of arguments in this logical test. |
IlrTest[] |
getTests()
Gets the arguments of this logical test. |
void |
removeTest(IlrTest test)
Removes a test from the arguments of this logical test. |
void |
setKind(int kind)
Sets the kind of this test. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int AND
&&
)
test.
public static final int OR
||
)
test.
Constructor Detail |
---|
public IlrNaryTest(int kind, IlrTest... arguments)
kind
- The type of this logical test.Method Detail |
---|
public final int getKind()
public final void setKind(int kind)
kind
- The kind of this test. Its value is
one of the constant values defined in this class.public final void addTest(IlrTest test)
test
- The test to be added.public final void removeTest(IlrTest test)
test
- The test to be removed.public final int getTestCount()
public final IlrTest[] getTests()
public final Enumeration enumerateTests()
public Object exploreTest(IlrFactoryExplorer explorer)
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 |