Top Description Methods
org.hibernate.boot.model.source.spi

public Interface EmbeddableSource

extends AttributeSourceContainer
Known Direct Implementers
org.hibernate.boot.model.source.internal.hbm.EmbeddableSourceImpl, org.hibernate.boot.model.source.internal.hbm.EmbeddableSourceVirtualImpl, org.hibernate.boot.model.source.internal.hbm.IdClassSource, org.hibernate.boot.model.source.internal.hbm.IdentifierSourceNonAggregatedCompositeImpl
Imports
org.hibernate.boot.model.JavaTypeDescriptor

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.

Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public String
public JavaTypeDescriptor
public boolean

Returns:

true indicates that the composition is represented as a Map; false indicates there is a dedicated class for representing the composition.
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.spi.AttributeSourceContainer:
attributeSourcesgetAttributePathBasegetAttributeRoleBasegetLocalMetadataBuildingContext

Method Detail

getParentReferenceAttributeNameback to summary
public String getParentReferenceAttributeName()
getTypeDescriptorback to summary
public JavaTypeDescriptor getTypeDescriptor()
isDynamicback to summary
public boolean 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.

isUniqueback to summary
public boolean isUnique()