View Javadoc
1 /* 2 * Created on 2003-6-6 16:42:06 by joel guo 3 * 4 * vTradEx Information Technology Inc. 5 */ 6 package com.cyclops.dbdigger.sql; 7 import com.cyclops.dbdigger.schema.Table; 8 /*** Add description <font color="red">HERE</font>! 9 * 10 * @author <a href="mailto:joeblack.guo@vtradex.com">joel guo</a> 11 * @since 2003-6-6 16:42:06 12 */ 13 public class Delete extends SQL { 14 /*** Empty delete array (*/ 15 public static final Delete[] EMPTY_ARRAY = new Delete[0]; 16 /*** Delete sql keyword */ 17 public static final String OPERATION = "DELETE"; 18 private Table from; 19 private Condition where; 20 /*** Constructor of class Delete 21 * @param fromTable From table object 22 */ 23 public Delete(Table fromTable) { 24 super(OPERATION); 25 from = fromTable; 26 } 27 /*** Method getFrom() 28 * @return From table 29 */ 30 public Table getFrom() { 31 return from; 32 } 33 /*** Method getWhere() 34 * @return Where clause 35 */ 36 public Condition getWhere() { 37 return where; 38 } 39 }

This page was automatically generated by Maven