Class IdClassRepresentationStrategy
- java.lang.Object
-
- org.hibernate.metamodel.mapping.internal.IdClassRepresentationStrategy
-
- All Implemented Interfaces:
EmbeddableRepresentationStrategy
,ManagedTypeRepresentationStrategy
public class IdClassRepresentationStrategy extends Object implements EmbeddableRepresentationStrategy
EmbeddableRepresentationStrategy for an IdClass mapping
-
-
Constructor Summary
Constructors Constructor Description IdClassRepresentationStrategy(IdClassEmbeddable idClassEmbeddable, boolean simplePropertyOrder, Supplier<String[]> attributeNamesAccess)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmbeddableInstantiator
getInstantiator()
Create a delegate capable of instantiating instances of the represented type.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
-
-
-
Constructor Detail
-
IdClassRepresentationStrategy
public IdClassRepresentationStrategy(IdClassEmbeddable idClassEmbeddable, boolean simplePropertyOrder, Supplier<String[]> attributeNamesAccess)
-
-
Method Detail
-
getInstantiator
public EmbeddableInstantiator getInstantiator()
Description copied from interface:EmbeddableRepresentationStrategy
Create a delegate capable of instantiating instances of the represented type.- Specified by:
getInstantiator
in interfaceEmbeddableRepresentationStrategy
-
getMode
public RepresentationMode getMode()
Description copied from interface:ManagedTypeRepresentationStrategy
The mode represented- Specified by:
getMode
in interfaceManagedTypeRepresentationStrategy
-
getReflectionOptimizer
public ReflectionOptimizer 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
-
getMappedJavaType
public JavaType<?> 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
-
resolvePropertyAccess
public PropertyAccess resolvePropertyAccess(Property bootAttributeDescriptor)
Description copied from interface:ManagedTypeRepresentationStrategy
Create the property accessor object for the specified attribute- Specified by:
resolvePropertyAccess
in interfaceManagedTypeRepresentationStrategy
-
-