📄 memberproperties.java
字号:
/*
* ====================================================================
* 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 .
* Copyright (C) 2003-2004 TONBELLER AG.
* All Rights Reserved.
* You must accept the terms of that agreement to use this software.
* ====================================================================
*
*
*/
package com.tonbeller.jpivot.olap.navi;
import com.tonbeller.jpivot.core.Extension;
import com.tonbeller.jpivot.olap.model.Level;
import com.tonbeller.jpivot.olap.model.Member;
import com.tonbeller.jpivot.olap.model.MemberPropertyMeta;
/**
* retrieves the description of the available member properties
* @author av
*/
public interface MemberProperties extends Extension {
/**
* name of the Extension for lookup
*/
static final String ID = "memberProperties";
MemberPropertyMeta[] getMemberPropertyMetas(Level level);
/**
* Properties are either Level scope or Dimension scope.
* Properties are unique within their scope. If scope is level, then
* properties with same name in different levels are treated
* as different Properties.
* If false, the scope will be Dimension.
* @return
*/
boolean isLevelScope();
/**
* returns a string <code>scope</code>
* that represents the scope of Member m.
* The returned String <code>scope</code>
* ensures that <code>scope.equals(MemberPropertyMeta.getScope())</code> is
* true if the property belongs to member m.
*/
String getPropertyScope(Member m);
/**
* sets the visible properties. Optimizing implementations of
* PropertyHolder may only return these properties.
* @see com.tonbeller.jpivot.olap.model.PropertyHolder
*/
void setVisibleProperties(MemberPropertyMeta[] props);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -