ca.sqlpower.wabit.swingui.tree
Class WorkspaceTreeModel.Olap4jTreeObject
java.lang.Object
ca.sqlpower.wabit.swingui.tree.WorkspaceTreeModel.Olap4jTreeObject
- Enclosing class:
- WorkspaceTreeModel
public class WorkspaceTreeModel.Olap4jTreeObject
- extends java.lang.Object
This is a class which wraps around every tree object
|
Constructor Summary |
WorkspaceTreeModel.Olap4jTreeObject(java.lang.Object olapObject)
This is a class which wraps around an Olap4jObject in the tree, since all Olap4j objects
don't decend from a particular interface it is tedious and in some cases impossible to get
the OlapConnection object from just a general Olap4j object (and impossible to do
so when dealing with certain query objects, ex. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WorkspaceTreeModel.Olap4jTreeObject
public WorkspaceTreeModel.Olap4jTreeObject(java.lang.Object olapObject)
- This is a class which wraps around an Olap4jObject in the tree, since all Olap4j objects
don't decend from a particular interface it is tedious and in some cases impossible to get
the
OlapConnection object from just a general Olap4j object (and impossible to do
so when dealing with certain query objects, ex. Dimension, Measures). The reason we need
this OlapConnection is because the Olap4jTreeModel is a complicated entity so
we want to just delegate to it, we do this by having a map of OlapConnections to
Olap4jTreeModel's.
- Parameters:
olapObject - The WorkspaceTreeModel.Olap4jTreeObject being wrapped around.
getParent
public java.lang.Object getParent()
setParent
public void setParent(java.lang.Object parent)
getOlapObject
public java.lang.Object getOlapObject()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2009. All Rights Reserved.