net.sf.jaxme.sqls
Interface ColumnSet

All Known Subinterfaces:
ForeignKey, Index
All Known Implementing Classes:
ForeignKeyImpl, IndexImpl

public interface ColumnSet

A common base interface for Index and ForeignKey.

Author:
Jochen Wiedmann

Method Summary
 java.util.Iterator getColumns()
          Returns the column sets columns.
 Table getTable()
          Returns the table on which the foreign key is defined.
 

Method Detail

getTable

public Table getTable()

Returns the table on which the foreign key is defined.


getColumns

public java.util.Iterator getColumns()

Returns the column sets columns. In the case of an Index, these are the columns that have been added via Index.addColumn(Column). In the case of a ForeignKey, these are the local columns of column links.