Interface EmbeddableSource
- All Superinterfaces:
AttributeSourceContainer,ToolingHintContextContainer
- All Known Implementing Classes:
EmbeddableSourceImpl,EmbeddableSourceVirtualImpl
Represents the binding source for an "embeddable" (in JPA terms)
or "composite" (in legacy Hibernate terms).
Note that this really models the JPA concept of an Embedded, more than the Embeddable.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether this embeddable/component is dynamic (represented as a Map), or whether a dedicated class for it is available.booleanisUnique()Methods inherited from interface org.hibernate.boot.model.source.spi.AttributeSourceContainer
attributeSources, getAttributePathBase, getAttributeRoleBase, getLocalMetadataBuildingContextMethods inherited from interface org.hibernate.boot.model.source.spi.ToolingHintContextContainer
getToolingHintContext
-
Method Details
-
getTypeDescriptor
JavaTypeDescriptor getTypeDescriptor() -
getParentReferenceAttributeName
String getParentReferenceAttributeName() -
isDynamic
boolean isDynamic()Indicates whether this embeddable/component is dynamic (represented as a Map), or whether a dedicated class for it is available.- Returns:
trueindicates that the composition is represented as a Map;falseindicates there is a dedicated class for representing the composition.
-
isUnique
boolean isUnique()
-