Raccoon.SE
Class PVRelation

java.lang.Object
  extended byRaccoon.SE.PVRelation
All Implemented Interfaces:
java.io.Serializable

public class PVRelation
extends java.lang.Object
implements java.io.Serializable

both instances and schema of a table

Author:
Qi Zhong
See Also:
Serialized Form

Field Summary
static MappingAlgorithm alg
           
static double ATTR_THRESHHOLD
           
static double TABLE_THRESHHOLD
           
 
Constructor Summary
PVRelation()
           
PVRelation(PVSchema newSch, PVInstance newInst)
           
 
Method Summary
 AttributeMappingAnswer attributeMapping(PVRelation targetRelation)
           
 java.util.Vector getAllValues()
           
 PVAttribute getAttribute(int i)
           
 java.lang.String getAttrName(int i)
           
 int getAttrNum()
           
 java.lang.String getAttrtype(int i)
           
 java.util.Vector getAttrValue(java.lang.String attrName)
           
 PVInstance getInst()
           
 java.lang.String getRelFullName()
           
 PVSchema getSchema()
           
 boolean match(PVRelation relation)
           
 void setInst(PVInstance newInst)
           
 void setSchema(PVSchema newSchema)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TABLE_THRESHHOLD

public static double TABLE_THRESHHOLD

ATTR_THRESHHOLD

public static double ATTR_THRESHHOLD

alg

public static MappingAlgorithm alg
Constructor Detail

PVRelation

public PVRelation()

PVRelation

public PVRelation(PVSchema newSch,
                  PVInstance newInst)
Method Detail

getSchema

public PVSchema getSchema()

getInst

public PVInstance getInst()

setInst

public void setInst(PVInstance newInst)

setSchema

public void setSchema(PVSchema newSchema)

getAttrValue

public java.util.Vector getAttrValue(java.lang.String attrName)

getAttribute

public PVAttribute getAttribute(int i)

getAttrNum

public int getAttrNum()

getAttrName

public java.lang.String getAttrName(int i)

getAttrtype

public java.lang.String getAttrtype(int i)

getAllValues

public java.util.Vector getAllValues()

match

public boolean match(PVRelation relation)

attributeMapping

public AttributeMappingAnswer attributeMapping(PVRelation targetRelation)

getRelFullName

public java.lang.String getRelFullName()