org.apache.ws.jaxme.sqls

Interface ColumnSet

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

public interface ColumnSet

A common base interface for Index and ForeignKey.
Author:
Jochen Wiedmann

Method Summary

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

Method Details

getColumns

public 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.

getTable

public Table getTable()
Returns the table on which the foreign key is defined.