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

Quick Search    Search Deep

javatools.db
Class DbReferencedDeleter  view DbReferencedDeleter download DbReferencedDeleter.java

java.lang.Object
  extended byjavatools.db.DbDeleter
      extended byjavatools.db.DbReferencedDeleter

public class DbReferencedDeleter
extends DbDeleter

It is just a DbDeleter, except in the fact it takes care of constraints.

Version:
0.2.0

Field Summary
 
Fields inherited from class javatools.db.DbDeleter
table, where
 
Constructor Summary
(package private) DbReferencedDeleter(DbAbstractTable table)
          Creates a new DbReferencedDeleter.
 
Method Summary
 int execute()
          Execute this command on the default connection.
 
Methods inherited from class javatools.db.DbDeleter
execute, getQueryString, setWhere
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbReferencedDeleter

DbReferencedDeleter(DbAbstractTable table)
Creates a new DbReferencedDeleter.

Method Detail

execute

public int execute()
            throws DbException
Execute this command on the default connection. Eventually cascades its effects through the table's constraint.

Overrides:
execute in class DbDeleter