|
||||||||||
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.FKGenre
Represents the constraint for GENRE table.
Field Summary |
Constructor Summary | |
FKGenre()
Creates new FKGenre |
|
FKGenre(DbAbstractTable tbl)
Creates new FKGenre. |
Method Summary | |
void |
check(int operation)
Checks if the specified operation can be made. |
void |
setMarksTable(Marks tbl,
int index)
Sets the Marks 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 FKGenre() throws DbException
DbException
- If something goes wrong.public FKGenre(DbAbstractTable tbl) throws DbException
tbl
- The Genre table to use.
DbException
- If something goes wrong.Method Detail |
public void setMarksTable(Marks tbl, int index)
tbl
- The Marks table to use.index
- How does this "Marks" table reference this table?public void check(int operation) throws DbException
check
in class DbConstraint
operation
- The operation to do.
DbException
- If something goes wrong.public int update(int operation) throws DbException
update
in class DbConstraint
operation
- 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 |