@Module public abstract class Constraint extends java.lang.Object
Constructor and Description |
---|
Constraint() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Gets an identifier for the constraint.
|
void |
setName(java.lang.String name)
Sets an identifier for the constraint.
|
void |
validate(TableIterator[] rows,
QueryContext contstraint,
DbTransaction xa)
Tries to validate the constraint.
|
public void setName(java.lang.String name)
public java.lang.String getName()
public void validate(TableIterator[] rows, QueryContext contstraint, DbTransaction xa) throws java.sql.SQLException
java.sql.SQLException