Top Description Methods
org.hibernate.metamodel.spi

public Interface EntityRepresentationStrategy

extends ManagedTypeRepresentationStrategy
Known Direct Implementers
org.hibernate.metamodel.internal.EntityRepresentationStrategyMap, org.hibernate.metamodel.internal.EntityRepresentationStrategyPojoStandard
Imports
java.util.function.Consumer, org.hibernate.EntityNameResolver, org.hibernate.proxy.ProxyFactory, org.hibernate.type.descriptor.java.JavaType

Specialization of ManagedTypeRepresentationStrategy for an entity type adding the ability to generate an instantiator and a proxy factory
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public EntityInstantiator
getInstantiator()

Create a delegate capable of instantiating instances of the represented type.

public default JavaType<?>
getLoadJavaType()

The Java type descriptor for the type returned when the entity is loaded

public ProxyFactory
getProxyFactory()

Create the delegate capable of producing proxies for the given entity

public JavaType<?>
public default boolean
public default boolean
public default void
Inherited from org.hibernate.metamodel.spi.ManagedTypeRepresentationStrategy:
getMappedJavaTypegetModegetReflectionOptimizerresolvePropertyAccess

Method Detail

getInstantiatorback to summary
public EntityInstantiator getInstantiator()

Create a delegate capable of instantiating instances of the represented type.

getLoadJavaTypeback to summary
public default JavaType<?> getLoadJavaType()

The Java type descriptor for the type returned when the entity is loaded

getProxyFactoryback to summary
public ProxyFactory getProxyFactory()

Create the delegate capable of producing proxies for the given entity

getProxyJavaTypeback to summary
public JavaType<?> getProxyJavaType()
isBytecodeEnhancedback to summary
public default boolean isBytecodeEnhanced()
isLifecycleImplementorback to summary
public default boolean isLifecycleImplementor()
visitEntityNameResolversback to summary
public default void visitEntityNameResolvers(Consumer<EntityNameResolver> consumer)