Package org.hibernate.metamodel.internal
Class EntityRepresentationStrategyMap
- java.lang.Object
-
- org.hibernate.metamodel.internal.EntityRepresentationStrategyMap
-
- All Implemented Interfaces:
EntityRepresentationStrategy
,ManagedTypeRepresentationStrategy
public class EntityRepresentationStrategyMap extends Object implements EntityRepresentationStrategy
-
-
Constructor Summary
Constructors Constructor Description EntityRepresentationStrategyMap(PersistentClass bootType, RuntimeModelCreationContext creationContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityInstantiator
getInstantiator()
Create a delegate capable of instantiating instances of the represented type.JavaType<?>
getMappedJavaType()
The Java type descriptor for the concrete type.RepresentationMode
getMode()
The mode representedProxyFactory
getProxyFactory()
Create the delegate capable of producing proxies for the given entityJavaType<?>
getProxyJavaType()
ReflectionOptimizer
getReflectionOptimizer()
The reflection optimizer to use for this embeddable.PropertyAccess
resolvePropertyAccess(Property bootAttributeDescriptor)
Create the property accessor object for the specified attributevoid
visitEntityNameResolvers(Consumer<EntityNameResolver> consumer)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.metamodel.spi.EntityRepresentationStrategy
getLoadJavaType, isBytecodeEnhanced, isLifecycleImplementor
-
-
-
-
Constructor Detail
-
EntityRepresentationStrategyMap
public EntityRepresentationStrategyMap(PersistentClass bootType, RuntimeModelCreationContext creationContext)
-
-
Method Detail
-
getMode
public RepresentationMode getMode()
Description copied from interface:ManagedTypeRepresentationStrategy
The mode represented- Specified by:
getMode
in interfaceManagedTypeRepresentationStrategy
-
getReflectionOptimizer
public ReflectionOptimizer getReflectionOptimizer()
Description copied from interface:ManagedTypeRepresentationStrategy
The reflection optimizer to use for this embeddable.- Specified by:
getReflectionOptimizer
in interfaceManagedTypeRepresentationStrategy
-
resolvePropertyAccess
public PropertyAccess resolvePropertyAccess(Property bootAttributeDescriptor)
Description copied from interface:ManagedTypeRepresentationStrategy
Create the property accessor object for the specified attribute- Specified by:
resolvePropertyAccess
in interfaceManagedTypeRepresentationStrategy
-
getInstantiator
public EntityInstantiator getInstantiator()
Description copied from interface:EntityRepresentationStrategy
Create a delegate capable of instantiating instances of the represented type.- Specified by:
getInstantiator
in interfaceEntityRepresentationStrategy
-
getProxyFactory
public ProxyFactory getProxyFactory()
Description copied from interface:EntityRepresentationStrategy
Create the delegate capable of producing proxies for the given entity- Specified by:
getProxyFactory
in interfaceEntityRepresentationStrategy
-
getMappedJavaType
public JavaType<?> getMappedJavaType()
Description copied from interface:ManagedTypeRepresentationStrategy
The Java type descriptor for the concrete type. For dynamic-map models this will return the JTD for java.util.Map- Specified by:
getMappedJavaType
in interfaceManagedTypeRepresentationStrategy
-
getProxyJavaType
public JavaType<?> getProxyJavaType()
- Specified by:
getProxyJavaType
in interfaceEntityRepresentationStrategy
-
visitEntityNameResolvers
public void visitEntityNameResolvers(Consumer<EntityNameResolver> consumer)
- Specified by:
visitEntityNameResolvers
in interfaceEntityRepresentationStrategy
-
-