fr.lri.bd.olap.dto
Class Correlation

java.lang.Object
  extended by fr.lri.bd.olap.dto.Correlation
All Implemented Interfaces:
Externalizable, Serializable

public class Correlation
extends Object
implements Externalizable

Correlation class is DTO class for correlation class which describes transformation from one schema to other one.

Author:
holubec
See Also:
Serialized Form

Constructor Summary
Correlation(OlapTree tree1, OlapTree tree2)
          Default constructor
 
Method Summary
 void defineCorrelation(edu.uci.ics.jung.graph.Vertex v1, edu.uci.ics.jung.graph.Vertex v2)
          Define transformation between nodes from one schema to second
 OlapTree getCorrTree()
           
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Correlation

public Correlation(OlapTree tree1,
                   OlapTree tree2)
Default constructor

Parameters:
tree1 - first OlapTree class
tree2 - second OlapTree class
Method Detail

defineCorrelation

public void defineCorrelation(edu.uci.ics.jung.graph.Vertex v1,
                              edu.uci.ics.jung.graph.Vertex v2)
Define transformation between nodes from one schema to second

Parameters:
v1 -
v2 -

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

getCorrTree

public OlapTree getCorrTree()
Returns:
correlation OlapTree class for transformation visualization