com.triactive.jdo.store
Class ForeignKey

java.lang.Object
  extended bycom.triactive.jdo.store.Key
      extended bycom.triactive.jdo.store.ForeignKey

class ForeignKey
extends Key


Field Summary
protected  java.util.ArrayList columns
           
protected  BaseTable table
           
 
Constructor Summary
ForeignKey(boolean initiallyDeferred)
           
ForeignKey(Column col, ClassBaseTable refTable, boolean initiallyDeferred)
           
 
Method Summary
 void addColumn(Column col, Column refCol)
           
protected  void assertSameTable(Column col)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getColumnList()
           
static java.lang.String getColumnList(java.util.Collection cols)
           
 java.util.List getColumns()
           
 BaseTable getTable()
           
 int hashCode()
           
 void setColumn(int seq, Column col, Column refCol)
           
protected static void setMinSize(java.util.List list, int size)
           
 boolean startsWith(Key k)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

table

protected BaseTable table

columns

protected java.util.ArrayList columns
Constructor Detail

ForeignKey

public ForeignKey(boolean initiallyDeferred)

ForeignKey

public ForeignKey(Column col,
                  ClassBaseTable refTable,
                  boolean initiallyDeferred)
Method Detail

addColumn

public void addColumn(Column col,
                      Column refCol)

setColumn

public void setColumn(int seq,
                      Column col,
                      Column refCol)

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object o)

toString

public java.lang.String toString()

assertSameTable

protected void assertSameTable(Column col)

getTable

public BaseTable getTable()

getColumns

public java.util.List getColumns()

getColumnList

public java.lang.String getColumnList()

startsWith

public boolean startsWith(Key k)

setMinSize

protected static void setMinSize(java.util.List list,
                                 int size)

getColumnList

public static java.lang.String getColumnList(java.util.Collection cols)


Copyright © 2001 TriActive, Inc. All Rights Reserved.