Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.pivot.olap.metadata.impl
Class OlapLevelImpl

java.lang.Object
  extended by com.citra.pivot.olap.metadata.impl.AbstractOlapObject
      extended by 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.


Field Summary
protected  OlapHierarchyImpl hierarchy
          the level's hierarchy
 
Fields inherited from class com.citra.pivot.olap.metadata.impl.AbstractOlapObject
caption, description, id, name
 
Constructor Summary
OlapLevelImpl(String name, String id, String caption, String description, OlapHierarchyImpl hierarchy)
          Constructs an OlapLevelImpl.
 
Method Summary
 OlapHierarchy getHierarchy()
          Retrieves the hierarchy that this level belongs to.
 void setHierarchy(OlapHierarchyImpl hierarchy)
          Assigns the hierarchy of this level.
 
Methods inherited from class com.citra.pivot.olap.metadata.impl.AbstractOlapObject
getCaption, getDescription, getID, getName, setCaption, setDescription, setID, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.citra.pivot.olap.metadata.OlapObject
getCaption, getDescription, getID, getName
 

Field Detail

hierarchy

protected OlapHierarchyImpl hierarchy
the level's hierarchy

Constructor Detail

OlapLevelImpl

public OlapLevelImpl(String name,
                     String id,
                     String caption,
                     String description,
                     OlapHierarchyImpl hierarchy)
Constructs an OlapLevelImpl.

Method Detail

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

Copyright © 2011 Citra Technologies. All Rights Reserved.