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
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 ColumnBindingDefaults
areValuesIncludedInInsertByDefault, areValuesIncludedInUpdateByDefault, areValuesNullableByDefaultMethods inherited from interface ForeignKeyContributingSource
createForeignKeyConstraint, getExplicitForeignKeyNameMethods inherited from interface 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.
-