|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javatools.db.DbConstraint
|
+--medi.db.constraint.FKContainer
Represents the constraint for CONTAINER table.
| Field Summary |
| Constructor Summary | |
FKContainer(DbAbstractTable tbl)
Creates new FKContainer |
|
| Method Summary | |
void |
check(int operation)
Checks if the specified operation can be made. |
void |
setVolumeTable(Volume vol,
int index)
Sets the Volume table. |
int |
update(int operation)
Checks (if automatic checking is set) and updates, performing the operation. |
| Methods inherited from class javatools.db.DbConstraint |
build, checkChildren, checkFathers, checkThis, clear, clone, getAutomaticChecking, getConstraintEmulation, getDefaultValues, getDeleteOperation, getFatherColumns, getFatherTable, getFatherTablesCount, getRefColumns, getSonFatherIndex, getSonTable, getSonTablesCount, getTable, getUpdateOperation, initLists, initStaticLists, setAutomaticChecking, setConstraintEmulation, setSelector, setValueLists, setWhere, updateThis |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FKContainer(DbAbstractTable tbl)
tbl - The Container table to use.| Method Detail |
public void setVolumeTable(Volume vol,
int index)
vol - The Volume table.index - How "Volume" table references this table?
public void check(int operation)
throws DbException
check in class DbConstraintoperation - The operation to do.
DbException - If something goes wrong.
public int update(int operation)
throws DbException
update in class DbConstraintoperation - The operation to do.
execute() method.
DbException - If something goes wrong.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||