Package org.hibernate.proxy.map
Class MapProxy
java.lang.Object
org.hibernate.proxy.map.MapProxy
- All Implemented Interfaces:
Serializable
,Map
,PrimeAmongSecondarySupertypes
,HibernateProxy
Proxy for "dynamic-map" entity representations.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
containsKey
(Object key) boolean
containsValue
(Object value) entrySet()
Get the lazy initialization handler for this object.boolean
isEmpty()
keySet()
void
int
size()
values()
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 Details
-
getHibernateLazyInitializer
Description copied from interface:HibernateProxy
Get the lazy initialization handler for this object.- Specified by:
getHibernateLazyInitializer
in interfaceHibernateProxy
- Returns:
- The associated
LazyInitializer
.
-
size
public int size() -
clear
public void clear() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKey
in interfaceMap
-
containsValue
- Specified by:
containsValue
in interfaceMap
-
values
-
putAll
-
entrySet
-
keySet
-
get
-
remove
-
put
-
writeReplace
Description copied from interface:HibernateProxy
Perform serialization-time write-replacement of this proxy.- Specified by:
writeReplace
in interfaceHibernateProxy
- Returns:
- The serializable proxy replacement.
-