com.citra.pivot.olap.metadata.impl
Class OlapLevelImpl
java.lang.Object
com.citra.pivot.olap.metadata.impl.AbstractOlapObject
com.citra.pivot.olap.metadata.impl.OlapLevelImpl
- All Implemented Interfaces:
- OlapLevel, OlapObject
public class OlapLevelImpl
- extends AbstractOlapObject
- implements OlapLevel
OlapLevelImpl is a modifiable OlapLevel implementation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hierarchy
protected OlapHierarchyImpl hierarchy
- the level's hierarchy
OlapLevelImpl
public OlapLevelImpl(String name,
String id,
String caption,
String description,
OlapHierarchyImpl hierarchy)
- Constructs an OlapLevelImpl.
getHierarchy
public OlapHierarchy getHierarchy()
- Retrieves the hierarchy that this level belongs to.
- Specified by:
getHierarchy
in interface OlapLevel
- Returns:
- the level's hierarchy
setHierarchy
public void setHierarchy(OlapHierarchyImpl hierarchy)
- Assigns the hierarchy of this level.
- Parameters:
hierarchy
- the hierarchy to assign