Top Fields Constructors Methods
org.hibernate.metamodel.internal

public Class EmbeddableRepresentationStrategyMap

extends Object
implements EmbeddableRepresentationStrategy
Class Inheritance
All Implemented Interfaces
org.hibernate.metamodel.spi.EmbeddableRepresentationStrategy, org.hibernate.metamodel.spi.ManagedTypeRepresentationStrategy
Imports
java.util.Map, java.util.function.Supplier, org.hibernate.bytecode.spi.ReflectionOptimizer, org.hibernate.mapping.Component, .Property, org.hibernate.metamodel.RepresentationMode, org.hibernate.metamodel.mapping.EmbeddableMappingType, org.hibernate.metamodel.spi.EmbeddableInstantiator, .EmbeddableRepresentationStrategy, .RuntimeModelCreationContext, org.hibernate.property.access.internal.PropertyAccessStrategyMapImpl, org.hibernate.property.access.spi.PropertyAccess, org.hibernate.type.descriptor.java.JavaType

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final EmbeddableInstantiator
private final JavaType<?>

Constructor Summary

AccessConstructor and Description
public
EmbeddableRepresentationStrategyMap(Component bootDescriptor, Supplier<EmbeddableMappingType> runtimeDescriptorAccess, EmbeddableInstantiator customInstantiator, RuntimeModelCreationContext creationContext)

Deprecated as a consequence of RuntimeModelCreationContext being deprecated.

Method Summary

Modifier and TypeMethod and Description
public EmbeddableInstantiator
getInstantiator()

Implements org.hibernate.metamodel.spi.EmbeddableRepresentationStrategy.getInstantiator.

Create a delegate capable of instantiating instances of the represented type.
public JavaType<?>
public RepresentationMode
public ReflectionOptimizer
public PropertyAccess
resolvePropertyAccess(Property bootAttributeDescriptor)

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

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

Field Detail

instantiatorback to summary
private final EmbeddableInstantiator instantiator
mapJtdback to summary
private final JavaType<?> mapJtd

Constructor Detail

EmbeddableRepresentationStrategyMapback to summary
public EmbeddableRepresentationStrategyMap(Component bootDescriptor, Supplier<EmbeddableMappingType> runtimeDescriptorAccess, EmbeddableInstantiator customInstantiator, RuntimeModelCreationContext creationContext)

Deprecated

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

Method Detail

getInstantiatorback to summary
public EmbeddableInstantiator getInstantiator()

Implements org.hibernate.metamodel.spi.EmbeddableRepresentationStrategy.getInstantiator.

Doc from org.hibernate.metamodel.spi.EmbeddableRepresentationStrategy.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
getReflectionOptimizerback to summary
public ReflectionOptimizer getReflectionOptimizer()

Implements org.hibernate.metamodel.spi.EmbeddableRepresentationStrategy.getReflectionOptimizer.

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

The reflection optimizer to use for this embeddable. https://hibernate.atlassian.net/browse/HHH-14952

Annotations
@Override
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