java.lang.Object
javatools.db.DbConstraint
medi.db.constraint.FKMarks
- public class FKMarks
- extends javatools.db.DbConstraint
Represents the constraint for MARKS table.
- Version:
- 0.3.0
| Fields inherited from class javatools.db.DbConstraint |
automaticChecking, canDoUpdate, CASCADE, cloned, constraintEmulation, constraints, currentOperation, defaultValues, DELETE_OPERATION, deleteCascadeChildren, deleteOperations, DO_NOTHING, fatherColsChildren, fatherRecords, fatherTables, fatherTablesColumns, fromList, INSERT_OPERATION, intoList, refColsChildren, refColumns, refs, searchSets, selector, SET_DEFAULT, SET_NULL, sonIndexes, sonsWhere, sonTables, table, UPDATE_CASCADE, UPDATE_OPERATION, updateCascadeChildren, updateFromLists, updateIntoLists, updateOperations, where |
| 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 |
FKMarks
public FKMarks()
- Creates new FKMarks.
FKMarks
public FKMarks(javatools.db.DbAbstractTable tbl)
- Creates new FKMarks.
setDataTable
public void setDataTable(medi.db.table.Data tbl)
throws javatools.db.DbException
- Sets the Data table.
setGenreTable
public void setGenreTable(medi.db.table.Genre tbl)
throws javatools.db.DbException
- Sets the Genre table.
check
public void check(int operation)
throws javatools.db.DbException
- Checks if the specified operation can be made.
update
public int update(int operation)
throws javatools.db.DbException
- Checks (if automatic checking is set) and updates, performing the operation.