org.jboss.cache.pojo.notification.event
Class ArrayModifiedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.jboss.cache.pojo.notification.event.Event
          extended by org.jboss.cache.pojo.notification.event.ArrayModifiedEvent
All Implemented Interfaces:
java.io.Serializable

public final class ArrayModifiedEvent
extends Event

A notification that indicates an array was modified.

Author:
Jason T. Greene
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ArrayModifiedEvent(NotificationContext context, java.lang.Object source, int index, java.lang.Object value, boolean local)
           
 
Method Summary
 int getIndex()
          Gets the index of the change.
 java.lang.Object getValue()
          Gets the new value for this change.
 
Methods inherited from class org.jboss.cache.pojo.notification.event.Event
getContext, isLocal
 
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

ArrayModifiedEvent

public ArrayModifiedEvent(NotificationContext context,
                          java.lang.Object source,
                          int index,
                          java.lang.Object value,
                          boolean local)
Method Detail

getIndex

public int getIndex()
Gets the index of the change.

Returns:
the index of this change

getValue

public java.lang.Object getValue()
Gets the new value for this change.

Returns:
the new value.