|
||||||||||
| 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.FKData
Represents the constraint for DATA table.
| Field Summary |
| Constructor Summary | |
FKData(DbAbstractTable tbl)
Creates new FKData. |
|
| Method Summary | |
void |
check(int operation)
Checks if the specified operation can be made. |
void |
setContainsTable(Contains tbl,
int index)
Sets the Contains table. |
void |
setFatherOfTable(FatherOf tbl,
int index)
Sets FatherOf table. |
void |
setFileTypeTable(FileType tbl)
Sets the FileType table to use. |
void |
setIncludesTable(Includes tbl,
int index)
Sets the Includes table. |
void |
setMarksTable(Marks tbl,
int index)
Sets Marks table. |
void |
setPublishedTable(Published tbl,
int index)
Sets the Published table. |
void |
setRealizedTable(Realized tbl,
int index)
Sets Realized 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 FKData(DbAbstractTable tbl)
tbl - The Data table to use.| Method Detail |
public void setFileTypeTable(FileType tbl)
throws DbException
tbl - The FileType table.
DbException - If something goes wrong.
public void setContainsTable(Contains tbl,
int index)
tbl - The Contains table to use.index - How does this "Contains" table reference this table?
public void setFatherOfTable(FatherOf tbl,
int index)
tbl - The FatherOf table to use.index - How does this "FatherOf" table reference this table?
public void setMarksTable(Marks tbl,
int index)
tbl - The Marks table.index - How does this "Marks" table reference this table?
public void setRealizedTable(Realized tbl,
int index)
tbl - The Realized table to use.index - How does this "Realized" table reference this table?
public void setPublishedTable(Published tbl,
int index)
tbl - The Published table to use.index - How does this "Published" table reference this table?
public void setIncludesTable(Includes tbl,
int index)
tbl - The Includes table to use.index - How does this "Includes" table reference 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 | |||||||||