com.triactive.jdo.store
Class Index

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

class Index
extends Key


Field Summary
protected  java.util.ArrayList columns
           
protected  BaseTable table
           
 
Constructor Summary
Index(BaseTable table, boolean isUnique)
           
Index(CandidateKey ck)
           
Index(ForeignKey fk)
           
 
Method Summary
 void addColumn(Column col)
           
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()
           
 boolean getUnique()
           
 int hashCode()
           
 void setColumn(int seq, Column col)
           
protected static void setMinSize(java.util.List list, int size)
           
 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

Index

public Index(BaseTable table,
             boolean isUnique)

Index

public Index(CandidateKey ck)

Index

public Index(ForeignKey fk)
Method Detail

getUnique

public boolean getUnique()

setColumn

public void setColumn(int seq,
                      Column col)

addColumn

public void addColumn(Column col)

size

public int size()

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.