ilog.rules.factory

Class IlrPropertyAccessValue

  • All Implemented Interfaces:
    java.io.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 Detail

      • IlrPropertyAccessValue

        public IlrPropertyAccessValue(IlrReflect reflect,
                              IlrValue object,
                              java.lang.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 java.lang.String getProperty()
        Returns the property accessed by the value.
        Returns:
        The property accessed by the property value.
      • exploreValue

        public java.lang.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.

© Copyright IBM Corp. 1987, 2017