KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tonbeller > jpivot > olap > model > impl > BooleanExprImpl


1 /*
2  * ====================================================================
3  * This software is subject to the terms of the Common Public License
4  * Agreement, available at the following URL:
5  * http://www.opensource.org/licenses/cpl.html .
6  * Copyright (C) 2003-2004 TONBELLER AG.
7  * All Rights Reserved.
8  * You must accept the terms of that agreement to use this software.
9  * ====================================================================
10  *
11  *
12  */

13 package com.tonbeller.jpivot.olap.model.impl;
14
15 import com.tonbeller.jpivot.olap.model.BooleanExpr;
16 import com.tonbeller.jpivot.olap.model.Visitor;
17
18 public class BooleanExprImpl implements BooleanExpr {
19   private boolean value;
20
21   public BooleanExprImpl() {
22   }
23
24   public BooleanExprImpl(boolean value) {
25     this.value = value;
26   }
27
28   public boolean getValue() {
29     return value;
30   }
31
32   public void setValue(boolean b) {
33     value = b;
34   }
35
36   public void accept(Visitor visitor) {
37     visitor.visitBooleanExpr(this);
38   }
39
40 }
41
Popular Tags