Class EmbeddableSourceVirtualImpl
java.lang.Object
org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
org.hibernate.boot.model.source.internal.hbm.EmbeddableSourceVirtualImpl
- All Implemented Interfaces:
AttributeSourceContainer,EmbeddableSource,ToolingHintContextContainer
A virtual embeddable; what Hibernate historically (pre-JPA) called an embedded
component. Mainly used to model a
<properties/> mapping-
Constructor Summary
ConstructorsConstructorDescriptionEmbeddableSourceVirtualImpl(MappingDocument mappingDocument, AttributesHelper.Callback containingCallback, EmbeddableSourceContainer container, List attributeJaxbMappings, String logicalTableName, NaturalIdMutability naturalIdMutability, JaxbHbmPropertiesType jaxbPropertiesGroup) -
Method Summary
Modifier and TypeMethodDescriptionObtain this container's attribute sources.Obtain the local binding context associated with this container.booleanIndicates whether this embeddable/component is dynamic (represented as a Map), or whether a dedicated class for it is available.booleanisUnique()Methods inherited from class org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
mappingRoot, metadataBuildingContext, origin, sourceMappingDocument
-
Constructor Details
-
EmbeddableSourceVirtualImpl
public EmbeddableSourceVirtualImpl(MappingDocument mappingDocument, AttributesHelper.Callback containingCallback, EmbeddableSourceContainer container, List attributeJaxbMappings, String logicalTableName, NaturalIdMutability naturalIdMutability, JaxbHbmPropertiesType jaxbPropertiesGroup)
-
-
Method Details
-
getTypeDescriptor
- Specified by:
getTypeDescriptorin interfaceEmbeddableSource
-
getParentReferenceAttributeName
- Specified by:
getParentReferenceAttributeNamein interfaceEmbeddableSource
-
isDynamic
public boolean isDynamic()Description copied from interface:EmbeddableSourceIndicates whether this embeddable/component is dynamic (represented as a Map), or whether a dedicated class for it is available.- Specified by:
isDynamicin interfaceEmbeddableSource- Returns:
trueindicates that the composition is represented as a Map;falseindicates there is a dedicated class for representing the composition.
-
isUnique
public boolean isUnique()- Specified by:
isUniquein interfaceEmbeddableSource
-
getAttributePathBase
- Specified by:
getAttributePathBasein interfaceAttributeSourceContainer
-
getAttributeRoleBase
- Specified by:
getAttributeRoleBasein interfaceAttributeSourceContainer
-
attributeSources
Description copied from interface:AttributeSourceContainerObtain this container's attribute sources.- Specified by:
attributeSourcesin interfaceAttributeSourceContainer- Returns:
- The attribute sources.
-
getLocalMetadataBuildingContext
Description copied from interface:AttributeSourceContainerObtain the local binding context associated with this container.- Specified by:
getLocalMetadataBuildingContextin interfaceAttributeSourceContainer- Returns:
- The local binding context
-
getToolingHintContext
- Specified by:
getToolingHintContextin interfaceToolingHintContextContainer
-