public class IlrNaryTest extends IlrBaseTest
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.
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
IlrNaryTest(int kind,
IlrTest... arguments)
Constructs a logical test of a certain type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTest(IlrTest test)
Adds a test to the arguments of this logical test.
|
java.util.Enumeration |
enumerateTests()
Gets an enumeration to visit all the arguments of this logical test.
|
java.lang.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.
|
public static final int AND
&&)
test.public static final int OR
||)
test.public IlrNaryTest(int kind,
IlrTest... arguments)
kind - The type of this logical test.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 java.util.Enumeration enumerateTests()
public java.lang.Object exploreTest(IlrFactoryExplorer explorer)
explorer - The factory explorer.null
if the method does not return a value.© Copyright IBM Corp. 1987, 2017