Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

medi.db.constraint
Class FKContains  view FKContains download FKContains.java

java.lang.Object
  extended byjavatools.db.DbConstraint
      extended bymedi.db.constraint.FKContains

public class FKContains
extends javatools.db.DbConstraint

Represents the constraint for CONTAINS table.

Version:
0.3.0

Field Summary
 
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
 
Constructor Summary
FKContains()
          Creates new FKContains.
FKContains(javatools.db.DbAbstractTable tbl)
          Creates new FKContains
 
Method Summary
 void check(int operation)
          Checks if the specified operation can be made.
 void setDataTable(medi.db.table.Data tbl)
          Sets the Data table.
 void setSessionTable(medi.db.table.Session tbl)
          Sets the Session 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

FKContains

public FKContains()
Creates new FKContains.


FKContains

public FKContains(javatools.db.DbAbstractTable tbl)
Creates new FKContains

Method Detail

setDataTable

public void setDataTable(medi.db.table.Data tbl)
                  throws javatools.db.DbException
Sets the Data table.


setSessionTable

public void setSessionTable(medi.db.table.Session tbl)
                     throws javatools.db.DbException
Sets the Session 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.