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 void
clear()
boolean
containsKey(Object key)
boolean
containsValue(Object value)
Set
entrySet()
Object
get(Object key)
LazyInitializer
getHibernateLazyInitializer()
Get the lazy initialization handler for this object.boolean
isEmpty()
Set
keySet()
Object
put(Object key, Object value)
void
putAll(Map t)
Object
remove(Object key)
int
size()
Collection
values()
Object
writeReplace()
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:HibernateProxy
Get the lazy initialization handler for this object.- Specified by:
getHibernateLazyInitializer
in interfaceHibernateProxy
- Returns:
- The associated
LazyInitializer
.
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interfaceMap
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interfaceMap
-
values
public Collection values()
-
writeReplace
public Object writeReplace()
Description copied from interface:HibernateProxy
Perform serialization-time write-replacement of this proxy.- Specified by:
writeReplace
in interfaceHibernateProxy
- Returns:
- The serializable proxy replacement.
-
-