org.jboss.cache.pojo.notification.event
Class SetModifiedEvent
java.lang.Object
java.util.EventObject
org.jboss.cache.pojo.notification.event.Event
org.jboss.cache.pojo.notification.event.SetModifiedEvent
- All Implemented Interfaces:
- Serializable
public final class SetModifiedEvent
- extends Event
A notification that indicates an attached Set was modified.
- Author:
- Jason T. Greene
- See Also:
- Serialized Form
SetModifiedEvent
public SetModifiedEvent(NotificationContext context,
Set source,
SetModifiedEvent.Operation operation,
Object value,
boolean local)
getOperation
public SetModifiedEvent.Operation getOperation()
- Gets the operation of this change.
- Returns:
- the operation.
getValue
public Object getValue()
- Gets the new value for this change. Returns null on a remove operation.
- Returns:
- the new value, or null if remove
getSource
public Set getSource()
- Overrides:
getSource
in class EventObject
Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.