public class IlrBinaryTest extends IlrBaseTest
kind. The possible values of this
field are defined in IlrBinaryTester. The test itself is performed
by a IlrBinaryTester, which is returned by the method
getTester(). If this method returns a null object,
the current binary test is not a valid test expression.
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 | Constructor and Description |
|---|---|
protected |
IlrBinaryTest() |
|
IlrBinaryTest(int kind,
IlrValue first,
IlrValue second)
Constructs a binary test.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
exploreTest(IlrFactoryExplorer explorer)
Explores this binary test using a factory explorer and returns an object
as a result.
|
IlrValue |
getFirstArgument()
Gets the first argument value involved in this test.
|
int |
getKind()
Gets the kind of test.
|
IlrValue |
getSecondArgument()
Gets the second argument value involved in this test.
|
IlrBinaryTester |
getTester()
Determines and returns the binary tester used to perform the test.
|
void |
setFirstArgument(IlrValue first)
Changes the first argument value involved in this test.
|
void |
setKind(int kind)
Sets the kind of test.
|
void |
setSecondArgument(IlrValue second)
Changes the second argument value involved in this test.
|
public IlrBinaryTest(int kind,
IlrValue first,
IlrValue second)
kind - The kind of test, as defined in IlrBinaryTester. The
possible values are those between IlrBinaryTester.EQUAL and
IlrBinaryTester.NOT_IN. In case an incorrect value is given,
an IllegalArgumentException is thrown.first - The first argument value.second - The second argument value.protected IlrBinaryTest()
public final int getKind()
IlrBinaryTester.public void setKind(int kind)
kind - The possible values are defined in IlrBinaryTester.public final IlrValue getFirstArgument()
public final void setFirstArgument(IlrValue first)
first - The first argument value involved in this test.public final IlrValue getSecondArgument()
public final void setSecondArgument(IlrValue second)
second - The second argument value involved in this test.public IlrBinaryTester getTester()
null, the test is not a
valid test expression.null if the test is not valid.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