Top Description Fields Constructors Methods
org.hibernate.event.spi

public Class ResolveNaturalIdEvent

extends AbstractEvent
Class Inheritance
Imports
java.io.Serializable, java.util.Collections, .Map, org.hibernate.HibernateException, .LockMode, .LockOptions, org.hibernate.persister.entity.EntityPersister

Defines an event class for the resolving of an entity id from the entity's natural-id
Authors
Eric Dalquist, Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final LockMode
private Serializable
private final EntityPersister
private final LockOptions
private final Map<String, Object>
private final Object[]

Constructor Summary

AccessConstructor and Description
public
ResolveNaturalIdEvent(Map<String, Object> naturalIdValues, EntityPersister entityPersister, EventSource source)

Deprecated as a consequence of EventSource being deprecated.
public
ResolveNaturalIdEvent(Map<String, Object> naturalIdValues, EntityPersister entityPersister, LockOptions lockOptions, EventSource source)

Deprecated as a consequence of EventSource being deprecated.

Method Summary

Modifier and TypeMethod and Description
public Serializable
public String
public EntityPersister
public LockOptions
public Map<String, Object>
public Object[]
public void
Inherited from org.hibernate.event.spi.AbstractEvent:
getSession

Field Detail

DEFAULT_LOCK_MODEback to summary
public static final LockMode DEFAULT_LOCK_MODE
entityIdback to summary
private Serializable entityId
entityPersisterback to summary
private final EntityPersister entityPersister
lockOptionsback to summary
private final LockOptions lockOptions
naturalIdValuesback to summary
private final Map<String, Object> naturalIdValues
orderedNaturalIdValuesback to summary
private final Object[] orderedNaturalIdValues

Constructor Detail

ResolveNaturalIdEventback to summary
public ResolveNaturalIdEvent(Map<String, Object> naturalIdValues, EntityPersister entityPersister, EventSource source)

Deprecated

as a consequence of EventSource being deprecated. See corresponding docs for further information.

ResolveNaturalIdEventback to summary
public ResolveNaturalIdEvent(Map<String, Object> naturalIdValues, EntityPersister entityPersister, LockOptions lockOptions, EventSource source)

Deprecated

as a consequence of EventSource being deprecated. See corresponding docs for further information.

Method Detail

getEntityIdback to summary
public Serializable getEntityId()
getEntityNameback to summary
public String getEntityName()
getEntityPersisterback to summary
public EntityPersister getEntityPersister()
getLockOptionsback to summary
public LockOptions getLockOptions()
getNaturalIdValuesback to summary
public Map<String, Object> getNaturalIdValues()
getOrderedNaturalIdValuesback to summary
public Object[] getOrderedNaturalIdValues()
setEntityIdback to summary
public void setEntityId(Serializable entityId)