|
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.IlrStaticMethodInvocation
public class IlrStaticMethodInvocation
This class represents a static 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 | |
---|---|
IlrStaticMethodInvocation(IlrClass clazz,
String methodName,
IlrValue[] arguments)
Constructs a static method invocation using a class, a method name, and an argument list. |
|
IlrStaticMethodInvocation(IlrClass clazz,
String methodName,
IlrValue[] arguments,
ilog.rules.factory.IlrReflectClass[] genericArgs)
Constructs a generic static method invocation using a class, a method, name, an argument list, and a generic argument list. |
|
IlrStaticMethodInvocation(IlrMethod method,
IlrValue[] arguments)
Constructs a static method invocation using an introspected method and an argument list. |
|
IlrStaticMethodInvocation(IlrReflect reflect)
Constructs an uninitialized static method invocation. |
|
IlrStaticMethodInvocation(IlrReflect reflect,
Class clazz,
String methodName,
IlrValue[] arguments)
Constructs a static method invocation using a class, a method name, and an argument list. |
|
IlrStaticMethodInvocation(IlrReflect reflect,
Method method,
IlrValue[] arguments)
Constructs a static method invocation using an introspected method and an argument list. |
|
IlrStaticMethodInvocation(IlrReflect reflect,
String className,
String methodName,
IlrValue[] arguments)
Constructs a static method invocation using a class name, a method name, and an argument list. |
Method Summary | |
---|---|
Object |
exploreStatement(IlrFactoryExplorer explorer)
Explores this method as a statement using a factory explorer and returns an object as a result. |
Object |
exploreValue(IlrFactoryExplorer explorer)
Explores this value using a factory explorer and returns an object as a result. |
String |
getClassName()
Gets the fully qualified name of the class that declares the method. |
ilog.rules.factory.IlrReflectClass[] |
getGenericArguments()
Gets the type arguments for a generic method call. |
String |
getName()
Gets the name of the IlrStaticMethodInvocation method. |
IlrValue |
getObject()
Gets the object invoked by this method call. |
String |
getShortClassName()
Gets the short name of the class that declares the method. |
IlrMethod |
getXOMMethod()
Gets the method of the IlrStaticMethodInvocation . |
void |
setMethod(IlrClass clazz,
String methodName)
Sets the method by selecting it in a class. |
void |
setObject(IlrValue object)
Sets the object invoked by 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 IlrStaticMethodInvocation(IlrReflect reflect)
reflect
- A reflect.public IlrStaticMethodInvocation(IlrReflect reflect, Class clazz, String methodName, IlrValue[] arguments)
reflect
- A reflect.clazz
- The class which defines the method.methodName
- The name of the method.arguments
- The arguments.public IlrStaticMethodInvocation(IlrClass clazz, String methodName, IlrValue[] arguments)
clazz
- The class which defines the method.methodName
- The name of the method.arguments
- The arguments.public IlrStaticMethodInvocation(IlrClass clazz, String methodName, IlrValue[] arguments, ilog.rules.factory.IlrReflectClass[] genericArgs)
clazz
- The class which defines the method.methodName
- The name of the method.arguments
- The arguments.genericArgs
- The generic argument types.public IlrStaticMethodInvocation(IlrReflect reflect, String className, String methodName, IlrValue[] arguments)
reflect
- A reflect.className
- The name of the class which defines the method.methodName
- The name of the method.arguments
- The arguments.public IlrStaticMethodInvocation(IlrReflect reflect, Method method, IlrValue[] arguments)
reflect
- A reflect.method
- A method.arguments
- The arguments.public IlrStaticMethodInvocation(IlrMethod method, IlrValue[] arguments)
method
- A method.arguments
- The arguments.Method Detail |
---|
public void setMethod(IlrClass clazz, String methodName)
clazz
- The class from which the searching starts.methodName
- The method name.public IlrMethod getXOMMethod()
IlrStaticMethodInvocation
.
public ilog.rules.factory.IlrReflectClass[] getGenericArguments()
public String getName()
IlrStaticMethodInvocation
method.
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 IlrValue getObject()
Gets the object invoked by this method call.
public void setObject(IlrValue object)
Sets the object invoked by this method call.
object
- The invoked object of this method call.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 |