Package de.bright_side.bdbexport.model
Class ObjectExportRequest
java.lang.Object
de.bright_side.bdbexport.model.ObjectExportRequest
public class ObjectExportRequest
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description ObjectExportRequest() -
Method Summary
Modifier and Type Method Description java.lang.StringgetCatalog()intgetClobExportMaxLength()java.sql.ConnectiongetConnection()java.lang.StringgetObjectName()DbExporter.ObjectTypegetObjectType()java.lang.StringgetSchema()DbExporter.DbTypegetTargetDbType()java.lang.StringgetUserName()java.lang.StringgetWhereClause()booleanisSortTableData()voidsetCatalog(java.lang.String catalog)if no value is set the catalog name is determined from the current connection.voidsetClobExportMaxLength(int clobExportMaxLength)if no value is set the default value DbExporter.DEFAULT_CLOB_EXPORT_MAX_LENGTH is usedvoidsetConnection(java.sql.Connection connection)voidsetObjectName(java.lang.String objectName)voidsetObjectType(DbExporter.ObjectType objectType)voidsetSchema(java.lang.String schema)if no value is set the schema name is determined from the current connectionvoidsetSortTableData(boolean sortTableData)voidsetTargetDbType(DbExporter.DbType targetDbType)if no value is set the target database type is assumed to be the same as the database type of the connectionvoidsetUserName(java.lang.String userName)if no value is set the user name is determined from the current connectionvoidsetWhereClause(java.lang.String whereClause)
-
Constructor Details
-
ObjectExportRequest
public ObjectExportRequest()
-
-
Method Details
-
getConnection
public java.sql.Connection getConnection() -
setConnection
public void setConnection(java.sql.Connection connection) -
getUserName
public java.lang.String getUserName() -
setUserName
public void setUserName(java.lang.String userName)if no value is set the user name is determined from the current connection- Parameters:
userName- user name
-
isSortTableData
public boolean isSortTableData() -
setSortTableData
public void setSortTableData(boolean sortTableData) -
getObjectType
-
setObjectType
-
getObjectName
public java.lang.String getObjectName() -
setObjectName
public void setObjectName(java.lang.String objectName) -
getWhereClause
public java.lang.String getWhereClause() -
setWhereClause
public void setWhereClause(java.lang.String whereClause) -
getTargetDbType
-
setTargetDbType
if no value is set the target database type is assumed to be the same as the database type of the connection- Parameters:
targetDbType- target database type
-
getClobExportMaxLength
public int getClobExportMaxLength() -
setClobExportMaxLength
public void setClobExportMaxLength(int clobExportMaxLength)if no value is set the default value DbExporter.DEFAULT_CLOB_EXPORT_MAX_LENGTH is used- Parameters:
clobExportMaxLength- maximum length per CLOB export line
-
getCatalog
public java.lang.String getCatalog() -
setCatalog
public void setCatalog(java.lang.String catalog)if no value is set the catalog name is determined from the current connection. The catalog may also be irrelevant for some database types- Parameters:
catalog- name of the catalog
-
getSchema
public java.lang.String getSchema() -
setSchema
public void setSchema(java.lang.String schema)if no value is set the schema name is determined from the current connection- Parameters:
schema- name of the schema
-