Class 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
    • Constructor Detail

      • FieldInstanceLifecycleEvent

        public FieldInstanceLifecycleEvent​(Object obj,
                                           int eventType,
                                           Object otherObj,
                                           String[] fieldNames)
        Constructor.
        Parameters:
        obj - The object on which the event occurs
        eventType - Type of event
        otherObj - The other object
        fieldNames - Names of the fields affected
    • Method Detail

      • getFieldNames

        public String[] getFieldNames()
        Accessor for the field names affected by this event
        Returns:
        The field names