public class TableInfo
extends java.lang.Object
Constructor and Description |
---|
TableInfo(java.lang.String name)
Constructs a table with a given name.
|
Modifier and Type | Method and Description |
---|---|
void |
addAttributeInfo(AttributeInfo c)
Adds a column to this table.
|
java.util.Enumeration |
getColumns()
Gets the columns of this table.
|
java.lang.String |
getTableName()
Gets the name of this table.
|
public TableInfo(java.lang.String name)
name
- the table namepublic void addAttributeInfo(AttributeInfo c)
c
- the AttributeInfo
object for a columnpublic java.util.Enumeration getColumns()
public java.lang.String getTableName()