|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ilog.rules.factory.IlrValue ilog.rules.factory.IlrNaryValue ilog.rules.factory.IlrMethodInvocation
public final class IlrMethodInvocation
This class represents a method invocation of the rule language.
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 Summary | |
---|---|
IlrMethodInvocation(IlrValue object)
Constructs an invocation of a method on an object. |
|
IlrMethodInvocation(IlrValue object,
Method method,
IlrValue[] arguments)
Constructs an invocation of a method belonging to the object passed as the argument. |
|
IlrMethodInvocation(IlrValue object,
String methodName,
IlrValue[] arguments)
Constructs an invocation of a method belonging to the object passed as the argument. |
|
IlrMethodInvocation(IlrValue object,
String methodName,
IlrValue[] arguments,
ilog.rules.factory.IlrReflectClass[] genericArgs)
Constructs an invocation of a generic method belonging to the object passed as the argument. |
Method Summary | |
---|---|
Object |
exploreStatement(IlrFactoryExplorer explorer)
Explores this method call as a statement using a factory explorer. |
Object |
exploreValue(IlrFactoryExplorer explorer)
Explores this method call as a value using a factory explorer. |
String |
getClassName()
Gets the fully-qualified name of the class which declares the method. |
ilog.rules.factory.IlrReflectClass[] |
getGenericArguments()
Gets the type arguments for a generic method call. |
String |
getName()
Gets the method name of this method call. |
IlrValue |
getObject()
Gets the object invoked by this method call. |
String |
getShortClassName()
Gets the short name of the class which declares the method. |
IlrMethod |
getXOMMethod()
Gets the method of this method call. |
void |
setMethod(String methodName)
Sets a method for this method call. |
String |
toString()
|
Methods inherited from class ilog.rules.factory.IlrNaryValue |
---|
addArgument, addArgument, addArgument, addArgument, addArgument, addArgument, addArgument, addArgument, addArgument, addArgument, addArgument, enumerateArguments, getArgumentCount, getArguments, getXOMArgumentTypes |
Methods inherited from class ilog.rules.factory.IlrValue |
---|
add, divide, 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, wait, wait, wait |
Constructor Detail |
---|
public IlrMethodInvocation(IlrValue object)
object
- The invoked object of this method invocation.public IlrMethodInvocation(IlrValue object, String methodName, IlrValue[] arguments)
object
- The invoked object of this method invocation.methodName
- The name of the method.arguments
- The arguments of the invocation.public IlrMethodInvocation(IlrValue object, String methodName, IlrValue[] arguments, ilog.rules.factory.IlrReflectClass[] genericArgs)
object
- The invoked object of this method invocation.methodName
- The name of the method.arguments
- The arguments of the invocation.genericArgs
- The type arguments to use to instantiate the generic method.public IlrMethodInvocation(IlrValue object, Method method, IlrValue[] arguments)
object
- The invoked object of this method invocation.method
- A method.arguments
- The arguments of this method.Method Detail |
---|
public void setMethod(String methodName)
methodName
- The name of the method.public IlrValue getObject()
public IlrMethod getXOMMethod()
public ilog.rules.factory.IlrReflectClass[] getGenericArguments()
public String getName()
public String getClassName()
public String getShortClassName()
public Object exploreValue(IlrFactoryExplorer explorer)
exploreValue
in class IlrValue
explorer
- The factory explorer.
null
if the method does not return a value.public Object exploreStatement(IlrFactoryExplorer explorer)
exploreStatement
in interface IlrStatement
explorer
- The factory explorer.
null
if the method does not return a value.public String toString()
toString
in class Object
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |