KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tonbeller > jpivot > olap > query > SetExp


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.query;
14
15 import com.tonbeller.jpivot.olap.model.Hierarchy;
16
17 /**
18  * Wrapper for Set Object to be placed on a query axis
19  */

20 public class SetExp {
21   private int mode;
22   private Object JavaDoc oExp;
23   private Hierarchy hier;
24
25   public SetExp(int mode, Object JavaDoc oExp, Hierarchy hier) {
26     this.mode = mode;
27     this.oExp = oExp;
28     this.hier = hier;
29   }
30
31   /**
32    * @return
33    */

34   public Hierarchy getHier() {
35     return hier;
36   }
37
38   /**
39    * @return
40    */

41   public int getMode() {
42     return mode;
43   }
44
45   /**
46    * @return
47    */

48   public Object JavaDoc getOExp() {
49     return oExp;
50   }
51
52 } // SetExp
53
Popular Tags