|
|||||||||||||||||||
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
ASTDeleteStatement.java | - | 0% | 0% | 0% |
|
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 | 0 |
public ASTDeleteStatement(int id) { |
12 | 0 |
super(id);
|
13 |
} |
|
14 |
|
|
15 | 0 |
public ASTDeleteStatement( MobisnapSQL p, int i) { |
16 | 0 |
super( p, i);
|
17 | 0 |
id = i; |
18 |
} |
|
19 |
|
|
20 |
/** Accept the visitor. **/
|
|
21 | 0 |
public Object jjtAccept(MobisnapSQLVisitor visitor, Object data) {
|
22 | 0 |
return visitor.visit(this, data); |
23 |
} |
|
24 |
|
|
25 | 0 |
public void process( int msql_type) throws Exception { |
26 | 0 |
StringBuffer buf = new StringBuffer();
|
27 | 0 |
sourceCode( msql_type, buf); |
28 | 0 |
MobisnapSQL.transaction.executeUpdate( buf.toString().trim()); |
29 |
} |
|
30 |
|
|
31 |
} |
|
32 |
|
|