Class TableConstraints.Builder (2.41.0)

public abstract static class TableConstraints.Builder

Inheritance

java.lang.Object > TableConstraints.Builder

Constructors

Builder()

public Builder()

Methods

build()

public abstract TableConstraints build()

Creates a TableConstraints object.

Returns
Type Description
TableConstraints

setForeignKeys(List<ForeignKey> foreignKeys)

public abstract TableConstraints.Builder setForeignKeys(List<ForeignKey> foreignKeys)

The list of foreign keys for the table constraints. *

Parameter
Name Description
foreignKeys List<ForeignKey>
Returns
Type Description
TableConstraints.Builder

setPrimaryKey(PrimaryKey primaryKey)

public abstract TableConstraints.Builder setPrimaryKey(PrimaryKey primaryKey)

The primary key for the table constraints. *

Parameter
Name Description
primaryKey PrimaryKey
Returns
Type Description
TableConstraints.Builder