Clover coverage report - Replica - 1.0-Alpha
Coverage timestamp: Dom Fev 1 2004 17:00:58 WET
file stats: LOC: 43   Methods: 5
NCLOC: 31   Classes: 1
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
ASTInsertStatement.java - 0% 0% 0%
coverage
 1   
 /* JJT:    0.2.2 */
 2   
 
 3   
 package    mobisnap.mobile_trx;
 4   
 
 5   
 import java.util.*;
 6   
 
 7   
 public class ASTInsertStatement extends mobisnap.mobile_trx.SimpleNode {
 8   
     public ASTTableReference table;
 9   
     public Vector values;            // list of ASTPlSqlExpression
 10   
     public Vector columns;            // list of ASTTableColumn
 11   
     public boolean simpleInsert = true;
 12   
     
 13  0
     public ASTInsertStatement(int id) {
 14  0
         super(id);
 15  0
         values = new Vector();
 16  0
         columns = new Vector();
 17   
     }
 18   
 
 19  0
     public ASTInsertStatement( MobisnapSQL p, int i) {
 20  0
         super( p, i);
 21  0
         id = i;
 22  0
         values = new Vector();
 23  0
         columns = new Vector();
 24   
     }
 25   
     
 26   
     /** Accept the visitor. **/
 27  0
     public Object jjtAccept(MobisnapSQLVisitor visitor, Object data) {
 28  0
         return visitor.visit(this, data);
 29   
     }
 30   
     
 31  0
     public void addColumn( ASTTableColumn col ){
 32  0
         columns.addElement(col);
 33   
     }
 34   
     
 35  0
     public void process( int msql_type) throws Exception {
 36  0
         StringBuffer buf = new StringBuffer();
 37  0
         buf.setLength( 0);
 38  0
         sourceCode( msql_type, buf);
 39  0
         MobisnapSQL.transaction.executeUpdate( buf.toString().trim());
 40   
     }
 41   
 
 42   
 }
 43