org.jboss.cache.pojo.notification.event
Class FieldModifiedEvent
java.lang.Object
java.util.EventObject
org.jboss.cache.pojo.notification.event.Event
org.jboss.cache.pojo.notification.event.FieldModifiedEvent
- All Implemented Interfaces:
- java.io.Serializable
public final class FieldModifiedEvent
- extends Event
A notification that indicates a field was changed on an attached object.
- Author:
- Jason T. Greene.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Method Summary |
java.lang.reflect.Field |
getField()
Gets the field that was or is being modified (depending on the notification phase). |
java.lang.Object |
getValue()
Gets the new value that this field is being set to. |
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 |
FieldModifiedEvent
public FieldModifiedEvent(NotificationContext context,
java.lang.Object source,
java.lang.reflect.Field field,
java.lang.Object value,
boolean local)
getField
public java.lang.reflect.Field getField()
- Gets the field that was or is being modified (depending on the notification phase).
- Returns:
- the modified field
getValue
public java.lang.Object getValue()
- Gets the new value that this field is being set to.
- Returns:
- the new value