KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tonbeller > jpivot > xmla > XMLA_Quax


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.xmla;
14
15 import org.apache.log4j.Logger;
16
17 import com.tonbeller.jpivot.olap.mdxparse.Exp;
18 import com.tonbeller.jpivot.olap.mdxparse.QueryAxis;
19
20 /**
21  * Quax implementation for XMLA
22  */

23 public class XMLA_Quax extends com.tonbeller.jpivot.olap.query.Quax {
24
25   private XMLA_Model model;
26   private Exp originalSet;
27
28   static Logger logger = Logger.getLogger(XMLA_Quax.class);
29
30   /**
31    * c'tor
32    * @param monQuax
33    */

34   XMLA_Quax(int ordinal, QueryAxis queryAxis, XMLA_Model model) {
35     super(ordinal);
36
37     this.model = model;
38     originalSet = queryAxis.getExp();
39  
40     super.setUti(new XMLA_QuaxUti());
41   }
42
43
44   /**
45    * @return the original set
46    */

47   public Exp getOriginalSet() {
48     return originalSet;
49   }
50
51  
52 } // End XMLA_Quax
53
Popular Tags