Home » Hibernate-3.3.2.GA » org.hibernate » engine » [javadoc | source]
org.hibernate.engine
public class: EntityUniqueKey [javadoc | source]
java.lang.Object
   org.hibernate.engine.EntityUniqueKey

All Implemented Interfaces:
    Serializable

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.

Constructor:
 public EntityUniqueKey(String entityName,
    String uniqueKeyName,
    Object semiResolvedKey,
    Type keyType,
    EntityMode entityMode,
    SessionFactoryImplementor factory) 
Method from org.hibernate.engine.EntityUniqueKey Summary:
deserialize,   equals,   generateHashCode,   getEntityName,   getKey,   getUniqueKeyName,   hashCode,   serialize,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.engine.EntityUniqueKey Detail:
 static EntityUniqueKey deserialize(ObjectInputStream ois,
    SessionImplementor session) throws IOException, ClassNotFoundException 
    Custom deserialization routine used during deserialization of a Session/PersistenceContext for increased performance.
 public boolean equals(Object other) 
 public int generateHashCode(SessionFactoryImplementor factory) 
 public String getEntityName() 
 public Object getKey() 
 public String getUniqueKeyName() 
 public int hashCode() 
  void serialize(ObjectOutputStream oos) throws IOException 
    Custom serialization routine used during serialization of a Session/PersistenceContext for increased performance.
 public String toString()