public class DatabaseTable extends APIBean
| Constructor and Description |
|---|
DatabaseTable()
Default constructor
|
DatabaseTable(java.lang.String name)
Constructor by default
|
DatabaseTable(java.lang.String name,
int columnCount,
int rowCount,
DatabaseColumn[] databaseColumns,
DatabaseRow[] databaseRows)
Constructor using fields
|
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnCount()
Get the number of databaseColumns
|
DatabaseColumn[] |
getDatabaseColumns()
Get the databaseColumns
|
DatabaseRow[] |
getDatabaseRows()
Get the databaseRows of the table
|
java.lang.String |
getName()
Returns the name of the table
|
int |
getRowCount()
Get the number of databaseRows
|
void |
setColumnCount(int columnCount)
Sets the number of databaseColumns
|
void |
setDatabaseColumns(DatabaseColumn[] databaseColumns)
Sets the databaseColumns of the table
|
void |
setDatabaseRows(DatabaseRow[] databaseRows)
Sets the databaseRows of the table
|
void |
setName(java.lang.String name)
Sets the name of the table
|
void |
setRowCount(int rowCount)
Sets the number of databaseRows
|
public DatabaseTable()
public DatabaseTable(java.lang.String name)
name - The name of the tablepublic DatabaseTable(java.lang.String name,
int columnCount,
int rowCount,
DatabaseColumn[] databaseColumns,
DatabaseRow[] databaseRows)
name - The name of the tablecolumnCount - The number of databaseColumnsrowCount - The number of databaseRowsdatabaseColumns - The databaseColumns of the tabledatabaseRows - The databaseRows of the tablepublic int getColumnCount()
public void setColumnCount(int columnCount)
columnCount - The number of databaseColumnspublic DatabaseColumn[] getDatabaseColumns()
public void setDatabaseColumns(DatabaseColumn[] databaseColumns)
databaseColumns - The databaseColumns of the tablepublic DatabaseRow[] getDatabaseRows()
public void setDatabaseRows(DatabaseRow[] databaseRows)
databaseRows - The databaseRows of the tablepublic java.lang.String getName()
public void setName(java.lang.String name)
name - The name of the tablepublic int getRowCount()
public void setRowCount(int rowCount)
rowCount - The number of databaseRows