Rule Execution Server API

ilog.rules.factory
Class IlrNaryValue

java.lang.Object
  extended by ilog.rules.factory.IlrValue
      extended by ilog.rules.factory.IlrNaryValue
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IlrFunctionInvocation, IlrMethodInvocation, IlrNewArrayInstanceValue, IlrNewInstanceValue, IlrStaticMethodInvocation

public abstract class IlrNaryValue
extends IlrValue

This abstract class manages an argument list used by its derived classes.

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:
IlrFunctionInvocation, IlrStaticMethodInvocation, IlrMethodInvocation, IlrNewInstanceValue, Serialized Form

Method Summary
 void addArgument(boolean argument)
          Adds a boolean value at the end of the argument list.
 void addArgument(byte argument)
          Adds a byte value at the end of the argument list.
 void addArgument(char argument)
          Adds a char value at the end of the argument list.
 void addArgument(double argument)
          Adds a double value at the end of the argument list.
 void addArgument(float argument)
          Adds a float value at the end of the argument list.
 void addArgument(IlrValue argument)
          Adds a value at the end of the argument list.
 void addArgument(int argument)
          Adds an int value at the end of the argument list.
 void addArgument(long argument)
          Adds a long value at the end of the argument list.
 void addArgument(Object argument)
          Adds an object value at the end of the argument list.
 void addArgument(short argument)
          Adds a short value at the end of the argument list.
 void addArgument(String argument)
          Adds a string value at the end of the argument list.
 Enumeration enumerateArguments()
          Gets the arguments as an enumeration.
 int getArgumentCount()
          Gets the number of arguments.
 IlrValue[] getArguments()
          Gets the arguments.
 IlrType[] getXOMArgumentTypes()
          Gets the XOM types of the arguments.
 
Methods inherited from class ilog.rules.factory.IlrValue
add, divide, exploreValue, getField, getReflect, getType, getXOMType, invokeEquals, isConstant, isEvent, isEventCondition, isNull, multiply, remainder, subtract, testAfter, testAfter, testBefore, testBefore, testEqual, testFalse, testGreaterOrEqual, testGreaterThan, testIn, testInstanceOf, testLessOrEqual, testLessThan, testNotEqual, testNotIn, testOccursin, testTrue, timeof, toNegative, toPositive, toPostfixDecr, toPostfixIncr, toPrefixDecr, toPrefixIncr
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addArgument

public final void addArgument(IlrValue argument)
Adds a value at the end of the argument list.

Parameters:
argument - The argument to be added.

addArgument

public final void addArgument(boolean argument)
Adds a boolean value at the end of the argument list.

Parameters:
argument - The argument to be added.

addArgument

public final void addArgument(char argument)
Adds a char value at the end of the argument list.

Parameters:
argument - The argument to be added.

addArgument

public final void addArgument(byte argument)
Adds a byte value at the end of the argument list.

Parameters:
argument - The argument to be added.

addArgument

public final void addArgument(short argument)
Adds a short value at the end of the argument list.

Parameters:
argument - The argument to be added.

addArgument

public final void addArgument(int argument)
Adds an int value at the end of the argument list.

Parameters:
argument - The argument to be added.

addArgument

public final void addArgument(long argument)
Adds a long value at the end of the argument list.

Parameters:
argument - The argument to be added.

addArgument

public final void addArgument(float argument)
Adds a float value at the end of the argument list.

Parameters:
argument - The argument to be added.

addArgument

public final void addArgument(double argument)
Adds a double value at the end of the argument list.

Parameters:
argument - The argument to be added.

addArgument

public final void addArgument(String argument)
Adds a string value at the end of the argument list.

Parameters:
argument - The argument to be added.

addArgument

public final void addArgument(Object argument)
Adds an object value at the end of the argument list.

Parameters:
argument - The argument to be added.

getArgumentCount

public final int getArgumentCount()
Gets the number of arguments.

Returns:
The number of arguments.

getArguments

public final IlrValue[] getArguments()
Gets the arguments.

Returns:
The arguments.

getXOMArgumentTypes

public final IlrType[] getXOMArgumentTypes()
Gets the XOM types of the arguments.

Returns:
The XOM types of the arguments.

enumerateArguments

public final Enumeration enumerateArguments()
Gets the arguments as an enumeration.

Returns:
An enumeration to visit all the arguments.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013