KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tonbeller > jpivot > olap > navi > MdxQuery


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.navi;
14
15 import com.tonbeller.jpivot.core.Extension;
16 import com.tonbeller.wcf.format.FormatException;
17
18 /**
19  * Lets the user view and modify the mdx
20  *
21  * @author av
22  */

23 public interface MdxQuery extends Extension {
24   /**
25    * name of the Extension for lookup
26    */

27   public static final String JavaDoc ID = "mdxQuery";
28
29   /**
30    * returns the current (valid) mdx query
31    * @return String
32    */

33   String JavaDoc getMdxQuery();
34   
35   /**
36    * sets the mdx from user input
37    * @throws com.tonbeller.wcf.format.FormatException if the syntax is invalid. The internal mdx is not updated in this
38    * case
39    * @param mdxQuery the query to set
40    */

41   void setMdxQuery(String JavaDoc mdxQuery) throws FormatException;
42 }
43
Popular Tags