ilog.rules.vocabulary.model.event

Class IlrNotification

  • java.lang.Object
    • ilog.rules.vocabulary.model.event.IlrNotification


  • public final class IlrNotification
    extends java.lang.Object
    This class defines a vocabulary notification.
    • Constructor Summary

      Constructors 
      Constructor and Description
      IlrNotification(IlrNotifier notifier, int eventType, int featureId, boolean oldValue, boolean newValue)
      Builds a new notification.
      IlrNotification(IlrNotifier notifier, int eventType, int featureId, int oldValue, int newValue)
      Builds a new notification.
      IlrNotification(IlrNotifier notifier, int eventType, int featureId, java.lang.Object oldValue, java.lang.Object newValue)
      Builds a new notification.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      int getEventType()
      Returns the event type of this notification.
      int getFeatureID()
      Returns the feature ID of this notification.
      java.lang.Object getNewValue()
      Returns the new value of this notification.
      IlrNotifier getNotifier()
      Returns the notifier of this notification.
      java.lang.Object getOldValue()
      Returns the old value of this notification.
      • Methods inherited from class java.lang.Object

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

      • IlrNotification

        public IlrNotification(IlrNotifier notifier,
                       int eventType,
                       int featureId,
                       java.lang.Object oldValue,
                       java.lang.Object newValue)
        Builds a new notification.
        Parameters:
        eventType -
        featureId -
        oldValue -
        newValue -
      • IlrNotification

        public IlrNotification(IlrNotifier notifier,
                       int eventType,
                       int featureId,
                       boolean oldValue,
                       boolean newValue)
        Builds a new notification.
        Parameters:
        eventType -
        featureId -
        oldValue -
        newValue -
      • IlrNotification

        public IlrNotification(IlrNotifier notifier,
                       int eventType,
                       int featureId,
                       int oldValue,
                       int newValue)
        Builds a new notification.
        Parameters:
        eventType -
        featureId -
        oldValue -
        newValue -
    • Method Detail

      • getFeatureID

        public int getFeatureID()
        Returns the feature ID of this notification.
        Returns:
        Returns the feature ID.
      • getEventType

        public int getEventType()
        Returns the event type of this notification.
        Returns:
        Returns the event type.
      • getNewValue

        public java.lang.Object getNewValue()
        Returns the new value of this notification. This value is null when the notification is a removal.
        Returns:
        Returns the new value.
      • getOldValue

        public java.lang.Object getOldValue()
        Returns the old value of this notification. This value is null when the notification is an addition.
        Returns:
        Returns the old value.
      • getNotifier

        public IlrNotifier getNotifier()
        Returns the notifier of this notification.
        Returns:
        The notifier.

© Copyright IBM Corp. 1987, 2017