Class PdoEvent

  • All Implemented Interfaces:
    Serializable, Cloneable

    public class PdoEvent
    extends javafx.event.Event
    Event related to persistence operations on a PDO.
    Author:
    harald
    See Also:
    Serialized Form
    • Field Detail

      • ANY

        public static final javafx.event.EventType<PdoEvent> ANY
        Common supertype for all PDO event types.
      • CREATE

        public static final javafx.event.EventType<PdoEvent> CREATE
        A new PDO has been inserted to the database.
      • READ

        public static final javafx.event.EventType<PdoEvent> READ
        A new PDO has been read from the database.
      • UPDATE

        public static final javafx.event.EventType<PdoEvent> UPDATE
        An existing PDO has been updated to the database.
      • DELETE

        public static final javafx.event.EventType<PdoEvent> DELETE
        PDO has been deleted from the database.
    • Constructor Detail

      • PdoEvent

        public PdoEvent​(PersistentDomainObject<?> pdo,
                        javafx.event.EventTarget target,
                        javafx.event.EventType<? extends PdoEvent> eventType)
        Creates a PDO event.
        Parameters:
        pdo - the PDO
        target - the event target
        eventType - the event type
    • Method Detail

      • getEventType

        public javafx.event.EventType<PdoEvent> getEventType()
        Overrides:
        getEventType in class javafx.event.Event
      • copyFor

        public PdoEvent copyFor​(Object newSource,
                                javafx.event.EventTarget newTarget)
        Overrides:
        copyFor in class javafx.event.Event