public final class ConstraintModel extends Object
type() is a string (PK / FK / UNIQUE / CHECK / NOT_NULL) so the
model stays forward-compatible with vendor-specific constraint flavors.
| Modifier and Type | Class and Description |
|---|---|
static class |
ConstraintModel.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ConstraintModel.Builder |
builder() |
List<String> |
columns() |
boolean |
equals(Object o) |
int |
hashCode() |
String |
name() |
String |
toString() |
String |
type()
PK / FK / UNIQUE / CHECK / NOT_NULL — string for forward compatibility.
|
public static ConstraintModel.Builder builder()