public final class Table extends Object
Constructor and Description |
---|
Table() |
Modifier and Type | Method and Description |
---|---|
void |
addColumn(Column column)
Adds a column definition to this table.
|
List<Column> |
getColumns()
Retrieves the list of columns that make up this table.
|
int |
getID()
This method is used to retrieve the unique table identifier.
|
String |
getName()
This method is used to retrieve the table name.
|
boolean |
getResourceFlag()
This method retrieves the resource flag attribute of the table.
|
void |
setID(int id)
This method is used to set the unique identifier associated with
this table.
|
void |
setName(String name)
This method is used to set the name associated with this table.
|
void |
setResourceFlag(boolean flag)
This method sets the resource flag attribute of the table.
|
String |
toString()
This method dumps the contents of this table as a String.
|
public int getID()
public void setID(int id)
id
- unique table identifierpublic String getName()
public void setName(String name)
name
- table namepublic boolean getResourceFlag()
public void setResourceFlag(boolean flag)
flag
- boolean flagpublic void addColumn(Column column)
column
- column definitionpublic List<Column> getColumns()
Copyright © 2000–2024 Packwood Software. All rights reserved.