Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.pivot.table
Class TableLevel

java.lang.Object
  extended by com.citra.pivot.table.AbstractTableObject
      extended by com.citra.pivot.table.TableLevel
All Implemented Interfaces:
OlapLevel, OlapObject

public class TableLevel
extends AbstractTableObject
implements OlapLevel

TableLevel is the the concrete OlapLevel implementation for the table datasource.


Field Summary
protected  TableContext context
          the level's context
protected  TableHierarchy hierarchy
          the level's hierarchy
 
Fields inherited from class com.citra.pivot.table.AbstractTableObject
caption, description, id, name
 
Method Summary
 TableContext getContext()
          Retrieves the context of the level.
 OlapHierarchy getHierarchy()
          Retrieves the hierarchy that this level belongs to.
 void setContext(TableContext context)
          Assigns the context of the level.
 
Methods inherited from class com.citra.pivot.table.AbstractTableObject
getCaption, getCaption, getDescription, getDescription, getID, getName, setCaption, setCaption, setDescription, setDescription, 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

context

protected TableContext context
the level's context


hierarchy

protected TableHierarchy hierarchy
the level's hierarchy

Method Detail

getContext

public TableContext getContext()
Retrieves the context of the level.

Returns:
the level's context

getHierarchy

public OlapHierarchy getHierarchy()
Retrieves the hierarchy that this level belongs to.

Specified by:
getHierarchy in interface OlapLevel
Returns:
the level's hierarchy

setContext

public void setContext(TableContext context)
Assigns the context of the level.

Parameters:
context - the level's context

Copyright © 2011 Citra Technologies. All Rights Reserved.