| Modifier and Type | Field and Description |
|---|---|
| private final Object | |
| private final Serializable | |
| private final EntityPersister |
| Access | Constructor and Description |
|---|---|
| public | AbstractPreDatabaseOperationEvent(EventSource
The session from which the event originated. source, Object The entity to be invloved in the database operation. entity, Serializable The entity id to be invloved 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 Serializable | |
| public EntityPersister | |
| public EventSource | Returns: Value for property 'source'.
Deprecated
Use
Getter for property 'source'.
getSession instead
|
| entity | back to summary |
|---|---|
| private final Object entity | |
| id | back to summary |
|---|---|
| private final Serializable id | |
| persister | back to summary |
|---|---|
| private final EntityPersister persister | |
| AbstractPreDatabaseOperationEvent | back to summary |
|---|---|
| public AbstractPreDatabaseOperationEvent(EventSource source, Object entity, Serializable 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 Serializable getId() The id to be used in the database operation.
| |
| getPersister | back to summary |
|---|---|
| public EntityPersister getPersister() The persister for the
| |
| getSource | back to summary |
|---|---|
| public EventSource getSource()
Deprecated Use Getter for property 'source'. This is the session from which the event originated.
Some of the pre-* events had previous exposed the event source using
getSource() because they had not originally extended from
| |