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

public Class EmbeddableSourceVirtualImpl

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.JaxbHbmPropertiesType, org.hibernate.boot.model.JavaTypeDescriptor, org.hibernate.boot.model.source.spi.AttributePath, .AttributeRole, .AttributeSource, .AttributeSourceContainer, .EmbeddableSource, .LocalMetadataBuildingContext, .NaturalIdMutability, .ToolingHintContext

A virtual embeddable; what Hibernate historically (pre-JPA) called an embedded component. Mainly used to model a <properties/> mapping
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 ToolingHintContext
private final JavaTypeDescriptor

Constructor Summary

AccessConstructor and Description
public
EmbeddableSourceVirtualImpl(MappingDocument mappingDocument, final AttributesHelper.Callback containingCallback, EmbeddableSourceContainer container, List<E> attributeJaxbMappings, String logicalTableName, NaturalIdMutability naturalIdMutability, JaxbHbmPropertiesType jaxbPropertiesGroup)

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
isUniqueback to summary
private final boolean isUnique
toolingHintContextback to summary
private final ToolingHintContext toolingHintContext
typeDescriptorback to summary
private final JavaTypeDescriptor typeDescriptor

Constructor Detail

EmbeddableSourceVirtualImplback to summary
public EmbeddableSourceVirtualImpl(MappingDocument mappingDocument, final AttributesHelper.Callback containingCallback, EmbeddableSourceContainer container, List<E> attributeJaxbMappings, String logicalTableName, NaturalIdMutability naturalIdMutability, JaxbHbmPropertiesType jaxbPropertiesGroup)

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