KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tonbeller > wcf > param > SqlInExpr


1 package com.tonbeller.wcf.param;
2
3 /**
4  * generates WHERE COLUMN IN ('VALUE-LITERAL-1', ...)
5  * @author av
6  * @since 31.01.2005
7  */

8
9 public class SqlInExpr extends SqlColumnConstraint {
10   Object JavaDoc[] sqlValues;
11   public Object JavaDoc[] getSqlValues() {
12     return sqlValues;
13   }
14   /** @deprecated use setSqlValues() instead */
15   public void setSqlValue(Object JavaDoc[] sqlValues) {
16     this.sqlValues = sqlValues;
17   }
18   public void setSqlValues(Object JavaDoc[] sqlValues) {
19     this.sqlValues = sqlValues;
20   }
21   public void accept(SqlExprVisitor visitor) {
22     visitor.visitSqlInExpr(this);
23   }
24   public Object JavaDoc clone() throws CloneNotSupportedException JavaDoc {
25     SqlInExpr x = (SqlInExpr) super.clone();
26     x.sqlValues = (Object JavaDoc[]) sqlValues.clone();
27     return x;
28   }
29 }
30
Popular Tags