Package org.datanucleus.api.jdo
Class FieldInstanceLifecycleEvent
- java.lang.Object
-
- java.util.EventObject
-
- javax.jdo.listener.InstanceLifecycleEvent
-
- org.datanucleus.api.jdo.FieldInstanceLifecycleEvent
-
- All Implemented Interfaces:
Serializable
public class FieldInstanceLifecycleEvent extends javax.jdo.listener.InstanceLifecycleEvent
Extension to InstanceLifecycleEvent where the event can relate to specific field providing access to the field names that are affected by this event.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.jdo.listener.InstanceLifecycleEvent
ATTACH, CLEAR, CREATE, DELETE, DETACH, DIRTY, LOAD, STORE
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description FieldInstanceLifecycleEvent(Object obj, int eventType, Object otherObj, String[] fieldNames)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getFieldNames()
Accessor for the field names affected by this event-
Methods inherited from class javax.jdo.listener.InstanceLifecycleEvent
getDetachedInstance, getEventType, getPersistentInstance, getSource, getTarget
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Method Detail
-
getFieldNames
public String[] getFieldNames()
Accessor for the field names affected by this event- Returns:
- The field names
-
-