|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectpt.moredata.netbeans.modules.moredatatemplates.wizard.Data
Holds the information collected by the wizard during the iteration from the user and necessary initializations.
| Constructor Summary | |
Data()
Creates a new instance of Data |
|
| Method Summary | |
void |
addSelectedColumn(int idx,
java.lang.String tableName,
java.lang.String columnName)
Add a new selected Column to the array |
void |
addSelectedSchemas(int idx,
java.lang.String schemaName)
Add a new selected Column to the array |
void |
clearSelectedColumns()
Clear the array of selected columns |
void |
clearSelectedSchemas()
Clear the array of selected columns |
DataFieldInfo |
getColumnInfo(java.lang.String tableName,
java.lang.String columnName)
Get the reference to a column from table. |
java.lang.String[] |
getColumnsNames(java.lang.String tableName)
Get the names of the columns for a table. |
DataTableInfo |
getCurrentTable()
Getter for property currentTable. |
java.lang.String |
getDatabaseURL()
Getter for property databaseURL. |
java.lang.String |
getDriverName()
Getter for property driverName. |
DataTableInfo |
getInfoForTable(java.lang.String tableName)
Get the meta information of a table. |
java.lang.String |
getPassword()
Getter for property password. |
DataFieldInfo[] |
getSelectedColumns()
Getter for property selectedColumns. |
DataFieldInfo |
getSelectedColumns(int index)
Indexed getter for property selectedColumns. |
java.lang.String[] |
getSelectedSchemas()
Getter for property selectedSchemas. |
DataTableInfo[] |
getTables()
Getter for property tables. |
DataTableInfo |
getTables(int index)
Indexed getter for property tables. |
java.lang.String[] |
getTablesNames()
Get an array of tables name from the model loaded in DataTableInfo array. |
java.lang.String |
getUser()
Getter for property user. |
void |
initSelectedColumns(int i)
Initialize the selected columns array |
void |
initSelectedSchemas(int i)
Initialize the selected columns array |
void |
setCurrentTable(DataTableInfo currentTable)
Setter for property currentTable. |
void |
setDatabaseURL(java.lang.String databaseURL)
Setter for property databaseURL. |
void |
setDriverName(java.lang.String driverName)
Setter for property driverName. |
void |
setPassword(java.lang.String password)
Setter for property password. |
void |
setSelectedColumns(DataFieldInfo[] selectedColumns)
Setter for property selectedColumns. |
void |
setSelectedColumns(int index,
DataFieldInfo selectedColumns)
Indexed setter for property selectedColumns. |
void |
setTables(java.util.ArrayList _tables)
Set the tables information receiving it as an ArrayList |
void |
setTables(DataTableInfo[] tables)
Setter for property tables. |
void |
setTables(int index,
DataTableInfo tables)
Indexed setter for property tables. |
void |
setUser(java.lang.String user)
Setter for property user. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Data()
| Method Detail |
public java.lang.String getUser()
public void setUser(java.lang.String user)
user - New value of property user.public java.lang.String getPassword()
public void setPassword(java.lang.String password)
password - New value of property password.public java.lang.String getDriverName()
public void setDriverName(java.lang.String driverName)
driverName - New value of property driverName.public java.lang.String getDatabaseURL()
public void setDatabaseURL(java.lang.String databaseURL)
databaseURL - New value of property databaseURL.public DataTableInfo getTables(int index)
index - Index of the property.
index.public DataTableInfo[] getTables()
public java.lang.String[] getTablesNames()
public void setTables(int index,
DataTableInfo tables)
index - Index of the property.tables - New value of the property at index.public void setTables(DataTableInfo[] tables)
tables - New value of property tables.public void setTables(java.util.ArrayList _tables)
_tables - An array list containing the tables informationpublic DataTableInfo getCurrentTable()
public void setCurrentTable(DataTableInfo currentTable)
currentTable - New value of property currentTable.public DataTableInfo getInfoForTable(java.lang.String tableName)
tableName - The name of the table for wich we want to get information
about.
public java.lang.String[] getColumnsNames(java.lang.String tableName)
tableName - The name of the table to be loaded.
public DataFieldInfo getSelectedColumns(int index)
index - Index of the property.
index.public DataFieldInfo[] getSelectedColumns()
public void clearSelectedColumns()
public void initSelectedColumns(int i)
public void addSelectedColumn(int idx,
java.lang.String tableName,
java.lang.String columnName)
public void clearSelectedSchemas()
public void initSelectedSchemas(int i)
public void addSelectedSchemas(int idx,
java.lang.String schemaName)
public DataFieldInfo getColumnInfo(java.lang.String tableName,
java.lang.String columnName)
tableName - The name of the table.columnName - The name of the column.
public void setSelectedColumns(int index,
DataFieldInfo selectedColumns)
index - Index of the property.selectedColumns - New value of the property at index.public void setSelectedColumns(DataFieldInfo[] selectedColumns)
selectedColumns - New value of property selectedColumns.public java.lang.String[] getSelectedSchemas()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||