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

All Implemented Interfaces:
    Serializable

Uniquely identifies of an entity instance in a particular session by identifier.

Uniqueing information consists of the entity-name and the identifier value.

Constructor:
 public EntityKey(Serializable id,
    EntityPersister persister,
    EntityMode entityMode) 
    Construct a unique identifier for an entity class instance
Method from org.hibernate.engine.EntityKey Summary:
deserialize,   equals,   getEntityName,   getIdentifier,   hashCode,   isBatchLoadable,   serialize,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.engine.EntityKey Detail:
 static EntityKey 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 String getEntityName() 
 public Serializable getIdentifier() 
    Get the user-visible identifier
 public int hashCode() 
 public boolean isBatchLoadable() 
  void serialize(ObjectOutputStream oos) throws IOException 
    Custom serialization routine used during serialization of a Session/PersistenceContext for increased performance.
 public String toString()