public class Constraint extends Object
| Constructor and Description |
|---|
Constraint(String name,
ConstraintType type,
String condition) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String columnName) |
boolean |
contains(String columnName) |
String |
getCondition() |
String |
getConstraintName() |
ConstraintType |
getType() |
boolean |
isPrimaryKey() |
public Constraint(String name, ConstraintType type, String condition)
public String getConstraintName()
public void add(String columnName)
public boolean contains(String columnName)
public boolean isPrimaryKey()
public String getCondition()
public ConstraintType getType()
Copyright © 2007–2018 Andreas W. Bartels. All rights reserved.