Class VirtualIdRepresentationStrategy
java.lang.Object
org.hibernate.metamodel.mapping.internal.VirtualIdRepresentationStrategy
- All Implemented Interfaces:
EmbeddableRepresentationStrategy,ManagedTypeRepresentationStrategy
public class VirtualIdRepresentationStrategy
extends Object
implements EmbeddableRepresentationStrategy
-
Constructor Summary
ConstructorsConstructorDescriptionVirtualIdRepresentationStrategy(VirtualIdEmbeddable virtualIdEmbeddable, EntityMappingType entityMappingType, Component bootDescriptor, RuntimeModelCreationContext creationContext) -
Method Summary
Modifier and TypeMethodDescriptionCreate a delegate capable of instantiating instances of the represented type.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 attributeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.metamodel.spi.EmbeddableRepresentationStrategy
getInstantiatorForClass, getInstantiatorForDiscriminator
-
Constructor Details
-
VirtualIdRepresentationStrategy
public VirtualIdRepresentationStrategy(VirtualIdEmbeddable virtualIdEmbeddable, EntityMappingType entityMappingType, Component bootDescriptor, RuntimeModelCreationContext creationContext)
-
-
Method Details
-
getInstantiator
Description copied from interface:EmbeddableRepresentationStrategyCreate a delegate capable of instantiating instances of the represented type.- Specified by:
getInstantiatorin interfaceEmbeddableRepresentationStrategy
-
getMode
Description copied from interface:ManagedTypeRepresentationStrategyThe mode represented- Specified by:
getModein interfaceManagedTypeRepresentationStrategy
-
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
-
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
-
resolvePropertyAccess
Description copied from interface:ManagedTypeRepresentationStrategyCreate the property accessor object for the specified attribute- Specified by:
resolvePropertyAccessin interfaceManagedTypeRepresentationStrategy
-