Package org.hibernate.proxy.map
Class MapProxy
- java.lang.Object
-
- org.hibernate.proxy.map.MapProxy
-
- All Implemented Interfaces:
Serializable,Map,PrimeAmongSecondarySupertypes,HibernateProxy
public class MapProxy extends Object implements HibernateProxy, Map, Serializable
Proxy for "dynamic-map" entity representations.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(Object key)booleancontainsValue(Object value)SetentrySet()Objectget(Object key)LazyInitializergetHibernateLazyInitializer()Get the lazy initialization handler for this object.booleanisEmpty()SetkeySet()Objectput(Object key, Object value)voidputAll(Map t)Objectremove(Object key)intsize()Collectionvalues()ObjectwriteReplace()Perform serialization-time write-replacement of this proxy.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.proxy.HibernateProxy
asHibernateProxy
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Methods inherited from interface org.hibernate.engine.spi.PrimeAmongSecondarySupertypes
asCompositeOwner, asCompositeTracker, asManaged, asManagedComposite, asManagedEntity, asManagedMappedSuperclass, asPersistentAttributeInterceptable, asProxyConfiguration, asSelfDirtinessTracker
-
-
-
-
Method Detail
-
getHibernateLazyInitializer
public LazyInitializer getHibernateLazyInitializer()
Description copied from interface:HibernateProxyGet the lazy initialization handler for this object.- Specified by:
getHibernateLazyInitializerin interfaceHibernateProxy- Returns:
- The associated
LazyInitializer.
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap
-
values
public Collection values()
-
writeReplace
public Object writeReplace()
Description copied from interface:HibernateProxyPerform serialization-time write-replacement of this proxy.- Specified by:
writeReplacein interfaceHibernateProxy- Returns:
- The serializable proxy replacement.
-
-