rdbtoonto.dbmodel
Class ForeignKey

java.lang.Object
  extended by rdbtoonto.dbmodel.Key
      extended by rdbtoonto.dbmodel.ForeignKey

public class ForeignKey
extends Key

ForeignKey derived from Key class. Includes references to the external tables and its primary key (that can be composite).


Constructor Summary
ForeignKey(java.lang.String att, java.util.Vector<PrimaryKey> ekeys, TableDef etab)
           
 
Method Summary
 java.util.Vector<PrimaryKey> getExternalKeys()
           
 TableDef getExternalTable()
           
 java.lang.String toString()
           
 
Methods inherited from class rdbtoonto.dbmodel.Key
getAttribute, getAttributes, isCompositeKey, setAttribute
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ForeignKey

public ForeignKey(java.lang.String att,
                  java.util.Vector<PrimaryKey> ekeys,
                  TableDef etab)
Method Detail

toString

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

getExternalTable

public TableDef getExternalTable()

getExternalKeys

public java.util.Vector<PrimaryKey> getExternalKeys()