Interface PluralAttributeKeySource
- All Superinterfaces:
ColumnBindingDefaults,ForeignKeyContributingSource,RelationalValueSourceContainer
- All Known Implementing Classes:
PluralAttributeKeySourceImpl
public interface PluralAttributeKeySource
extends ForeignKeyContributingSource, RelationalValueSourceContainer
Describes the source mapping of plural-attribute (collection) foreign-key information.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIs "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?Methods inherited from interface org.hibernate.boot.model.source.spi.ColumnBindingDefaults
areValuesIncludedInInsertByDefault, areValuesIncludedInUpdateByDefault, areValuesNullableByDefaultMethods inherited from interface org.hibernate.boot.model.source.spi.ForeignKeyContributingSource
createForeignKeyConstraint, getExplicitForeignKeyNameMethods inherited from interface org.hibernate.boot.model.source.spi.RelationalValueSourceContainer
getRelationalValueSources
-
Method Details
-
getReferencedPropertyName
String getReferencedPropertyName() -
isCascadeDeleteEnabled
boolean isCascadeDeleteEnabled()Description copied from interface:ForeignKeyContributingSourceIs "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?- Specified by:
isCascadeDeleteEnabledin interfaceForeignKeyContributingSource- Returns:
true, if the cascade delete is enabled;false, otherwise.
-