public class IlrInstanceOfTest extends IlrBaseTest
instanceof test of the rule
language. An instanceof test checks whether the value
of an expression is of a given type.
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 |
|---|
IlrInstanceOfTest(IlrValue value,
IlrClassTypeValue type)
Constructs an
instanceof test using a value and a type
value. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
exploreTest(IlrFactoryExplorer explorer)
Explores this test using a factory explorer and returns an object
as a result.
|
IlrClassTypeValue |
getType()
Gets the type argument of the test.
|
IlrValue |
getValue()
Gets the value argument of the test.
|
IlrClass |
getXOMClassArgument()
Gets the type argument of the test as an
IlrClass. |
public IlrInstanceOfTest(IlrValue value, IlrClassTypeValue type)
instanceof test using a value and a type
value.value - An expression whose type is to be checked.type - The type of the expression.public final IlrValue getValue()
public final IlrClassTypeValue getType()
public final IlrClass getXOMClassArgument()
IlrClass.IlrClass.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