org.apache.ws.jaxme.sqls

Interface ColumnSet

public interface ColumnSet

A common base interface for Index and ForeignKey.

Author: Jochen Wiedmann

Method Summary
IteratorgetColumns()

Returns the column sets columns.

TablegetTable()

Returns the table on which the foreign key is defined.

Method Detail

getColumns

public Iterator getColumns()

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

getTable

public Table getTable()

Returns the table on which the foreign key is defined.