public interface SecondaryTableSource extends ForeignKeyContributingSource
Modifier and Type | Method and Description |
---|---|
String |
getComment() |
CustomSql |
getCustomSqlDelete()
Obtain the custom SQL to be used for deletes for this entity
|
CustomSql |
getCustomSqlInsert()
Obtain the custom SQL to be used for inserts for this entity
|
CustomSql |
getCustomSqlUpdate()
Obtain the custom SQL to be used for updates for this entity
|
FetchStyle |
getFetchStyle() |
String |
getLogicalTableNameForContainedColumns() |
List<ColumnSource> |
getPrimaryKeyColumnSources()
Retrieves the columns defines as making up this secondary tables primary key.
|
TableSpecificationSource |
getTableSource()
Obtain the table being joined to.
|
boolean |
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?
|
boolean |
isInverse() |
boolean |
isOptional() |
createForeignKeyConstraint, getExplicitForeignKeyName
TableSpecificationSource getTableSource()
List<ColumnSource> getPrimaryKeyColumnSources()
ForeignKeyContributingSource
aspect of this contract.String getLogicalTableNameForContainedColumns()
String getComment()
FetchStyle getFetchStyle()
boolean isInverse()
boolean isOptional()
boolean isCascadeDeleteEnabled()
ForeignKeyContributingSource
isCascadeDeleteEnabled
in interface ForeignKeyContributingSource
true
, if the cascade delete is enabled; false
, otherwise.CustomSql getCustomSqlInsert()
CustomSql getCustomSqlUpdate()
CustomSql getCustomSqlDelete()
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.