01: /*
02: * JFolder, Copyright 2001-2006 Gary Steinmetz
03: *
04: * Distributable under LGPL license.
05: * See terms of license at gnu.org.
06: */
07:
08: package org.jfolder.platforms.stores.base;
09:
10: //base classes
11: import java.math.BigDecimal;
12: import java.sql.PreparedStatement;
13: import java.sql.ResultSet;
14: import java.sql.SQLException;
15:
16: //project specific classes
17: import org.jfolder.platforms.stores.base.SystemStatement;
18:
19: //other classes
20:
21: public class DeleteStatement extends WhereStatement {
22:
23: private int deleteCount = 0;
24: private CreateStatement wcs = null;
25:
26: protected DeleteStatement(CreateStatement inWcs) {
27: //
28: this .wcs = inWcs;
29: //
30: addToAllTables(inWcs);
31: }
32:
33: public CreateStatement getEntity() {
34: return this .wcs;
35: }
36:
37: //
38: public void setDeleteCount(int inDeleteCount) {
39: this .deleteCount = inDeleteCount;
40: }
41:
42: public int getDeleteCount() {
43: return this.deleteCount;
44: }
45: }
|