public class PdoEvent
extends javafx.event.Event
| Modifier and Type | Field and Description |
|---|---|
static javafx.event.EventType<PdoEvent> |
ANY
Common supertype for all PDO event types.
|
static javafx.event.EventType<PdoEvent> |
CREATE
A new PDO has been inserted to the database.
|
static javafx.event.EventType<PdoEvent> |
DELETE
PDO has been deleted from the database.
|
static javafx.event.EventType<PdoEvent> |
READ
A new PDO has been read from the database.
|
static javafx.event.EventType<PdoEvent> |
UPDATE
An existing PDO has been updated to the database.
|
source| Constructor and Description |
|---|
PdoEvent(org.tentackle.pdo.PersistentDomainObject<?> pdo,
javafx.event.EventTarget target,
javafx.event.EventType<? extends PdoEvent> eventType)
Creates a PDO event.
|
| Modifier and Type | Method and Description |
|---|---|
PdoEvent |
copyFor(Object newSource,
javafx.event.EventTarget newTarget) |
javafx.event.EventType<PdoEvent> |
getEventType() |
org.tentackle.pdo.PersistentDomainObject<?> |
getPdo()
Gets the PDO.
|
String |
toString() |
getSourcepublic static final javafx.event.EventType<PdoEvent> ANY
public static final javafx.event.EventType<PdoEvent> CREATE
public static final javafx.event.EventType<PdoEvent> READ
public static final javafx.event.EventType<PdoEvent> UPDATE
public static final javafx.event.EventType<PdoEvent> DELETE
public PdoEvent(org.tentackle.pdo.PersistentDomainObject<?> pdo,
javafx.event.EventTarget target,
javafx.event.EventType<? extends PdoEvent> eventType)
pdo - the PDOtarget - the event targeteventType - the event typepublic org.tentackle.pdo.PersistentDomainObject<?> getPdo()
public javafx.event.EventType<PdoEvent> getEventType()
getEventType in class javafx.event.Eventpublic PdoEvent copyFor(Object newSource, javafx.event.EventTarget newTarget)
copyFor in class javafx.event.Eventpublic String toString()
toString in class EventObjectCopyright © 2016 Krake Softwaretechnik. All rights reserved.