Class EmbeddableSourceImpl
- java.lang.Object
-
- org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
-
- org.hibernate.boot.model.source.internal.hbm.EmbeddableSourceImpl
-
- All Implemented Interfaces:
AttributeSourceContainer,EmbeddableSource,ToolingHintContextContainer
public class EmbeddableSourceImpl extends AbstractHbmSourceNode implements EmbeddableSource
-
-
Constructor Summary
Constructors Constructor Description EmbeddableSourceImpl(MappingDocument mappingDocument, EmbeddableSourceContainer container, EmbeddableMapping jaxbEmbeddableMapping, List attributeMappings, boolean isDynamic, boolean isUnique, String logicalTableName, NaturalIdMutability naturalIdMutability)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AttributeSource>attributeSources()Obtain this container's attribute sources.AttributePathgetAttributePathBase()AttributeRolegetAttributeRoleBase()LocalMetadataBuildingContextgetLocalMetadataBuildingContext()Obtain the local binding context associated with this container.StringgetParentReferenceAttributeName()ToolingHintContextgetToolingHintContext()JavaTypeDescriptorgetTypeDescriptor()booleanisDynamic()Indicates 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 Detail
-
EmbeddableSourceImpl
public EmbeddableSourceImpl(MappingDocument mappingDocument, EmbeddableSourceContainer container, EmbeddableMapping jaxbEmbeddableMapping, List attributeMappings, boolean isDynamic, boolean isUnique, String logicalTableName, NaturalIdMutability naturalIdMutability)
-
-
Method Detail
-
getTypeDescriptor
public JavaTypeDescriptor getTypeDescriptor()
- Specified by:
getTypeDescriptorin interfaceEmbeddableSource
-
getParentReferenceAttributeName
public String 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
public AttributePath getAttributePathBase()
- Specified by:
getAttributePathBasein interfaceAttributeSourceContainer
-
getAttributeRoleBase
public AttributeRole getAttributeRoleBase()
- Specified by:
getAttributeRoleBasein interfaceAttributeSourceContainer
-
attributeSources
public List<AttributeSource> attributeSources()
Description copied from interface:AttributeSourceContainerObtain this container's attribute sources.- Specified by:
attributeSourcesin interfaceAttributeSourceContainer- Returns:
- The attribute sources.
-
getLocalMetadataBuildingContext
public LocalMetadataBuildingContext getLocalMetadataBuildingContext()
Description copied from interface:AttributeSourceContainerObtain the local binding context associated with this container.- Specified by:
getLocalMetadataBuildingContextin interfaceAttributeSourceContainer- Returns:
- The local binding context
-
getToolingHintContext
public ToolingHintContext getToolingHintContext()
- Specified by:
getToolingHintContextin interfaceToolingHintContextContainer
-
-