| java.lang.Object net.sourceforge.squirrel_sql.client.session.properties.EditWhereCols
EditWhereCols | public class EditWhereCols (Code) | | |
Method Summary | |
public static HashMap<String, String> | get(String tableName) get the HashMap of column names for the given table name. | public String[] | getDataArray() get data in form that can be used to output to file. | public void | put(String tableName, HashMap<String, String> colNames) add or replace a table-name/hashmap-of-column-names mapping. | public void | setApplication(IApplication application) Used to inject the IApplication which is used to persist this data. | public void | setDataArray(String[] inData) Data in the external form (array of strings) is passed in and must be converted
to the internal form. |
EditWhereCols | public EditWhereCols()(Code) | | ctor
|
get | public static HashMap<String, String> get(String tableName)(Code) | | get the HashMap of column names for the given table name.
it will be null if the table does not have any limitation on the columns to use.
|
getDataArray | public String[] getDataArray()(Code) | | get data in form that can be used to output to file.
This is called from an instance of this class.
|
put | public void put(String tableName, HashMap<String, String> colNames)(Code) | | add or replace a table-name/hashmap-of-column-names mapping.
If map is null, remove the entry from the tables.
|
setApplication | public void setApplication(IApplication application)(Code) | | Used to inject the IApplication which is used to persist this data.
Parameters: application - the IApplication to set |
setDataArray | public void setDataArray(String[] inData)(Code) | | Data in the external form (array of strings) is passed in and must be converted
to the internal form.
This is called on an instance of this class.
Parameters: inData - array of strings in form "tableName col,col,col..." |
|
|