com.triactive.jdo.store.sql
Class Index

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

public class Index
extends Key


Field Summary
 
Fields inherited from class com.triactive.jdo.store.sql.Key
columns, table
 
Constructor Summary
Index(BaseTable table, boolean isUnique)
           
Index(CandidateKey ck)
           
Index(ForeignKey fk)
           
 
Method Summary
 void addColumn(Column col)
           
 boolean equals(java.lang.Object obj)
           
 boolean getUnique()
           
 int hashCode()
           
 void setColumn(int seq, Column col)
           
 int size()
           
 java.lang.String toString()
           
 
Methods inherited from class com.triactive.jdo.store.sql.Key
assertSameTable, getColumnList, getColumnList, getColumns, getTable, setMinSize, startsWith
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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()
Overrides:
hashCode in class Key

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class Key

toString

public java.lang.String toString()


Copyright 2001-2007 The TJDO Project All Rights Reserved.