KickJava   Java API By Example, From Geeks To Geeks.

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


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 /**
16  * MDX levels have a depth, root level has depth = 0
17  */

18 public interface MDXLevel extends MDXElement {
19   
20   /**
21    * @return the level's depth
22    */

23   public int getDepth();
24
25   /**
26    * @return true, if the level is "All"
27    */

28   public boolean isAll();
29   
30   /**
31    * @return true, if the level is not Bottom level
32    */

33   public boolean hasChildLevel();
34   
35
36 } // MDXLevel
37
Popular Tags