|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.sahits.codegen.sql.model.ModelDataProvider
ch.sahits.codegen.sql.model.InsertScriptWizardModel
public final class InsertScriptWizardModel
Model data for InsertScriptWizardPage
| Constructor Summary | |
|---|---|
InsertScriptWizardModel()
Default constructor initializing the lists as empty lists |
|
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
availableFields()
Retrieve the available Fields |
java.lang.String |
getClassName()
|
java.sql.Connection |
getConnection()
Create and retrieve the connection for the selected database This works with JDBC |
IConnectionProfile |
getDtpConnection()
Retrieve the connection profile |
java.lang.String |
getFileName()
Retrieve the file name |
java.lang.String |
getOwner()
Retrieve the owner |
java.lang.String |
getStoreLocation()
Retrieve the store location |
java.lang.String |
getTableName()
Retrieve the table name |
java.lang.String |
getWhereClause()
Retrieve the where clause |
boolean |
hasWhereClause()
Check if a non empty where clause exists |
void |
removeDTPSelection()
If the dtpSelection is removed the owner becomes invalid |
void |
removeOwner()
If the owner is remove the table definitions are invalid |
void |
removeTable()
If the table is not selected several other fields may not have a value |
java.util.List<java.lang.String> |
selectedFields()
Retrieve all selected table fields |
void |
setClassName(java.lang.String className)
|
void |
setDtpConnection(IConnectionProfile dtpConnection)
Set the connection profile of the DTP selection |
void |
setFileName(java.lang.String fileName)
Set the file name |
void |
setOwner(java.lang.String owner)
Set the owner |
void |
setStoreLocation(java.lang.String storeLocation)
Set the store location of the file |
void |
setTableName(java.lang.String tableName)
Set the table name |
void |
setWhereClause(java.lang.String whereClause)
Set the where clause |
java.util.List<java.lang.String> |
unselectedFields()
Retrieve all not selected table fields |
| Methods inherited from class ch.sahits.codegen.sql.model.ModelDataProvider |
|---|
getConnectionProfile, getDatabaseForProfile, getFieldNames, getOwner, getProfileByDatabase, getRegisteredConnectionProfiles, getTable, getTables |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InsertScriptWizardModel()
| Method Detail |
|---|
public java.lang.String getClassName()
public void setClassName(java.lang.String className)
className - the className to setpublic java.util.List<java.lang.String> availableFields()
public java.util.List<java.lang.String> unselectedFields()
public java.util.List<java.lang.String> selectedFields()
selectedFields in interface ISelectedTableDefinitionpublic java.lang.String getStoreLocation()
storeLocationpublic void setStoreLocation(java.lang.String storeLocation)
storeLocation - public IConnectionProfile getDtpConnection()
dtpConnectionpublic void setDtpConnection(IConnectionProfile dtpConnection)
dtpConnection - public java.lang.String getOwner()
getOwner in interface ISelectedTableDefinitionownerpublic void setOwner(java.lang.String owner)
owner - public java.lang.String getTableName()
getTableName in interface ISelectedTableDefinitiontableNamepublic void setTableName(java.lang.String tableName)
tableName - public java.lang.String getWhereClause()
whereClausepublic void setWhereClause(java.lang.String whereClause)
whereClause - public java.lang.String getFileName()
fileNamepublic void setFileName(java.lang.String fileName)
fileName - public void removeTable()
public void removeOwner()
public void removeDTPSelection()
public java.sql.Connection getConnection()
public boolean hasWhereClause()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||