Top Fields Constructors Methods
org.hibernate.boot.model.source.internal.hbm

public Class EmbeddableSourceImpl

extends AbstractHbmSourceNode
implements EmbeddableSource
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.model.source.spi.EmbeddableSource, org.hibernate.boot.model.source.spi.AttributeSourceContainer, org.hibernate.boot.model.source.spi.ToolingHintContextContainer
Imports
java.util.ArrayList, .List, org.hibernate.boot.jaxb.hbm.spi.ToolingHintContainer, org.hibernate.boot.model.JavaTypeDescriptor, org.hibernate.boot.model.source.spi.AttributePath, .AttributeRole, .AttributeSource, .AttributeSourceContainer, .EmbeddableMapping, .EmbeddableSource, .LocalMetadataBuildingContext, .NaturalIdMutability, .ToolingHintContext

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final AttributePath
private final AttributeRole
private final List<AttributeSource>
private final boolean
private final boolean
private final EmbeddableMapping
private final ToolingHintContext
private final JavaTypeDescriptor

Constructor Summary

AccessConstructor and Description
public
EmbeddableSourceImpl(MappingDocument mappingDocument, EmbeddableSourceContainer container, EmbeddableMapping jaxbEmbeddableMapping, List<E> attributeMappings, boolean isDynamic, boolean isUnique, String logicalTableName, NaturalIdMutability naturalIdMutability)

Method Summary

Modifier and TypeMethod and Description
public List<AttributeSource>
public AttributePath
public AttributeRole
public LocalMetadataBuildingContext
public String
public ToolingHintContext
public JavaTypeDescriptor
public boolean
isDynamic()

Implements org.hibernate.boot.model.source.spi.EmbeddableSource.isDynamic.

Indicates whether this embeddable/component is dynamic (represented as a Map), or whether a dedicated class for it is available.
public boolean
Inherited from org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode:
mappingRootmetadataBuildingContextoriginsourceMappingDocument

Field Detail

attributePathBaseback to summary
private final AttributePath attributePathBase
attributeRoleBaseback to summary
private final AttributeRole attributeRoleBase
attributeSourcesback to summary
private final List<AttributeSource> attributeSources
isDynamicback to summary
private final boolean isDynamic
isUniqueback to summary
private final boolean isUnique
jaxbEmbeddableMappingback to summary
private final EmbeddableMapping jaxbEmbeddableMapping
toolingHintContextback to summary
private final ToolingHintContext toolingHintContext
typeDescriptorback to summary
private final JavaTypeDescriptor typeDescriptor

Constructor Detail

EmbeddableSourceImplback to summary
public EmbeddableSourceImpl(MappingDocument mappingDocument, EmbeddableSourceContainer container, EmbeddableMapping jaxbEmbeddableMapping, List<E> attributeMappings, boolean isDynamic, boolean isUnique, String logicalTableName, NaturalIdMutability naturalIdMutability)

Method Detail

attributeSourcesback to summary
public List<AttributeSource> attributeSources()

Implements org.hibernate.boot.model.source.spi.AttributeSourceContainer.attributeSources.

Doc from org.hibernate.boot.model.source.spi.AttributeSourceContainer.attributeSources.

Obtain this container's attribute sources.

Returns:List<AttributeSource>

The attribute sources.

Annotations
@Override
getAttributePathBaseback to summary
public AttributePath getAttributePathBase()

Implements org.hibernate.boot.model.source.spi.AttributeSourceContainer.getAttributePathBase.

Annotations
@Override
getAttributeRoleBaseback to summary
public AttributeRole getAttributeRoleBase()

Implements org.hibernate.boot.model.source.spi.AttributeSourceContainer.getAttributeRoleBase.

Annotations
@Override
getLocalMetadataBuildingContextback to summary
public LocalMetadataBuildingContext getLocalMetadataBuildingContext()

Implements org.hibernate.boot.model.source.spi.AttributeSourceContainer.getLocalMetadataBuildingContext.

Doc from org.hibernate.boot.model.source.spi.AttributeSourceContainer.getLocalMetadataBuildingContext.

Obtain the local binding context associated with this container.

Returns:LocalMetadataBuildingContext

The local binding context

Annotations
@Override
getParentReferenceAttributeNameback to summary
public String getParentReferenceAttributeName()

Implements org.hibernate.boot.model.source.spi.EmbeddableSource.getParentReferenceAttributeName.

Annotations
@Override
getToolingHintContextback to summary
public ToolingHintContext getToolingHintContext()

Implements org.hibernate.boot.model.source.spi.ToolingHintContextContainer.getToolingHintContext.

Annotations
@Override
getTypeDescriptorback to summary
public JavaTypeDescriptor getTypeDescriptor()

Implements org.hibernate.boot.model.source.spi.EmbeddableSource.getTypeDescriptor.

Annotations
@Override
isDynamicback to summary
public boolean isDynamic()

Implements org.hibernate.boot.model.source.spi.EmbeddableSource.isDynamic.

Doc from org.hibernate.boot.model.source.spi.EmbeddableSource.isDynamic.

Indicates whether this embeddable/component is dynamic (represented as a Map), or whether a dedicated class for it is available.

Returns:boolean

true indicates that the composition is represented as a Map; false indicates there is a dedicated class for representing the composition.

Annotations
@Override
isUniqueback to summary
public boolean isUnique()

Implements org.hibernate.boot.model.source.spi.EmbeddableSource.isUnique.

Annotations
@Override