org.netbeans.modules.bpel.model.api.events
Class IndexedChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.netbeans.modules.bpel.model.api.events.ChangeEvent
          extended by org.netbeans.modules.bpel.model.api.events.IndexedChangeEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
EntityInsertEvent, EntityRemoveEvent, EntityUpdateEvent

public class IndexedChangeEvent
extends ChangeEvent

Author:
ads
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
IndexedChangeEvent(BpelEntity parent, java.lang.String name, int index)
          Constructor for IndexedChangeEvent without source ref.
IndexedChangeEvent(java.lang.Object source, BpelEntity parent, java.lang.String name, int index)
          Constructor for IndexedChangeEvent with source ref.
 
Method Summary
 int getIndex()
           
 
Methods inherited from class org.netbeans.modules.bpel.model.api.events.ChangeEvent
getName, getParent, isLastInAtomic, setLast, setNotLast
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IndexedChangeEvent

public IndexedChangeEvent(java.lang.Object source,
                          BpelEntity parent,
                          java.lang.String name,
                          int index)
Constructor for IndexedChangeEvent with source ref.

Parameters:
source - source of event ( who produce this event ).
parent - element in OM that contains event entity.
name - entity name.
index - index of child entity in parent.

IndexedChangeEvent

public IndexedChangeEvent(BpelEntity parent,
                          java.lang.String name,
                          int index)
Constructor for IndexedChangeEvent without source ref.

Parameters:
parent - element in OM that contains event entity.
name - entity name.
index - index of child entity in parent.
Method Detail

getIndex

public int getIndex()
Returns:
index of child in parent.