ilog.rules.factory

Class IlrContextValue

  • All Implemented Interfaces:
    java.io.Serializable


    public class IlrContextValue
    extends IlrValue
    This class represents the ?context variable 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 Detail

      • IlrContextValue

        public IlrContextValue(IlrRulesetFactory ruleset)
        Constructs a context value for a rule set factory.
        Parameters:
        ruleset - The rule set factory.
      • IlrContextValue

        public IlrContextValue(IlrReflect reflect,
                       java.lang.Class clazz)
        Constructs a context value using a specific context class.
        Parameters:
        reflect - A reflect.
        clazz - The class descriptor of a subclass of IlrContext.
      • IlrContextValue

        public IlrContextValue(IlrClass clazz)
        Constructs a context value using a specific context class.
        Parameters:
        clazz - The XOM class descriptor, a subclass of IlrContext.
    • Method Detail

      • getClassName

        public java.lang.String getClassName()
        Gets the class name of this context value.
        Returns:
        The class name of this context value.
      • getShortClassName

        public java.lang.String getShortClassName()
        Gets the short class name of this context value.
        Returns:
        The short class name of this context value.
      • exploreValue

        public java.lang.Object exploreValue(IlrFactoryExplorer explorer)
        Explores this context 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