ilog.rules.factory

Class IlrOccursinTest

  • All Implemented Interfaces:
    ilog.rules.factory.IlrSourceElement, IlrTest, java.io.Serializable

    Deprecated. 
    As of IBM Decision Server 7.5, event processing is deprecated.

    @Deprecated
    public final class IlrOccursinTest
    extends IlrBaseTest
    This class represents unary temporal tests, corresponding to the occursin construct 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

      Constructors 
      Constructor and Description
      IlrOccursinTest(IlrValue event, IlrValue lowerBound, IlrValue upperBound)
      Deprecated. 
      Constructs an occursin test, testing whether an event occurred within the two time instants, inclusive.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.Object exploreTest(IlrFactoryExplorer explorer)
      Deprecated. 
      Explores this unary temporal test using a factory explorer and returns an object as a result.
      IlrValue getEvent()
      Deprecated. 
      Returns the event involved in the test, or null if the test was constructed with an object which is not an event.
      IlrValue getLowerBound()
      Deprecated. 
      Returns the lower bound of the interval for the event occurrence time.
      IlrValue getUpperBound()
      Deprecated. 
      Returns the upper bound of the interval for the event occurrence time.
      void setEvent(IlrValue event)
      Deprecated. 
      Sets the object on which the test applies.
      void setLowerBound(IlrValue lowerBound)
      Deprecated. 
      Sets the lower bound of the interval for the event occurrence time.
      void setUpperBound(IlrValue upperBound)
      Deprecated. 
      Sets the upper bound of the interval for the event occurrence time.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IlrOccursinTest

        public IlrOccursinTest(IlrValue event,
                       IlrValue lowerBound,
                       IlrValue upperBound)
        Deprecated. 
        Constructs an occursin test, testing whether an event occurred within the two time instants, inclusive.
        Parameters:
        event - The object on which the test applies. Must be an event (otherwise the getEvent method will return null).
        lowerBound - The minimal value for the event occurrence time, inclusive, for the test to be satisfied. An IlrValue evaluating to null means that there is no minimum and is thus equivalent to minus infinity.
        upperBound - The maximal value for the event occurrence time, inclusive, for the test to be satisfied. An IlrValue evaluating to null means that there is no maximum and is thus equivalent to plus infinity.
        See Also:
        IlrValue.isEvent(), IlrValue.testOccursin(ilog.rules.factory.IlrValue, ilog.rules.factory.IlrValue)
    • Method Detail

      • getEvent

        public final IlrValue getEvent()
        Deprecated. 
        Returns the event involved in the test, or null if the test was constructed with an object which is not an event.
        Returns:
        The event involved in the test.
      • setEvent

        public final void setEvent(IlrValue event)
        Deprecated. 
        Sets the object on which the test applies. This object must be an event, otherwise the getEvent method will return null.
        Parameters:
        event - The event on which the test applies.
      • getLowerBound

        public final IlrValue getLowerBound()
        Deprecated. 
        Returns the lower bound of the interval for the event occurrence time.
        Returns:
        The lower bound of the interval for the event occurrence time.
      • setLowerBound

        public final void setLowerBound(IlrValue lowerBound)
        Deprecated. 
        Sets the lower bound of the interval for the event occurrence time.
        Parameters:
        lowerBound - The minimal value for the event occurrence time, inclusive, for the test to be satisfied. An IlrValue evaluating to null means that there is no minimum and is thus equivalent to minus infinity.
      • getUpperBound

        public final IlrValue getUpperBound()
        Deprecated. 
        Returns the upper bound of the interval for the event occurrence time.
        Returns:
        The upper bound of the interval for the event occurrence time.
      • setUpperBound

        public final void setUpperBound(IlrValue upperBound)
        Deprecated. 
        Sets the upper bound of the interval for the event occurrence time.
        Parameters:
        upperBound - The maximal value for the event occurrence time, inclusive, for the test to be satisfied. An IlrValue evaluating to null means that there is no maximum and is thus equivalent to plus infinity.
      • exploreTest

        public final java.lang.Object exploreTest(IlrFactoryExplorer explorer)
        Deprecated. 
        Explores this unary temporal test using a factory explorer and returns an object as a result.
        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