public class

EntityUniqueKey

extends Object
implements Serializable
java.lang.Object
   ↳ org.hibernate.engine.EntityUniqueKey

Class Overview

Used to uniquely key an entity instance in relation to a particular session by some unique property reference, as opposed to identifier.

Uniqueing information consists of the entity-name, the referenced property name, and the referenced property value.

See Also

Summary

Public Constructors
EntityUniqueKey(String entityName, String uniqueKeyName, Object semiResolvedKey, Type keyType, EntityMode entityMode, SessionFactoryImplementor factory)
Public Methods
boolean equals(Object other)
int generateHashCode(SessionFactoryImplementor factory)
String getEntityName()
Object getKey()
String getUniqueKeyName()
int hashCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public EntityUniqueKey (String entityName, String uniqueKeyName, Object semiResolvedKey, Type keyType, EntityMode entityMode, SessionFactoryImplementor factory)

Public Methods

public boolean equals (Object other)

public int generateHashCode (SessionFactoryImplementor factory)

public String getEntityName ()

public Object getKey ()

public String getUniqueKeyName ()

public int hashCode ()

public String toString ()