Package org.hibernate.metamodel.internal
Class EntityRepresentationStrategyPojoStandard
- java.lang.Object
-
- org.hibernate.metamodel.internal.EntityRepresentationStrategyPojoStandard
-
- All Implemented Interfaces:
EntityRepresentationStrategy,ManagedTypeRepresentationStrategy
public class EntityRepresentationStrategyPojoStandard extends Object implements EntityRepresentationStrategy
-
-
Constructor Summary
Constructors Constructor Description EntityRepresentationStrategyPojoStandard(PersistentClass bootDescriptor, EntityPersister runtimeDescriptor, RuntimeModelCreationContext creationContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityInstantiatorgetInstantiator()Create a delegate capable of instantiating instances of the represented type.JavaType<?>getMappedJavaType()The Java type descriptor for the concrete type.RepresentationModegetMode()The mode representedProxyFactorygetProxyFactory()Create the delegate capable of producing proxies for the given entityJavaType<?>getProxyJavaType()ReflectionOptimizergetReflectionOptimizer()The reflection optimizer to use for this embeddable.booleanisBytecodeEnhanced()booleanisLifecycleImplementor()PropertyAccessresolvePropertyAccess(Property bootAttributeDescriptor)Create the property accessor object for the specified attribute-
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, visitEntityNameResolvers
-
-
-
-
Constructor Detail
-
EntityRepresentationStrategyPojoStandard
public EntityRepresentationStrategyPojoStandard(PersistentClass bootDescriptor, EntityPersister runtimeDescriptor, RuntimeModelCreationContext creationContext)
-
-
Method Detail
-
getMode
public RepresentationMode getMode()
Description copied from interface:ManagedTypeRepresentationStrategyThe mode represented- Specified by:
getModein interfaceManagedTypeRepresentationStrategy
-
getReflectionOptimizer
public ReflectionOptimizer getReflectionOptimizer()
Description copied from interface:ManagedTypeRepresentationStrategyThe reflection optimizer to use for this embeddable.- Specified by:
getReflectionOptimizerin interfaceManagedTypeRepresentationStrategy
-
getInstantiator
public EntityInstantiator getInstantiator()
Description copied from interface:EntityRepresentationStrategyCreate a delegate capable of instantiating instances of the represented type.- Specified by:
getInstantiatorin interfaceEntityRepresentationStrategy
-
getProxyFactory
public ProxyFactory getProxyFactory()
Description copied from interface:EntityRepresentationStrategyCreate the delegate capable of producing proxies for the given entity- Specified by:
getProxyFactoryin interfaceEntityRepresentationStrategy
-
isLifecycleImplementor
public boolean isLifecycleImplementor()
- Specified by:
isLifecycleImplementorin interfaceEntityRepresentationStrategy
-
isBytecodeEnhanced
public boolean isBytecodeEnhanced()
- Specified by:
isBytecodeEnhancedin interfaceEntityRepresentationStrategy
-
getMappedJavaType
public JavaType<?> getMappedJavaType()
Description copied from interface:ManagedTypeRepresentationStrategyThe Java type descriptor for the concrete type. For dynamic-map models this will return the JTD for java.util.Map- Specified by:
getMappedJavaTypein interfaceManagedTypeRepresentationStrategy
-
getProxyJavaType
public JavaType<?> getProxyJavaType()
- Specified by:
getProxyJavaTypein interfaceEntityRepresentationStrategy
-
resolvePropertyAccess
public PropertyAccess resolvePropertyAccess(Property bootAttributeDescriptor)
Description copied from interface:ManagedTypeRepresentationStrategyCreate the property accessor object for the specified attribute- Specified by:
resolvePropertyAccessin interfaceManagedTypeRepresentationStrategy
-
-