KickJava   Java API By Example, From Geeks To Geeks.

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


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