|
|||||||||||||||||||
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 | |||||||||||||||
ASTDropTable.java | - | 0% | 0% | 0% |
|
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 | 0 |
public ASTDropTable(int id) { |
11 | 0 |
super(id);
|
12 |
} |
|
13 |
|
|
14 | 0 |
public ASTDropTable( MobisnapSQL p, int i) { |
15 | 0 |
super( p, i);
|
16 | 0 |
id = i; |
17 |
} |
|
18 |
|
|
19 |
/** Accept the visitor. **/
|
|
20 | 0 |
public Object jjtAccept(MobisnapSQLVisitor visitor, Object data) {
|
21 | 0 |
return visitor.visit(this, data); |
22 |
} |
|
23 |
|
|
24 | 0 |
public void process( int msql_type) throws Exception { |
25 | 0 |
StringBuffer buffer = new StringBuffer();
|
26 | 0 |
sourceCode( msql_type, buffer); |
27 | 0 |
MobisnapSQL.transaction.executeUpdate( buffer.toString().trim()); |
28 |
} |
|
29 |
|
|
30 |
} |
|
31 |
|
|