|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.hsqldb.Constraint
Class declaration
Field Summary | |
(package private) static int |
FOREIGN_KEY
|
(package private) static int |
MAIN
|
(package private) static int |
UNIQUE
|
Constructor Summary | |
(package private) |
Constraint(int type,
Table t,
int[] col)
Constructor declaration |
(package private) |
Constraint(int type,
Table main,
Table ref,
int[] cmain,
int[] cref)
Constructor declaration |
Method Summary | |
(package private) void |
checkDelete(java.lang.Object[] row)
Method declaration |
(package private) void |
checkInsert(java.lang.Object[] row)
Method declaration |
(package private) void |
checkUpdate(int[] col,
Result deleted,
Result inserted)
Method declaration |
(package private) Table |
getMain()
Method declaration |
(package private) int[] |
getMainColumns()
Method declaration |
(package private) Table |
getRef()
Method declaration |
(package private) int[] |
getRefColumns()
Method declaration |
(package private) int |
getType()
Method declaration |
(package private) void |
replaceTable(Table old,
Table n)
Method declaration |
Methods inherited from class java.lang.Object |
|
Field Detail |
static final int FOREIGN_KEY
static final int MAIN
static final int UNIQUE
Constructor Detail |
Constraint(int type, Table t, int[] col)
type
- t
- col
- Constraint(int type, Table main, Table ref, int[] cmain, int[] cref) throws java.sql.SQLException
type
- main
- ref
- cmain
- cref
- Method Detail |
int getType()
Table getMain()
Table getRef()
int[] getMainColumns()
int[] getRefColumns()
void replaceTable(Table old, Table n) throws java.sql.SQLException
old
- n
- void checkInsert(java.lang.Object[] row) throws java.sql.SQLException
row
- void checkDelete(java.lang.Object[] row) throws java.sql.SQLException
row
- void checkUpdate(int[] col, Result deleted, Result inserted) throws java.sql.SQLException
col
- deleted
- inserted
-
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |