Top Fields Constructors Methods
org.hibernate.metamodel.internal

public abstract Class AbstractEmbeddableRepresentationStrategy

extends Object
implements EmbeddableRepresentationStrategy
Class Inheritance
All Implemented Interfaces
org.hibernate.metamodel.spi.EmbeddableRepresentationStrategy, org.hibernate.metamodel.spi.ManagedTypeRepresentationStrategy
Known Direct Subclasses
org.hibernate.metamodel.internal.EmbeddableRepresentationStrategyPojo
Imports
java.util.Map, java.util.concurrent.ConcurrentHashMap, org.hibernate.mapping.Component, .Property, org.hibernate.metamodel.spi.EmbeddableRepresentationStrategy, .RuntimeModelCreationContext, org.hibernate.property.access.spi.PropertyAccess, org.hibernate.type.descriptor.java.JavaType

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final Map<String, Integer>
private final JavaType<?>
private final boolean
private final PropertyAccess[]
private final int

Constructor Summary

AccessConstructor and Description
public
AbstractEmbeddableRepresentationStrategy(Component bootDescriptor, JavaType<?> embeddableJavaType, RuntimeModelCreationContext creationContext)

Deprecated as a consequence of RuntimeModelCreationContext being deprecated.

Method Summary

Modifier and TypeMethod and Description
protected abstract PropertyAccess
buildPropertyAccess(Property bootAttributeDescriptor)

public JavaType<?>
public JavaType<?>
public PropertyAccess[]
public int
public boolean
public PropertyAccess
resolvePropertyAccess(Property bootAttributeDescriptor)

Implements org.hibernate.metamodel.spi.ManagedTypeRepresentationStrategy.resolvePropertyAccess.

Create the property accessor object for the specified attribute
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

attributeNameToPositionMapback to summary
private final Map<String, Integer> attributeNameToPositionMap
embeddableJavaTypeback to summary
private final JavaType<?> embeddableJavaType
hasCustomAccessorsback to summary
private final boolean hasCustomAccessors
propertyAccessesback to summary
private final PropertyAccess[] propertyAccesses
propertySpanback to summary
private final int propertySpan

Constructor Detail

AbstractEmbeddableRepresentationStrategyback to summary
public AbstractEmbeddableRepresentationStrategy(Component bootDescriptor, JavaType<?> embeddableJavaType, RuntimeModelCreationContext creationContext)

Deprecated

as a consequence of RuntimeModelCreationContext being deprecated. See corresponding docs for further information.

Method Detail

buildPropertyAccessback to summary
protected abstract PropertyAccess buildPropertyAccess(Property bootAttributeDescriptor)
getEmbeddableJavaTypeback to summary
public JavaType<?> getEmbeddableJavaType()
getMappedJavaTypeback to summary
public JavaType<?> getMappedJavaType()

Implements org.hibernate.metamodel.spi.ManagedTypeRepresentationStrategy.getMappedJavaType.

Doc from org.hibernate.metamodel.spi.ManagedTypeRepresentationStrategy.getMappedJavaType.

The Java type descriptor for the concrete type. For dynamic-map models this will return the JTD for java.util.Map

Annotations
@Override
getPropertyAccessesback to summary
public PropertyAccess[] getPropertyAccesses()
getPropertySpanback to summary
public int getPropertySpan()
hasCustomAccessorsback to summary
public boolean hasCustomAccessors()
resolvePropertyAccessback to summary
public PropertyAccess resolvePropertyAccess(Property bootAttributeDescriptor)

Implements org.hibernate.metamodel.spi.ManagedTypeRepresentationStrategy.resolvePropertyAccess.

Doc from org.hibernate.metamodel.spi.ManagedTypeRepresentationStrategy.resolvePropertyAccess.

Create the property accessor object for the specified attribute

Annotations
@Override