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()
Obtain the table being joined to.
List<ColumnSource> getPrimaryKeyColumnSources()
Retrieves the columns defines as making up this secondary tables primary key. Each entry should have
a corresponding entry in the foreign-key columns described by the ForeignKeyContributingSource
aspect of this contract.
String getLogicalTableNameForContainedColumns()
String getComment()
FetchStyle getFetchStyle()
boolean isInverse()
boolean isOptional()
boolean isCascadeDeleteEnabled()
ForeignKeyContributingSource
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?
isCascadeDeleteEnabled
in interface ForeignKeyContributingSource
true
, if the cascade delete is enabled; false
, otherwise.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
CustomSql getCustomSqlDelete()
Obtain the custom SQL to be used for deletes for this entity
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.