KickJava   Java API By Example, From Geeks To Geeks.

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


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.DoubleExpr;
16 import com.tonbeller.jpivot.olap.model.Visitor;
17
18 public class DoubleExprImpl implements DoubleExpr {
19
20   private double value;
21   public DoubleExprImpl(){
22   }
23
24   public DoubleExprImpl(double value){
25     this.value=value;
26   }
27
28   public double getValue() {
29     return value;
30   }
31
32   public void setValue(double d) {
33     value = d;
34   }
35   public void accept(Visitor visitor) {
36     visitor.visitDoubleExpr(this);
37   }
38
39 }
40
Popular Tags