1 /* JJT: 0.2.2 */
2
3 package mobisnap.mobile_trx;
4
5 /***
6 * Creates table
7 *
8 */
9 public class ASTDropTable extends mobisnap.mobile_trx.SimpleNode {
10 public ASTDropTable(int id) {
11 super(id);
12 }
13
14 public ASTDropTable( MobisnapSQL p, int i) {
15 super( p, i);
16 id = i;
17 }
18
19 /*** Accept the visitor. **/
20 public Object jjtAccept(MobisnapSQLVisitor visitor, Object data) {
21 return visitor.visit(this, data);
22 }
23
24 public void process( int msql_type) throws Exception {
25 StringBuffer buffer = new StringBuffer();
26 sourceCode( msql_type, buffer);
27 MobisnapSQL.transaction.executeUpdate( buffer.toString().trim());
28 }
29
30 }
This page was automatically generated by Maven