Package org.hibernate.metamodel.spi
Interface EmbeddableRepresentationStrategy
- All Superinterfaces:
ManagedTypeRepresentationStrategy
- All Known Implementing Classes:
EmbeddableRepresentationStrategyMap
,EmbeddableRepresentationStrategyPojo
,IdClassRepresentationStrategy
,VirtualIdRepresentationStrategy
@Incubating
public interface EmbeddableRepresentationStrategy
extends ManagedTypeRepresentationStrategy
Describes the representation of a particular embeddable type.
-
Method Summary
Modifier and TypeMethodDescriptionCreate a delegate capable of instantiating instances of the represented type.default EmbeddableInstantiator
getInstantiatorForClass
(String className) default EmbeddableInstantiator
getInstantiatorForDiscriminator
(Object discriminatorValue) The reflection optimizer to use for this embeddable.Methods inherited from interface org.hibernate.metamodel.spi.ManagedTypeRepresentationStrategy
getMappedJavaType, getMode, resolvePropertyAccess
-
Method Details
-
getInstantiator
EmbeddableInstantiator getInstantiator()Create a delegate capable of instantiating instances of the represented type. -
getInstantiatorForDiscriminator
-
getInstantiatorForClass
-
getReflectionOptimizer
ReflectionOptimizer getReflectionOptimizer()The reflection optimizer to use for this embeddable. https://hibernate.atlassian.net/browse/HHH-14952- Specified by:
getReflectionOptimizer
in interfaceManagedTypeRepresentationStrategy
-