Package org.hibernate.event.spi
Class ResolveNaturalIdEvent
- java.lang.Object
-
- org.hibernate.event.spi.AbstractEvent
-
- org.hibernate.event.spi.ResolveNaturalIdEvent
-
- All Implemented Interfaces:
Serializable
public class ResolveNaturalIdEvent extends AbstractEvent
Defines an event class for the resolving of an entity id from the entity's natural-id- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static LockMode
DEFAULT_LOCK_MODE
-
Constructor Summary
Constructors Constructor Description ResolveNaturalIdEvent(Map<String,Object> naturalIdValues, EntityPersister entityPersister, EventSource source)
ResolveNaturalIdEvent(Map<String,Object> naturalIdValues, EntityPersister entityPersister, LockOptions lockOptions, EventSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getEntityId()
String
getEntityName()
EntityPersister
getEntityPersister()
LockOptions
getLockOptions()
Map<String,Object>
getNaturalIdValues()
Object[]
getOrderedNaturalIdValues()
void
setEntityId(Object entityId)
-
Methods inherited from class org.hibernate.event.spi.AbstractEvent
getFactory, getSession
-
-
-
-
Field Detail
-
DEFAULT_LOCK_MODE
public static final LockMode DEFAULT_LOCK_MODE
-
-
Constructor Detail
-
ResolveNaturalIdEvent
public ResolveNaturalIdEvent(Map<String,Object> naturalIdValues, EntityPersister entityPersister, EventSource source)
-
ResolveNaturalIdEvent
public ResolveNaturalIdEvent(Map<String,Object> naturalIdValues, EntityPersister entityPersister, LockOptions lockOptions, EventSource source)
-
-
Method Detail
-
getOrderedNaturalIdValues
public Object[] getOrderedNaturalIdValues()
-
getEntityPersister
public EntityPersister getEntityPersister()
-
getEntityName
public String getEntityName()
-
getLockOptions
public LockOptions getLockOptions()
-
getEntityId
public Object getEntityId()
-
setEntityId
public void setEntityId(Object entityId)
-
-