|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tonbeller.jpivot.core.ModelSupport
com.tonbeller.jpivot.test.olap.TestOlapModel
public class TestOlapModel
Created on 02.12.2002
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.tonbeller.jpivot.olap.model.OlapModel |
|---|
OlapModel.EmptyCubeException, OlapModel.ResultTooLargeException |
| Field Summary |
|---|
| Fields inherited from interface com.tonbeller.wcf.bookmarks.Bookmarkable |
|---|
EXTENSIONAL, INTENSIONAL |
| Constructor Summary | |
|---|---|
TestOlapModel()
|
|
| Method Summary | |
|---|---|
static void |
addProperties(CellImpl c,
int i)
|
void |
collapse0()
collapses top member on rows (for unit tests) |
void |
collapseRow(int positionIndex)
|
void |
destroy()
does nothing |
void |
expand0()
expands top member on rows - gives more interesting result for junit tests. |
void |
expandRow(int positionIndex)
|
java.util.List |
findPositions(Member m)
which positions in the result contain member |
TestAxis[] |
getAxes()
|
TestAxis |
getAxis(int index)
|
Dimension |
getDimension(java.lang.String name)
searches for the named dimension |
Dimension[] |
getDimensions()
|
java.lang.String |
getID()
|
Member[] |
getMeasures()
|
TestDimension |
getMeasuresDim()
|
Result |
getResult()
runs the query and returns the result |
java.lang.Object |
getRootDecoree()
|
TestAxis |
getSlicer()
Returns the slicer. |
int |
indexOf(Axis axis)
|
void |
initialize()
does nothing |
void |
setAxes(TestAxis[] axes)
|
void |
setAxis(int index,
TestAxis axis)
|
void |
setID(java.lang.String ID)
sets an ID string for this model |
void |
setServletContext(javax.servlet.ServletContext servletContext)
store a servlet context to the model |
void |
setSlicer(TestAxis slicer)
Sets the slicer. |
void |
setSlicer(TestMember m)
|
| Methods inherited from class com.tonbeller.jpivot.core.ModelSupport |
|---|
addExtension, addModelChangeListener, fireModelChanged, fireModelChanged, fireStructureChanged, fireStructureChanged, getBookmarkState, getExtension, getExtensions, getLocale, getRootModel, getTopDecorator, removeModelChangeListener, setBookmarkState, setLocale |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.tonbeller.jpivot.core.Model |
|---|
addExtension, addModelChangeListener, getExtension, getExtensions, getRootModel, getTopDecorator, removeModelChangeListener, setLocale |
| Methods inherited from interface com.tonbeller.wcf.bookmarks.Bookmarkable |
|---|
getBookmarkState, setBookmarkState |
| Constructor Detail |
|---|
public TestOlapModel()
| Method Detail |
|---|
public java.lang.String getID()
getID in interface OlapModelpublic void setID(java.lang.String ID)
OlapModel
setID in interface OlapModel
public void setAxis(int index,
TestAxis axis)
public TestAxis getAxis(int index)
public TestAxis[] getAxes()
public void setAxes(TestAxis[] axes)
public int indexOf(Axis axis)
public void setSlicer(TestMember m)
public Result getResult()
throws OlapException
OlapModel
getResult in interface OlapModelOlapExceptionpublic Dimension[] getDimensions()
getDimensions in interface OlapModelOlapModel.getDimensions()public Member[] getMeasures()
getMeasures in interface OlapModelOlapModel.getMeasures()public Dimension getDimension(java.lang.String name)
public java.util.List findPositions(Member m)
public static void addProperties(CellImpl c,
int i)
public void expand0()
public void expandRow(int positionIndex)
public void collapse0()
public void collapseRow(int positionIndex)
public TestAxis getSlicer()
public void setSlicer(TestAxis slicer)
slicer - The slicer to setpublic java.lang.Object getRootDecoree()
public void initialize()
initialize in interface OlapModelpublic void destroy()
destroy in interface OlapModeldestroy in class ModelSupportpublic TestDimension getMeasuresDim()
public void setServletContext(javax.servlet.ServletContext servletContext)
OlapModel
setServletContext in interface OlapModel
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||