com.triactive.jdo.store.sql
Class Key

java.lang.Object
  extended bycom.triactive.jdo.store.sql.Key
Direct Known Subclasses:
CandidateKey, ForeignKey, Index

public abstract class Key
extends java.lang.Object


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

Field Detail

table

protected BaseTable table

columns

protected java.util.ArrayList columns
Constructor Detail

Key

protected Key(BaseTable table)
Method Detail

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)

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object obj)


Copyright © 2001-2007 The TJDO Project All Rights Reserved.