Package org.hibernate.metamodel.internal
Class AbstractEmbeddableRepresentationStrategy
- java.lang.Object
-
- org.hibernate.metamodel.internal.AbstractEmbeddableRepresentationStrategy
-
- All Implemented Interfaces:
EmbeddableRepresentationStrategy
,ManagedTypeRepresentationStrategy
- Direct Known Subclasses:
EmbeddableRepresentationStrategyPojo
public abstract class AbstractEmbeddableRepresentationStrategy extends Object implements EmbeddableRepresentationStrategy
-
-
Constructor Summary
Constructors Constructor Description AbstractEmbeddableRepresentationStrategy(Component bootDescriptor, JavaType<?> embeddableJavaType, RuntimeModelCreationContext creationContext)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract PropertyAccess
buildPropertyAccess(Property bootAttributeDescriptor)
JavaType<?>
getEmbeddableJavaType()
JavaType<?>
getMappedJavaType()
The Java type descriptor for the concrete type.PropertyAccess[]
getPropertyAccesses()
int
getPropertySpan()
boolean
hasCustomAccessors()
PropertyAccess
resolvePropertyAccess(Property bootAttributeDescriptor)
Create the property accessor object for the specified attribute-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.metamodel.spi.EmbeddableRepresentationStrategy
getInstantiator, getReflectionOptimizer
-
Methods inherited from interface org.hibernate.metamodel.spi.ManagedTypeRepresentationStrategy
getMode
-
-
-
-
Constructor Detail
-
AbstractEmbeddableRepresentationStrategy
public AbstractEmbeddableRepresentationStrategy(Component bootDescriptor, JavaType<?> embeddableJavaType, RuntimeModelCreationContext creationContext)
-
-
Method Detail
-
buildPropertyAccess
protected abstract PropertyAccess buildPropertyAccess(Property bootAttributeDescriptor)
-
getEmbeddableJavaType
public JavaType<?> getEmbeddableJavaType()
-
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
-
getPropertySpan
public int getPropertySpan()
-
getPropertyAccesses
public PropertyAccess[] getPropertyAccesses()
-
hasCustomAccessors
public boolean hasCustomAccessors()
-
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
-
-