Interface PluralAttributeKeySource
-
- All Superinterfaces:
ColumnBindingDefaults,ForeignKeyContributingSource,RelationalValueSourceContainer
public interface PluralAttributeKeySource extends ForeignKeyContributingSource, RelationalValueSourceContainer
Describes the source mapping of plural-attribute (collection) foreign-key information.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetReferencedPropertyName()booleanisCascadeDeleteEnabled()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?-
Methods inherited from interface org.hibernate.boot.model.source.spi.ColumnBindingDefaults
areValuesIncludedInInsertByDefault, areValuesIncludedInUpdateByDefault, areValuesNullableByDefault
-
Methods inherited from interface org.hibernate.boot.model.source.spi.ForeignKeyContributingSource
createForeignKeyConstraint, getExplicitForeignKeyName
-
Methods inherited from interface org.hibernate.boot.model.source.spi.RelationalValueSourceContainer
getRelationalValueSources
-
-
-
-
Method Detail
-
getReferencedPropertyName
java.lang.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.
-
-