org.hibernate.engine
final class: AssociationKey [javadoc |
source]
java.lang.Object
org.hibernate.engine.AssociationKey
All Implemented Interfaces:
Serializable
Identifies a named association belonging to a particular
entity instance. Used to record the fact that an association
is null during loading.
| Method from org.hibernate.engine.AssociationKey Summary: |
|---|
|
equals, hashCode |
| Method from org.hibernate.engine.AssociationKey Detail: |
public boolean equals(Object that) {
AssociationKey key = (AssociationKey) that;
return key.propertyName.equals(propertyName) &&
key.ownerKey.equals(ownerKey);
}
|
public int hashCode() {
return ownerKey.hashCode() + propertyName.hashCode();
}
|