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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_LOCK_MODE
public static final LockMode DEFAULT_LOCK_MODE
ResolveNaturalIdEvent
public ResolveNaturalIdEvent(Map<String,Object> naturalIdValues,
EntityPersister entityPersister,
EventSource source)
ResolveNaturalIdEvent
public ResolveNaturalIdEvent(Map<String,Object> naturalIdValues,
EntityPersister entityPersister,
LockOptions lockOptions,
EventSource source)
getNaturalIdValues
public Map<String,Object> getNaturalIdValues()
getOrderedNaturalIdValues
public Object[] getOrderedNaturalIdValues()
getEntityPersister
public EntityPersister getEntityPersister()
getEntityName
public String getEntityName()
getLockOptions
public LockOptions getLockOptions()
getEntityId
public Serializable getEntityId()
setEntityId
public void setEntityId(Serializable entityId)
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.