1 /* JJT: 0.2.2 */ 2 3 package mobisnap.mobile_trx; 4 5 public class ASTDeleteStatement extends mobisnap.mobile_trx.SimpleNode { 6 public String tableName; 7 public String tableId; 8 public ASTSQLExpression where; 9 public boolean simpleDelete = false; 10 11 public ASTDeleteStatement(int id) { 12 super(id); 13 } 14 15 public ASTDeleteStatement( MobisnapSQL p, int i) { 16 super( p, i); 17 id = i; 18 } 19 20 /*** Accept the visitor. **/ 21 public Object jjtAccept(MobisnapSQLVisitor visitor, Object data) { 22 return visitor.visit(this, data); 23 } 24 25 public void process( int msql_type) throws Exception { 26 StringBuffer buf = new StringBuffer(); 27 sourceCode( msql_type, buf); 28 MobisnapSQL.transaction.executeUpdate( buf.toString().trim()); 29 } 30 31 }

This page was automatically generated by Maven