Class TableConstraints.Builder (2.38.1)

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
TypeDescription
TableConstraints

setForeignKeys(List<ForeignKey> foreignKeys)

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

The list of foreign keys for the table constraints. *

Parameter
NameDescription
foreignKeysList<ForeignKey>
Returns
TypeDescription
TableConstraints.Builder

setPrimaryKey(PrimaryKey primaryKey)

public abstract TableConstraints.Builder setPrimaryKey(PrimaryKey primaryKey)

The primary key for the table constraints. *

Parameter
NameDescription
primaryKeyPrimaryKey
Returns
TypeDescription
TableConstraints.Builder