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:
- 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
Method Summary |
Field |
getField()
Gets the field that was or is being modified (depending on the notification phase). |
Object |
getValue()
Gets the new value that this field is being set to. |
FieldModifiedEvent
public FieldModifiedEvent(NotificationContext context,
Object source,
Field field,
Object value,
boolean local)
getField
public Field getField()
- Gets the field that was or is being modified (depending on the notification phase).
- Returns:
- the modified field
getValue
public Object getValue()
- Gets the new value that this field is being set to.
- Returns:
- the new value
Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.