DSRG.MKB
Class PCConstraint

java.lang.Object
  |
  +--DSRG.MKB.PCConstraint

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

See Also:
Serialized Form

Field Summary
 boolean Derived
           
 int IterationNum
           
private  java.lang.String myExt
           
private  java.util.Vector myPC_Pairs
           
private  Relation myR1
           
private  Relation myR2
           
(package private)  boolean reverse
           
 
Constructor Summary
PCConstraint(Relation R1, Relation R2, java.lang.String Ext)
           
 
Method Summary
 boolean addPair(Attribute A1, Attribute A2)
           
 boolean addPair(java.util.Vector PCP)
           
 boolean deletePCConstraint()
           
 void displayAll()
           
 boolean Empty()
           
 java.lang.String getExtent()
           
 java.util.Vector getPCPairs()
           
 java.util.Vector getR1_Attributes()
           
 Relation getR1()
           
 java.util.Vector getR2_Attributes()
           
 Relation getR2()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

myR1

private Relation myR1

myR2

private Relation myR2

myExt

private java.lang.String myExt

myPC_Pairs

private java.util.Vector myPC_Pairs

reverse

boolean reverse

IterationNum

public int IterationNum

Derived

public boolean Derived
Constructor Detail

PCConstraint

public PCConstraint(Relation R1,
                    Relation R2,
                    java.lang.String Ext)
Method Detail

deletePCConstraint

public boolean deletePCConstraint()

Empty

public boolean Empty()

displayAll

public void displayAll()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

addPair

public boolean addPair(java.util.Vector PCP)

addPair

public boolean addPair(Attribute A1,
                       Attribute A2)

getR1

public Relation getR1()

getR2

public Relation getR2()

getExtent

public java.lang.String getExtent()

getPCPairs

public java.util.Vector getPCPairs()

getR1_Attributes

public java.util.Vector getR1_Attributes()

getR2_Attributes

public java.util.Vector getR2_Attributes()