|
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.IlrNewInstanceValue
public class IlrNewInstanceValue
This class represents an invocation of a constructor in the rule language, that is, an object allocation.
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 | |
---|---|
IlrNewInstanceValue(IlrConstructor constructor,
IlrValue[] arguments)
Constructs an object allocation expression using a constructor and an argument list. |
|
IlrNewInstanceValue(IlrReflect reflect)
Constructs an object allocation expression. |
|
IlrNewInstanceValue(IlrReflect reflect,
Class clazz,
IlrValue[] arguments)
Constructs an object allocation expression on a class and using an argument list. |
|
IlrNewInstanceValue(IlrReflect reflect,
Constructor constructor,
IlrValue[] arguments)
Constructs an object allocation expression using a constructor and an argument list. |
|
IlrNewInstanceValue(IlrReflect reflect,
String className,
IlrValue[] arguments)
Constructs an object allocation expression using a class name and an argument list. |
Method Summary | |
---|---|
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 allocated object's class. |
String |
getShortClassName()
Gets the short name of the allocated object's class. |
IlrConstructor |
getXOMConstructor()
Gets the constructor of this allocation expression. |
void |
setConstructor(Class clazz)
Sets a constructor for this expression. |
void |
setConstructor(String className)
Sets a constructor for this expression. |
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 IlrNewInstanceValue(IlrReflect reflect)
reflect
- A reflect.public IlrNewInstanceValue(IlrReflect reflect, Class clazz, IlrValue[] arguments)
reflect
- A reflect.clazz
- The class to be instantiated.arguments
- The argument list of the constructor.public IlrNewInstanceValue(IlrReflect reflect, String className, IlrValue[] arguments)
reflect
- A reflect.className
- The name of the class to be instantiated.arguments
- The argument list of the constructor.public IlrNewInstanceValue(IlrReflect reflect, Constructor constructor, IlrValue[] arguments)
reflect
- A reflect.constructor
- The constructor used to instantiate an object.arguments
- The argument list of the constructor.public IlrNewInstanceValue(IlrConstructor constructor, IlrValue[] arguments)
constructor
- The constructor used to instantiate an object.arguments
- The argument list of the constructor.Method Detail |
---|
public void setConstructor(Class clazz)
clazz
- The class to be instantiated.public void setConstructor(String className)
className
- The name of the class to be instantiated.public IlrConstructor getXOMConstructor()
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 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 |