| Modifier and Type | Field and Description |
|---|---|
| private final Object | |
| private final Object | |
| private final EntityPersister |
| Access | Constructor and Description |
|---|---|
| public | AbstractPreDatabaseOperationEvent(EventSource
The session from which the event originated. source, Object The entity to be involved in the database operation. entity, Object The entity id to be involved in the database operation. id, EntityPersister The entity's persister. persister)Constructs an event containing the pertinent information. |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public Object | |
| public EntityPersister |
| entity | back to summary |
|---|---|
| private final Object entity | |
| id | back to summary |
|---|---|
| private final Object id | |
| persister | back to summary |
|---|---|
| private final EntityPersister persister | |
| AbstractPreDatabaseOperationEvent | back to summary |
|---|---|
| public AbstractPreDatabaseOperationEvent(EventSource source, Object entity, Object id, EntityPersister persister) Constructs an event containing the pertinent information.
| |
| getEntity | back to summary |
|---|---|
| public Object getEntity() Retrieves the entity involved in the database operation.
| |
| getId | back to summary |
|---|---|
| public Object getId() The id to be used in the database operation.
| |
| getPersister | back to summary |
|---|---|
| public EntityPersister getPersister() The persister for the entity.
| |