KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > tests > jfun > parsec > mssql > BoolWhenThen


1 /*
2  * Created on 2004-11-15
3  *
4  * Author Ben Yu
5  */

6 package tests.jfun.parsec.mssql;
7
8 /**
9  * @author Ben Yu
10  *
11  * 2004-11-15
12  */

13 public final class BoolWhenThen {
14   private final BoolExpression when;
15   private final Expression then;
16   
17   /**
18    * @param when
19    * @param then
20    */

21   public BoolWhenThen(final BoolExpression when, final Expression then) {
22     this.when = when;
23     this.then = then;
24   }
25   
26   /**
27    * @return Returns the then.
28    */

29   public Expression getThen() {
30     return then;
31   }
32   /**
33    * @return Returns the when.
34    */

35   public BoolExpression getWhen() {
36     return when;
37   }
38 }
39
Popular Tags