mondrianjolaplevel.java
来自「数据仓库展示程序」· Java 代码 · 共 50 行
JAVA
50 行
/*
// $Id: //open/mondrian/src/main/mondrian/jolap/MondrianJolapLevel.java#3 $
// This software is subject to the terms of the Common Public License
// Agreement, available at the following URL:
// http://www.opensource.org/licenses/cpl.html.
// (C) Copyright 2002-2005 Kana Software, Inc. and others.
// All Rights Reserved.
// You must accept the terms of that agreement to use this software.
//
// jhyde, Dec 24, 2002
*/
package mondrian.jolap;
import javax.olap.OLAPException;
import javax.olap.metadata.Dimension;
import javax.olap.metadata.Level;
import java.util.Collection;
/**
* Implementation of {@link Level JOLAP Level} based upon a
* {@link mondrian.olap.Level Mondrian Level}.
*
* @author jhyde
* @since Dec 24, 2002
* @version $Id: //open/mondrian/src/main/mondrian/jolap/MondrianJolapLevel.java#3 $
**/
class MondrianJolapLevel extends ClassifierSupport implements Level {
private mondrian.olap.Level level;
private Dimension dimension;
public MondrianJolapLevel(mondrian.olap.Level level, Dimension dimension) {
this.level = level;
this.dimension = dimension;
}
public Collection getHierarchyLevelAssociation() throws OLAPException {
throw new UnsupportedOperationException();
}
public Dimension getDimension() throws OLAPException {
return dimension;
}
public void setDimension(Dimension value) throws OLAPException {
dimension = value;
}
}
// End MondrianJolapLevel.java
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?