Class ForeignKey.Builder (2.40.3)

public abstract static class ForeignKey.Builder

Inheritance

java.lang.Object > ForeignKey.Builder

Constructors

Builder()

public Builder()

Methods

build()

public abstract ForeignKey build()

Creates a ForignKey object.

Returns
Type Description
ForeignKey

setColumnReferences(List<ColumnReference> columnReferences)

public abstract ForeignKey.Builder setColumnReferences(List<ColumnReference> columnReferences)

The set of column references for this foreign key. *

Parameter
Name Description
columnReferences List<ColumnReference>
Returns
Type Description
ForeignKey.Builder

setName(String name)

public abstract ForeignKey.Builder setName(String name)

The name of the foreign key. *

Parameter
Name Description
name String
Returns
Type Description
ForeignKey.Builder

setReferencedTable(TableId referencedTable)

public abstract ForeignKey.Builder setReferencedTable(TableId referencedTable)

The table referenced by this foreign key. *

Parameter
Name Description
referencedTable TableId
Returns
Type Description
ForeignKey.Builder