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
ConstructorsConstructorDescriptionEmbeddableRepresentationStrategyPojo
(Component bootDescriptor, Supplier<EmbeddableMappingType> runtimeDescriptorAccess, EmbeddableInstantiator customInstantiator, CompositeUserType<Object> compositeUserType, RuntimeModelCreationContext creationContext) -
Method Summary
Modifier and TypeMethodDescriptionJavaType<?>
Create a delegate capable of instantiating instances of the represented type.getInstantiatorForClass
(String className) getInstantiatorForDiscriminator
(Object discriminatorValue) JavaType<?>
The Java type descriptor for the concrete type.getMode()
The mode representedThe reflection optimizer to use for this embeddable.resolvePropertyAccess
(Property bootAttributeDescriptor) Create the property accessor object for the specified attribute
-
Constructor Details
-
EmbeddableRepresentationStrategyPojo
public EmbeddableRepresentationStrategyPojo(Component bootDescriptor, Supplier<EmbeddableMappingType> runtimeDescriptorAccess, EmbeddableInstantiator customInstantiator, CompositeUserType<Object> compositeUserType, RuntimeModelCreationContext creationContext)
-
-
Method Details
-
getEmbeddableJavaType
-
getMappedJavaType
Description copied from interface:ManagedTypeRepresentationStrategy
The Java type descriptor for the concrete type. For dynamic-map models this will return the JTD for java.util.Map- Specified by:
getMappedJavaType
in interfaceManagedTypeRepresentationStrategy
-
getReflectionOptimizer
Description copied from interface:EmbeddableRepresentationStrategy
The reflection optimizer to use for this embeddable. https://hibernate.atlassian.net/browse/HHH-14952- Specified by:
getReflectionOptimizer
in interfaceEmbeddableRepresentationStrategy
- Specified by:
getReflectionOptimizer
in interfaceManagedTypeRepresentationStrategy
-
resolvePropertyAccess
Description copied from interface:ManagedTypeRepresentationStrategy
Create the property accessor object for the specified attribute- Specified by:
resolvePropertyAccess
in interfaceManagedTypeRepresentationStrategy
-
getMode
Description copied from interface:ManagedTypeRepresentationStrategy
The mode represented- Specified by:
getMode
in interfaceManagedTypeRepresentationStrategy
-
getInstantiator
Description copied from interface:EmbeddableRepresentationStrategy
Create a delegate capable of instantiating instances of the represented type.- Specified by:
getInstantiator
in interfaceEmbeddableRepresentationStrategy
-
getInstantiatorForDiscriminator
- Specified by:
getInstantiatorForDiscriminator
in interfaceEmbeddableRepresentationStrategy
-
getInstantiatorForClass
- Specified by:
getInstantiatorForClass
in interfaceEmbeddableRepresentationStrategy
-