|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.db.table.Constraint
public abstract class Constraint
Validity constraints.
| Constructor Summary | |
|---|---|
Constraint()
|
|
| Method Summary | |
|---|---|
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,
Transaction xa)
Tries to validate the constraint. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Constraint()
| Method Detail |
|---|
public void setName(java.lang.String name)
public java.lang.String getName()
public void validate(TableIterator[] rows,
QueryContext contstraint,
Transaction xa)
throws java.sql.SQLException
java.sql.SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||