|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.citra.pivot.table.AbstractTableObject
com.citra.pivot.table.TableHierarchy
public class TableHierarchy
TableHierarchy is the the concrete OlapHierarchy implementation for the table datasource.
Field Summary | |
---|---|
protected OlapMember |
defaultMember
the hierarchy's default member |
protected OlapDimension |
dimension
the hierarchy's dimension |
protected LevelList |
levels
the hierarchy's levels |
Fields inherited from class com.citra.pivot.table.AbstractTableObject |
---|
caption, description, id, name |
Method Summary | |
---|---|
void |
addLevel(TableLevel level)
Adds a level to the hierarchy. |
TableLevel |
createLevel(String name,
int column)
Creates, adds and returns a level to the hierarchy with a given name. |
TableLevel |
createLevel(String name,
TableContext context)
Creates, adds and returns a level to the hierarchy with a given name and context. |
OlapMember |
getDefaultMember()
Retrieves the default member of the hierarchy. |
OlapDimension |
getDimension()
Retrieves the dimension this hierarchy belongs to. |
LevelList |
getLevels()
Retrieves the levels that the hierarchy contains. |
boolean |
hasAll()
Determines whether the hierarchy has an 'all' member. |
void |
insertLevel(TableLevel level,
int index)
Inserts a level to the hierarchy's list of levels at a given location. |
void |
removeLevel(TableLevel level)
Removes a level from the hierarchy. |
void |
setDefaultMember(OlapMember defaultMember)
Assigns the hierarchy's default member. |
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 |
---|
protected OlapDimension dimension
protected LevelList levels
protected OlapMember defaultMember
Method Detail |
---|
public OlapMember getDefaultMember()
getDefaultMember
in interface OlapHierarchy
public OlapDimension getDimension()
getDimension
in interface OlapHierarchy
public LevelList getLevels()
getLevels
in interface OlapHierarchy
public boolean hasAll()
hasAll
in interface OlapHierarchy
public void insertLevel(TableLevel level, int index)
level
- the level to addindex
- the location in the list of levels to which the level is addedpublic void removeLevel(TableLevel level)
level
- the level to removepublic void setDefaultMember(OlapMember defaultMember)
defaultMember
- the member to assign as the defaultpublic void addLevel(TableLevel level)
level
- the level to addpublic TableLevel createLevel(String name, int column)
name
- the level's namecolumn
- the column on which the discovery of members will be based
public TableLevel createLevel(String name, TableContext context)
name
- the level's namecontext
- the level's context
|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |