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

public Interface PluralAttributeKeySource

extends ForeignKeyContributingSource, RelationalValueSourceContainer
Known Direct Implementers
org.hibernate.boot.model.source.internal.hbm.PluralAttributeKeySourceImpl

Describes the source mapping of plural-attribute (collection) foreign-key information.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public String
public boolean
Inherited from org.hibernate.boot.model.source.spi.ForeignKeyContributingSource:
createForeignKeyConstraintgetExplicitForeignKeyName
Inherited from org.hibernate.boot.model.source.spi.RelationalValueSourceContainer:
getRelationalValueSources

Method Detail

getReferencedPropertyNameback to summary
public String getReferencedPropertyName()
isCascadeDeleteEnabledback to summary
public boolean isCascadeDeleteEnabled()

Redeclares org.hibernate.boot.model.source.spi.ForeignKeyContributingSource.isCascadeDeleteEnabled.

Doc from org.hibernate.boot.model.source.spi.ForeignKeyContributingSource.isCascadeDeleteEnabled.

Is "cascade delete" enabled for the foreign key? In other words, if a record in the parent (referenced) table is deleted, should the corresponding records in the child table automatically be deleted?

Returns:boolean

true, if the cascade delete is enabled; false, otherwise.