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; 14 15 16 17 /** 18 * Hierarchy of a dimension 19 * @see Dimension 20 * @author av 21 */ 22 public interface Hierarchy extends Expression, Displayable, Visitable, Decorator { 23 /** 24 * get the Dimension to which this Hierarchy belongs. 25 */ 26 Dimension getDimension(); 27 28 /** 29 * get the Levels of this Hierarchy. Returns null, if this is a ragged hierarchy 30 * that does not support levels. 31 */ 32 Level[] getLevels(); 33 34 boolean hasAll(); 35 } 36