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:
java.io.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 Modifier and Type Field Description private java.lang.String[]
fieldNames
Names of the fields affected.private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description FieldInstanceLifecycleEvent(java.lang.Object obj, int eventType, java.lang.Object otherObj, java.lang.String[] fieldNames)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]
getFieldNames()
Accessor for the field names affected by this event
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
fieldNames
private java.lang.String[] fieldNames
Names of the fields affected.
-
-
Constructor Detail
-
FieldInstanceLifecycleEvent
public FieldInstanceLifecycleEvent(java.lang.Object obj, int eventType, java.lang.Object otherObj, java.lang.String[] fieldNames)
Constructor.- Parameters:
obj
- The object on which the event occurseventType
- Type of eventotherObj
- The other objectfieldNames
- Names of the fields affected
-
-