Package org.hibernate.metamodel.internal
Class EmbeddableRepresentationStrategyPojo
- java.lang.Object
-
- org.hibernate.metamodel.internal.EmbeddableRepresentationStrategyPojo
-
- All Implemented Interfaces:
EmbeddableRepresentationStrategy,ManagedTypeRepresentationStrategy
public class EmbeddableRepresentationStrategyPojo extends Object implements EmbeddableRepresentationStrategy
-
-
Constructor Summary
Constructors Constructor Description EmbeddableRepresentationStrategyPojo(Component bootDescriptor, Supplier<EmbeddableMappingType> runtimeDescriptorAccess, EmbeddableInstantiator customInstantiator, CompositeUserType<Object> compositeUserType, RuntimeModelCreationContext creationContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JavaType<?>getEmbeddableJavaType()EmbeddableInstantiatorgetInstantiator()Create a delegate capable of instantiating instances of the represented type.EmbeddableInstantiatorgetInstantiatorForClass(String className)EmbeddableInstantiatorgetInstantiatorForDiscriminator(Object discriminatorValue)JavaType<?>getMappedJavaType()The Java type descriptor for the concrete type.RepresentationModegetMode()The mode representedReflectionOptimizergetReflectionOptimizer()The reflection optimizer to use for this embeddable.PropertyAccessresolvePropertyAccess(Property bootAttributeDescriptor)Create the property accessor object for the specified attribute
-
-
-
Constructor Detail
-
EmbeddableRepresentationStrategyPojo
public EmbeddableRepresentationStrategyPojo(Component bootDescriptor, Supplier<EmbeddableMappingType> runtimeDescriptorAccess, EmbeddableInstantiator customInstantiator, CompositeUserType<Object> compositeUserType, RuntimeModelCreationContext creationContext)
-
-
Method Detail
-
getEmbeddableJavaType
public JavaType<?> getEmbeddableJavaType()
-
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
-
getReflectionOptimizer
public ReflectionOptimizer getReflectionOptimizer()
Description copied from interface:EmbeddableRepresentationStrategyThe reflection optimizer to use for this embeddable. https://hibernate.atlassian.net/browse/HHH-14952- Specified by:
getReflectionOptimizerin interfaceEmbeddableRepresentationStrategy- Specified by:
getReflectionOptimizerin interfaceManagedTypeRepresentationStrategy
-
resolvePropertyAccess
public PropertyAccess resolvePropertyAccess(Property bootAttributeDescriptor)
Description copied from interface:ManagedTypeRepresentationStrategyCreate the property accessor object for the specified attribute- Specified by:
resolvePropertyAccessin interfaceManagedTypeRepresentationStrategy
-
getMode
public RepresentationMode getMode()
Description copied from interface:ManagedTypeRepresentationStrategyThe mode represented- Specified by:
getModein interfaceManagedTypeRepresentationStrategy
-
getInstantiator
public EmbeddableInstantiator getInstantiator()
Description copied from interface:EmbeddableRepresentationStrategyCreate a delegate capable of instantiating instances of the represented type.- Specified by:
getInstantiatorin interfaceEmbeddableRepresentationStrategy
-
getInstantiatorForDiscriminator
public EmbeddableInstantiator getInstantiatorForDiscriminator(Object discriminatorValue)
- Specified by:
getInstantiatorForDiscriminatorin interfaceEmbeddableRepresentationStrategy
-
getInstantiatorForClass
public EmbeddableInstantiator getInstantiatorForClass(String className)
- Specified by:
getInstantiatorForClassin interfaceEmbeddableRepresentationStrategy
-
-