Interface ForeignKeyConstraint.OptionsOrBuild
- All Known Implementing Classes:
ForeignKeyConstraint.ForeignKeyConstraintBuilder
- Enclosing class:
- ForeignKeyConstraint
public static interface ForeignKeyConstraint.OptionsOrBuild
The
Options
and building part of building a ForeignKeyConstraint
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds a newForeignKeyConstraint
using the set parametersonDelete
(SQLReferenceOption onDeleteOption) onUpdate
(SQLReferenceOption onUpdateOption)
-
Method Details
-
onDelete
- Parameters:
onDeleteOption
- Thereference option
for on delete- Returns:
- this, to continue building
-
onUpdate
- Parameters:
onUpdateOption
- Thereference option
for on update- Returns:
- this, to continue building
-
build
ForeignKeyConstraint build()Builds a newForeignKeyConstraint
using the set parameters- Returns:
- The newly built
ForeignKeyConstraint
-