Top Fields Constructors Methods
org.hibernate.metamodel.internal

public Class EntityRepresentationStrategyPojoStandard

extends Object
implements EntityRepresentationStrategy
Class Inheritance
All Implemented Interfaces
org.hibernate.metamodel.spi.EntityRepresentationStrategy, org.hibernate.metamodel.spi.ManagedTypeRepresentationStrategy
Imports
java.lang.reflect.Method, java.util.LinkedHashMap, .Locale, .Map, .Set, org.hibernate.HibernateException, .MappingException, org.hibernate.boot.registry.selector.spi.StrategySelector, org.hibernate.bytecode.spi.BytecodeProvider, .ReflectionOptimizer, .ReflectionOptimizer.InstantiationOptimizer, org.hibernate.classic.Lifecycle, org.hibernate.internal.CoreLogging, .CoreMessageLogger, org.hibernate.internal.util.ReflectHelper, .StringHelper, org.hibernate.mapping.Backref, .Component, .IndexBackref, .KeyValue, .PersistentClass, .Property, .Subclass, org.hibernate.metamodel.RepresentationMode, org.hibernate.metamodel.spi.EntityInstantiator, .EntityRepresentationStrategy, .RuntimeModelCreationContext, org.hibernate.persister.entity.EntityPersister, org.hibernate.property.access.internal.PropertyAccessStrategyBackRefImpl, .PropertyAccessStrategyIndexBackRefImpl, org.hibernate.property.access.spi.BuiltInPropertyAccessStrategies, .PropertyAccess, .PropertyAccessStrategy, org.hibernate.proxy.HibernateProxy, .ProxyFactory, org.hibernate.proxy.pojo.ProxyFactoryHelper, org.hibernate.tuple.entity.EntityMetamodel, org.hibernate.type.CompositeType, org.hibernate.type.descriptor.java.JavaType, org.hibernate.type.descriptor.java.spi.JavaTypeRegistry, org.hibernate.type.spi.CompositeTypeImplementor

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final PropertyAccess
private final String
private final EntityInstantiator
private final boolean
private final boolean
private static final CoreMessageLogger
private final JavaType<?>
private final EmbeddableRepresentationStrategyPojo
private final Map<String, PropertyAccess>
private final ProxyFactory
private final JavaType<?>
private final ReflectionOptimizer
private final StrategySelector

Constructor Summary

AccessConstructor and Description
public
EntityRepresentationStrategyPojoStandard(PersistentClass bootDescriptor, EntityPersister runtimeDescriptor, RuntimeModelCreationContext creationContext)

Deprecated as a consequence of RuntimeModelCreationContext being deprecated.

Method Summary

Modifier and TypeMethod and Description
private ProxyFactory
createProxyFactory(PersistentClass bootDescriptor, BytecodeProvider bytecodeProvider, RuntimeModelCreationContext creationContext)

Deprecated as a consequence of RuntimeModelCreationContext being deprecated.
private EntityInstantiator
determineInstantiator(PersistentClass bootDescriptor, EntityMetamodel entityMetamodel)

Deprecated as a consequence of EntityMetamodel being deprecated.
public EntityInstantiator
getInstantiator()

Implements org.hibernate.metamodel.spi.EntityRepresentationStrategy.getInstantiator.

Create a delegate capable of instantiating instances of the represented type.
public JavaType<?>
public RepresentationMode
public ProxyFactory
getProxyFactory()

Implements org.hibernate.metamodel.spi.EntityRepresentationStrategy.getProxyFactory.

Create the delegate capable of producing proxies for the given entity
public JavaType<?>
public ReflectionOptimizer
public boolean
public boolean
private PropertyAccess
makePropertyAccess(Property bootAttributeDescriptor)

public PropertyAccess
resolvePropertyAccess(Property bootAttributeDescriptor)

Implements org.hibernate.metamodel.spi.ManagedTypeRepresentationStrategy.resolvePropertyAccess.

Create the property accessor object for the specified attribute
private ReflectionOptimizer
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

identifierPropertyAccessback to summary
private final PropertyAccess identifierPropertyAccess
identifierPropertyNameback to summary
private final String identifierPropertyName
instantiatorback to summary
private final EntityInstantiator instantiator
isBytecodeEnhancedback to summary
private final boolean isBytecodeEnhanced
lifecycleImplementorback to summary
private final boolean lifecycleImplementor
LOGback to summary
private static final CoreMessageLogger LOG
mappedJtdback to summary
private final JavaType<?> mappedJtd
mapsIdRepresentationStrategyback to summary
private final EmbeddableRepresentationStrategyPojo mapsIdRepresentationStrategy
propertyAccessMapback to summary
private final Map<String, PropertyAccess> propertyAccessMap
proxyFactoryback to summary
private final ProxyFactory proxyFactory
proxyJtdback to summary
private final JavaType<?> proxyJtd
reflectionOptimizerback to summary
private final ReflectionOptimizer reflectionOptimizer
strategySelectorback to summary
private final StrategySelector strategySelector

Constructor Detail

EntityRepresentationStrategyPojoStandardback to summary
public EntityRepresentationStrategyPojoStandard(PersistentClass bootDescriptor, EntityPersister runtimeDescriptor, RuntimeModelCreationContext creationContext)

Deprecated

as a consequence of RuntimeModelCreationContext being deprecated. See corresponding docs for further information.

Method Detail

createProxyFactoryback to summary
private ProxyFactory createProxyFactory(PersistentClass bootDescriptor, BytecodeProvider bytecodeProvider, RuntimeModelCreationContext creationContext)

Deprecated

as a consequence of RuntimeModelCreationContext being deprecated. See corresponding docs for further information.

determineInstantiatorback to summary
private EntityInstantiator determineInstantiator(PersistentClass bootDescriptor, EntityMetamodel entityMetamodel)

Deprecated

as a consequence of EntityMetamodel being deprecated. See corresponding docs for further information.

getInstantiatorback to summary
public EntityInstantiator getInstantiator()

Implements org.hibernate.metamodel.spi.EntityRepresentationStrategy.getInstantiator.

Doc from org.hibernate.metamodel.spi.EntityRepresentationStrategy.getInstantiator.

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

Annotations
@Override
getMappedJavaTypeback to summary
public JavaType<?> getMappedJavaType()

Implements org.hibernate.metamodel.spi.ManagedTypeRepresentationStrategy.getMappedJavaType.

Doc from org.hibernate.metamodel.spi.ManagedTypeRepresentationStrategy.getMappedJavaType.

The Java type descriptor for the concrete type. For dynamic-map models this will return the JTD for java.util.Map

Annotations
@Override
getModeback to summary
public RepresentationMode getMode()

Implements org.hibernate.metamodel.spi.ManagedTypeRepresentationStrategy.getMode.

Doc from org.hibernate.metamodel.spi.ManagedTypeRepresentationStrategy.getMode.

The mode represented

Annotations
@Override
getProxyFactoryback to summary
public ProxyFactory getProxyFactory()

Implements org.hibernate.metamodel.spi.EntityRepresentationStrategy.getProxyFactory.

Doc from org.hibernate.metamodel.spi.EntityRepresentationStrategy.getProxyFactory.

Create the delegate capable of producing proxies for the given entity

Annotations
@Override
getProxyJavaTypeback to summary
public JavaType<?> getProxyJavaType()

Implements org.hibernate.metamodel.spi.EntityRepresentationStrategy.getProxyJavaType.

Annotations
@Override
getReflectionOptimizerback to summary
public ReflectionOptimizer getReflectionOptimizer()

Implements org.hibernate.metamodel.spi.ManagedTypeRepresentationStrategy.getReflectionOptimizer.

Doc from org.hibernate.metamodel.spi.ManagedTypeRepresentationStrategy.getReflectionOptimizer.

The reflection optimizer to use for this embeddable.

Annotations
@Override
isBytecodeEnhancedback to summary
public boolean isBytecodeEnhanced()

Overrides default org.hibernate.metamodel.spi.EntityRepresentationStrategy.isBytecodeEnhanced.

Annotations
@Override
isLifecycleImplementorback to summary
public boolean isLifecycleImplementor()

Overrides default org.hibernate.metamodel.spi.EntityRepresentationStrategy.isLifecycleImplementor.

Annotations
@Override
makePropertyAccessback to summary
private PropertyAccess makePropertyAccess(Property bootAttributeDescriptor)
resolvePropertyAccessback to summary
public PropertyAccess resolvePropertyAccess(Property bootAttributeDescriptor)

Implements org.hibernate.metamodel.spi.ManagedTypeRepresentationStrategy.resolvePropertyAccess.

Doc from org.hibernate.metamodel.spi.ManagedTypeRepresentationStrategy.resolvePropertyAccess.

Create the property accessor object for the specified attribute

Annotations
@Override
resolveReflectionOptimizerback to summary
private ReflectionOptimizer resolveReflectionOptimizer(BytecodeProvider bytecodeProvider)