Top Description Fields Constructors Methods
org.hibernate.metamodel.mapping.internal

public Class IdClassRepresentationStrategy

extends Object
implements EmbeddableRepresentationStrategy
Class Inheritance
All Implemented Interfaces
org.hibernate.metamodel.spi.EmbeddableRepresentationStrategy, org.hibernate.metamodel.spi.ManagedTypeRepresentationStrategy
Imports
org.hibernate.bytecode.spi.ReflectionOptimizer, org.hibernate.mapping.Property, org.hibernate.metamodel.RepresentationMode, org.hibernate.metamodel.internal.EmbeddableInstantiatorPojoStandard, org.hibernate.metamodel.spi.EmbeddableInstantiator, .EmbeddableRepresentationStrategy, org.hibernate.property.access.internal.PropertyAccessStrategyMixedImpl, org.hibernate.property.access.spi.PropertyAccess, org.hibernate.type.descriptor.java.JavaType

EmbeddableRepresentationStrategy for an IdClass mapping

Field Summary

Modifier and TypeField and Description
private final JavaType<?>
private final EmbeddableInstantiator

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public EmbeddableInstantiator
getInstantiator()

Implements org.hibernate.metamodel.spi.EmbeddableRepresentationStrategy.getInstantiator.

Create a delegate capable of instantiating instances of the represented type.
public JavaType<?>
public RepresentationMode
public ReflectionOptimizer
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

idClassTypeback to summary
private final JavaType<?> idClassType
instantiatorback to summary
private final EmbeddableInstantiator instantiator

Constructor Detail

IdClassRepresentationStrategyback to summary
public IdClassRepresentationStrategy(IdClassEmbeddable idClassEmbeddable)

Method Detail

getInstantiatorback to summary
public EmbeddableInstantiator getInstantiator()

Implements org.hibernate.metamodel.spi.EmbeddableRepresentationStrategy.getInstantiator.

Doc from org.hibernate.metamodel.spi.EmbeddableRepresentationStrategy.getInstantiator.

Create a delegate capable of instantiating instances of the represented type.

Annotations
@Override
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
getModeback to summary
public RepresentationMode getMode()

Implements org.hibernate.metamodel.spi.ManagedTypeRepresentationStrategy.getMode.

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

The mode represented

Annotations
@Override
getReflectionOptimizerback to summary
public ReflectionOptimizer getReflectionOptimizer()

Implements org.hibernate.metamodel.spi.EmbeddableRepresentationStrategy.getReflectionOptimizer.

Doc from org.hibernate.metamodel.spi.EmbeddableRepresentationStrategy.getReflectionOptimizer.

The reflection optimizer to use for this embeddable. https://hibernate.atlassian.net/browse/HHH-14952

Annotations
@Override
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