KickJava   Java API By Example, From Geeks To Geeks.

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


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