Class AbstractEmbeddableMapping
- java.lang.Object
-
- org.hibernate.metamodel.mapping.internal.AbstractEmbeddableMapping
-
- All Implemented Interfaces:
Bindable,EmbeddableMappingType,JdbcMappingContainer,ManagedMappingType,MappingModelExpressible,MappingType,ModelPart,ModelPartContainer,Queryable,SelectableMappings,FetchableContainer
- Direct Known Subclasses:
EmbeddableMappingTypeImpl,IdClassEmbeddable,VirtualIdEmbeddable
public abstract class AbstractEmbeddableMapping extends Object implements EmbeddableMappingType
Base support for EmbeddableMappingType implementations
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static interfaceAbstractEmbeddableMapping.AttributeTypeValidatorprotected static interfaceAbstractEmbeddableMapping.ConcreteTableResolverprotected static classAbstractEmbeddableMapping.IllegalAttributeTypeprotected static interfaceAbstractEmbeddableMapping.SuccessfulCompletionCallback-
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.Bindable
Bindable.JdbcValuesConsumer
-
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.ModelPart
ModelPart.JdbcValueConsumer
-
-
Constructor Summary
Constructors Constructor Description AbstractEmbeddableMapping(MappingModelCreationProcess creationProcess)AbstractEmbeddableMapping(RuntimeModelCreationContext creationContext)
-
Method Summary
-
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.mapping.Bindable
disassemble, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue
-
Methods inherited from interface org.hibernate.metamodel.mapping.EmbeddableMappingType
applySqlSelections, applySqlSelections, createDomainResult, createInverseMappingType, forEachJdbcType, forEachSelectable, forEachSelectable, getEmbeddedValueMapping, getJdbcMappings, getJdbcTypeCount, getRepresentationStrategy, isCreateEmptyCompositesEnabled
-
Methods inherited from interface org.hibernate.sql.results.graph.FetchableContainer
getFetchable, getKeyFetchable, getNumberOfFetchables, getNumberOfKeyFetchables, visitFetchables, visitFetchables, visitFetchables, visitKeyFetchables, visitKeyFetchables, visitKeyFetchables
-
Methods inherited from interface org.hibernate.metamodel.mapping.ManagedMappingType
findAttributeMapping, forEachAttributeMapping, getAttributeMapping, getAttributeMappings, getJavaType, getNumberOfAttributeMappings, getPartMappingType, getValue, setValue, visitAttributeMappings
-
Methods inherited from interface org.hibernate.metamodel.mapping.ModelPart
areEqual, asAttributeMapping, breakDownJdbcValues, findContainingEntityMapping, getNavigableRole, getPartName
-
Methods inherited from interface org.hibernate.metamodel.mapping.Queryable
findByPath, findSubPart, findSubTypesSubPart, resolveSubPart, visitSubParts
-
Methods inherited from interface org.hibernate.metamodel.mapping.SelectableMappings
getSelectable
-
-
-
-
Constructor Detail
-
AbstractEmbeddableMapping
public AbstractEmbeddableMapping(MappingModelCreationProcess creationProcess)
-
AbstractEmbeddableMapping
public AbstractEmbeddableMapping(RuntimeModelCreationContext creationContext)
-
-
Method Detail
-
getMappedJavaType
public JavaType<?> getMappedJavaType()
- Specified by:
getMappedJavaTypein interfaceMappingType
-
getValues
public Object[] getValues(Object compositeInstance)
- Specified by:
getValuesin interfaceManagedMappingType
-
setValues
public void setValues(Object component, Object[] values)
- Specified by:
setValuesin interfaceManagedMappingType
-
inverseInitializeCallback
protected static boolean inverseInitializeCallback(TableGroupProducer declaringTableGroupProducer, SelectableMappings selectableMappings, EmbeddableMappingType inverseMappingType, MappingModelCreationProcess creationProcess, ManagedMappingType declaringType, List<? extends AttributeMapping> attributeMappings)
-
finishInitialization
protected static boolean finishInitialization(NavigableRole navigableRole, Component bootDescriptor, CompositeType compositeType, String rootTableExpression, String[] rootTableKeyColumnNames, EmbeddableMappingType declarer, EmbeddableRepresentationStrategy representationStrategy, AbstractEmbeddableMapping.AttributeTypeValidator attributeTypeValidator, AbstractEmbeddableMapping.ConcreteTableResolver concreteTableResolver, Consumer<AttributeMapping> attributeConsumer, AbstractEmbeddableMapping.SuccessfulCompletionCallback completionCallback, MappingModelCreationProcess creationProcess)
-
-