Rule Execution Server API

ilog.rules.factory
Class IlrUnknownTest

java.lang.Object
  extended by ilog.rules.factory.IlrBaseTest
      extended by ilog.rules.factory.IlrUnknownTest
All Implemented Interfaces:
ilog.rules.factory.IlrSourceElement, IlrTest, Serializable

public class IlrUnknownTest
extends IlrBaseTest

This class represents an unknown test of the rule language. An unknown 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.

See Also:
Serialized Form

Constructor Summary
IlrUnknownTest(IlrValue value, boolean unknown)
          Constructs an unknown test using a value.
 
Method Summary
 Object exploreTest(IlrFactoryExplorer explorer)
          Explores this test using a factory explorer and returns an object as a result.
 boolean getUnknown()
          Gets the unknown argument of the test.
 IlrValue getValue()
          Gets the value argument of the test.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlrUnknownTest

public IlrUnknownTest(IlrValue value,
                      boolean unknown)
Constructs an unknown test using a value.

Parameters:
value - An expression whose type is to be checked.
Method Detail

getValue

public final IlrValue getValue()
Gets the value argument of the test.

Returns:
The value argument of the current test.

getUnknown

public final boolean getUnknown()
Gets the unknown argument of the test.

Returns:
The unknown argument of the current test.

exploreTest

public Object exploreTest(IlrFactoryExplorer explorer)
Explores this test using a factory explorer and returns an object as a result.

Parameters:
explorer - The factory explorer.
Returns:
An object, the result of the exploration, or null if the method does not return a value.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013