ilog.rules.dt.model.event

Class DTModelEvent

  • java.lang.Object
    • java.util.EventObject
      • ilog.rules.dt.model.event.DTModelEvent
  • All Implemented Interfaces:
    java.io.Serializable


    public class DTModelEvent
    extends java.util.EventObject
    Encapsulates information describing changes to an IlrDTModel, and is used to notify DT model listeners of the change.
    See Also:
    DTModelListener, Serialized Form
    • Method Detail

      • getDTModel

        public IlrDTModel getDTModel()
        Returns:
        The source DT model concerned by this event.
      • isAdjusting

        public boolean isAdjusting()
        Returns:
        True if this event is part of an adjustment process, false if this event is isolated.
      • getPartitionDefinition

        public IlrDTPartitionDefinition getPartitionDefinition()
        Returns:
        The related partition definition to this event, null if not concerned by this event.
      • getPartition

        public IlrDTPartition getPartition()
        Returns:
        The related partition to this event, null if not concerned by this event.
      • getPartitionItem

        public IlrDTPartitionItem getPartitionItem()
        Returns:
        The related partition item to this event, null if not concerned by this event.
      • getActionDefinition

        public IlrDTActionDefinition getActionDefinition()
        Returns:
        The related action definition to this event, null if not concerned by this event.
      • getActionSet

        public IlrDTActionSet getActionSet()
        Returns:
        The related action set to this event, null if not concerned by this event.
      • getActionSets

        public IlrDTActionSet[] getActionSets()
        Returns:
        The related action sets to this event, null if not concerned by this event.
      • getAction

        public IlrDTAction getAction()
        Returns:
        The related action to this event, null if not concerned by this event.
      • getToPartitionDefinition

        public IlrDTPartitionDefinition getToPartitionDefinition()
        Returns:
        The second related partition definition to this event, null if not concerned by this event.
      • getToPartitionItem

        public IlrDTPartitionItem getToPartitionItem()
        Returns:
        The second related partition item to this event, null if not concerned by this event.
      • getToActionDefinition

        public IlrDTActionDefinition getToActionDefinition()
        Returns:
        The second related action definition to this event, null if not concerned by this event.
      • getOldPartitionDefinition

        public IlrDTPartitionDefinition getOldPartitionDefinition()
        Returns:
        The related old partition definition to this event, null if not concerned by this event.
      • getNewPartitionDefinition

        public IlrDTPartitionDefinition getNewPartitionDefinition()
        Returns:
        The related new partition definition to this event, null if not concerned by this event.
      • getIndex

        public int getIndex()
        Returns:
        The related index to this event, 0 if not concerned by this event.
      • getLastIndex

        public int getLastIndex()
        Returns:
        The related last index to this event, 0 if not concerned by this event.

© Copyright IBM Corp. 1987, 2017