fr.lri.bd.olap.dto
Class OlapTree

java.lang.Object
  extended by fr.lri.bd.olap.dto.OlapTree
Direct Known Subclasses:
Datamart

public class OlapTree
extends Object

Olap tree class represents a Olap tree schema of the application

Author:
holubec

Constructor Summary
OlapTree(DBPool pool, edu.uci.ics.jung.graph.Graph graph, edu.uci.ics.jung.graph.Vertex root)
          Default constructor.
OlapTree(String name)
          Simple constructor
 
Method Summary
 DBPool getDBPool()
           
 edu.uci.ics.jung.graph.Graph getGraph()
           
 edu.uci.ics.jung.visualization.Layout getLayout()
           
 String getName()
           
 edu.uci.ics.jung.graph.Vertex getRoot()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OlapTree

public OlapTree(String name)
Simple constructor

Parameters:
name - name of the Olap tree

OlapTree

public OlapTree(DBPool pool,
                edu.uci.ics.jung.graph.Graph graph,
                edu.uci.ics.jung.graph.Vertex root)
Default constructor. Initializes standard variables and also default (KKLayout) of the graph visualization.

Parameters:
pool - pool of database connections
graph - graph representation (jung)
root - root vertex of graph
Method Detail

getGraph

public edu.uci.ics.jung.graph.Graph getGraph()
Returns:
jung graph class

getRoot

public edu.uci.ics.jung.graph.Vertex getRoot()
Returns:
root vertex

getLayout

public edu.uci.ics.jung.visualization.Layout getLayout()
Returns:
layout of graph

getName

public String getName()
Returns:
name of this Olap tree

getDBPool

public DBPool getDBPool()
Returns:
pool of database connections