Package org.hibernate.cache.internal
Class ComponentCacheKeyValueDescriptor
- java.lang.Object
-
- org.hibernate.cache.internal.ComponentCacheKeyValueDescriptor
-
- All Implemented Interfaces:
Serializable
,CacheKeyValueDescriptor
public class ComponentCacheKeyValueDescriptor extends Object implements CacheKeyValueDescriptor
CacheKeyValueDescriptor used to describe normal composite mappings
-
-
Constructor Summary
Constructors Constructor Description ComponentCacheKeyValueDescriptor(NavigableRole role, SessionFactoryImplementor sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getAttributeValue(Object component, int i, AttributeMapping attr)
int
getHashCode(Object key)
boolean
isEqual(Object key1, Object key2)
-
-
-
Constructor Detail
-
ComponentCacheKeyValueDescriptor
public ComponentCacheKeyValueDescriptor(NavigableRole role, SessionFactoryImplementor sessionFactory)
-
-
Method Detail
-
getHashCode
public int getHashCode(Object key)
- Specified by:
getHashCode
in interfaceCacheKeyValueDescriptor
-
isEqual
public boolean isEqual(Object key1, Object key2)
- Specified by:
isEqual
in interfaceCacheKeyValueDescriptor
-
getAttributeValue
public Object getAttributeValue(Object component, int i, AttributeMapping attr)
-
-