Package org.hibernate.metamodel.spi
Interface ManagedTypeRepresentationStrategy
-
- All Known Subinterfaces:
EmbeddableRepresentationStrategy
,EntityRepresentationStrategy
- All Known Implementing Classes:
EmbeddableRepresentationStrategyMap
,EmbeddableRepresentationStrategyPojo
,EntityRepresentationStrategyMap
,EntityRepresentationStrategyPojoStandard
,IdClassRepresentationStrategy
,VirtualIdRepresentationStrategy
@Incubating public interface ManagedTypeRepresentationStrategy
Defines a singular extension point for capabilities pertaining to a representation mode. Acts as a factory for delegates encapsulating these capabilities.- See Also:
ManagedTypeRepresentationResolver
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JavaType<?>
getMappedJavaType()
The Java type descriptor for the concrete type.RepresentationMode
getMode()
The mode representedReflectionOptimizer
getReflectionOptimizer()
The reflection optimizer to use for this embeddable.PropertyAccess
resolvePropertyAccess(Property bootAttributeDescriptor)
Create the property accessor object for the specified attribute
-
-
-
Method Detail
-
getMode
RepresentationMode getMode()
The mode represented
-
getReflectionOptimizer
ReflectionOptimizer getReflectionOptimizer()
The reflection optimizer to use for this embeddable.
-
getMappedJavaType
JavaType<?> getMappedJavaType()
The Java type descriptor for the concrete type. For dynamic-map models this will return the JTD for java.util.Map
-
resolvePropertyAccess
PropertyAccess resolvePropertyAccess(Property bootAttributeDescriptor)
Create the property accessor object for the specified attribute
-
-