Rule Execution Server API

ilog.rules.factory
Class IlrClassTypeValue

java.lang.Object
  extended by ilog.rules.factory.IlrValue
      extended by ilog.rules.factory.IlrClassTypeValue
All Implemented Interfaces:
Serializable

public class IlrClassTypeValue
extends IlrValue

This class represents a class 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.

See Also:
Serialized Form

Constructor Summary
IlrClassTypeValue(IlrClass clazz)
          Constructs a class type value using a XOM class.
IlrClassTypeValue(IlrReflect reflect, Class clazz)
          Constructs a class type value using a Java class.
IlrClassTypeValue(IlrReflect reflect, String className)
          Constructs a class type value using a fully-qualified Java class name.
 
Method Summary
 Object exploreValue(IlrFactoryExplorer explorer)
          Explores the type value using a factory explorer and returns an object as a result.
 String getClassName()
          Gets the fully-qualified class name that this value represents.
 String getShortClassName()
          Gets the short class name that this value represents.
 IlrType getXOMValue()
          Gets the XOM type that this value represents.
 
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, toString, wait, wait, wait
 

Constructor Detail

IlrClassTypeValue

public IlrClassTypeValue(IlrReflect reflect,
                         Class clazz)
Constructs a class type value using a Java class. This constructor

Parameters:
reflect - A reflect.
clazz - The Java class.

IlrClassTypeValue

public IlrClassTypeValue(IlrReflect reflect,
                         String className)
Constructs a class type value using a fully-qualified Java class name.

Parameters:
reflect - A reflect.
className - The fully-qualified Java class name.

IlrClassTypeValue

public IlrClassTypeValue(IlrClass clazz)
Constructs a class type value using a XOM class.

Parameters:
clazz - The XOM class.
Method Detail

getXOMValue

public IlrType getXOMValue()
Gets the XOM type that this value represents.

Returns:
The XOM type that this value represents.

getClassName

public String getClassName()
Gets the fully-qualified class name that this value represents.

Returns:
The fully-qualified class name that this value represents.

getShortClassName

public String getShortClassName()
Gets the short class name that this value represents.

Returns:
The short class name that this value represents.

exploreValue

public Object exploreValue(IlrFactoryExplorer explorer)
Explores the type value using a factory explorer and returns an object as a result.

Specified by:
exploreValue in class IlrValue
Parameters:
explorer - The factory explorer.
Returns:
An object which represents the result of the exploration, or null if the method does not return a value.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013