Rule Execution Server API

ilog.rules.factory
Class IlrPropertyAccessValue

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

public class IlrPropertyAccessValue
extends IlrValue

This class models the access to a rule property, such as ?rule.?location, where ?rule is an IlrRule. variable and ?location a property defined on the rule.

See Also:
Serialized Form

Constructor Summary
IlrPropertyAccessValue(IlrReflect reflect, IlrValue object, String property, IlrClass type)
          Builds a value that models an access to a rule property.
 
Method Summary
 Object exploreValue(IlrFactoryExplorer explorer)
          Explores this property value using a factory explorer and returns an object as a result.
 IlrValue getObject()
          Returns the value that models the object whose property is accessed.
 String getProperty()
          Returns the property accessed by the value.
 
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

IlrPropertyAccessValue

public IlrPropertyAccessValue(IlrReflect reflect,
                              IlrValue object,
                              String property,
                              IlrClass type)
Builds a value that models an access to a rule property.

Parameters:
reflect - The reflect object.
object - The object whose property is accessed.
property - The accessed property.
type - The property type.
Method Detail

getObject

public IlrValue getObject()
Returns the value that models the object whose property is accessed.


getProperty

public String getProperty()
Returns the property accessed by the value.

Returns:
The property accessed by the property value.

exploreValue

public Object exploreValue(IlrFactoryExplorer explorer)
Explores this property 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