henplus.sqlmodel
Class Table

java.lang.Object
  extended by henplus.sqlmodel.Table
All Implemented Interfaces:
Comparable

public final class Table
extends Object
implements Comparable


Constructor Summary
Table(String name)
           
 
Method Summary
 void addColumn(Column column)
           
 int compareTo(Object other)
           
 boolean equals(Object other)
           
 Column getColumnByName(String name, boolean ignoreCase)
           
 ListIterator getColumnIterator()
           
 Set getForeignKeys()
           
 String getName()
           
 boolean hasForeignKeys()
           
 int hashCode()
           
 void setName(String string)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Table

public Table(String name)
Method Detail

getName

public String getName()

setName

public void setName(String string)

addColumn

public void addColumn(Column column)

getColumnIterator

public ListIterator getColumnIterator()

getColumnByName

public Column getColumnByName(String name,
                              boolean ignoreCase)

hasForeignKeys

public boolean hasForeignKeys()
Returns:
true, if this Table has any foreign key, otherwise false.

getForeignKeys

public Set getForeignKeys()
Returns:
A Set of ColumnFkInfo objects or null.

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

compareTo

public int compareTo(Object other)
Specified by:
compareTo in interface Comparable


? 1997..2006 Henner Zeller