KickJava   Java API By Example, From Geeks To Geeks.

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


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 WhenThen {
14   private final Expression when;
15   private final Expression then;
16
17   /**
18    * @param when
19    * @param then
20    */

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

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

34   public Expression getWhen() {
35     return when;
36   }
37 }
38
Popular Tags