Class LocalDatabaseConfiguration
java.lang.Object
net.sf.jailer.configuration.LocalDatabaseConfiguration
Configuration of the local database.
- Author:
- Ralf Wisser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the JDBC driver class name for the local database.getLib()Gets the path to the JDBC driver library for the local database.Gets the SQL type used for non-primary-key columns in the local database.intGets the maximum length for primary key columns in the local database.Gets the SQL type used for primary key columns in the local database.Gets the database password for the local database.Gets the JDBC URL pattern for the local database.getUser()Gets the database user name for the local database.voidSets the JDBC driver class name for the local database.voidSets the path to the JDBC driver library for the local database.voidsetLocalNPKType(String localNPKType) Sets the SQL type used for non-primary-key columns in the local database.voidsetLocalPKLength(int localPKLength) Sets the maximum length for primary key columns in the local database.voidsetLocalPKType(String localPKType) Sets the SQL type used for primary key columns in the local database.voidsetPassword(String password) Sets the database password for the local database.voidsetUrlPattern(String urlPattern) Sets the JDBC URL pattern for the local database.voidSets the database user name for the local database.
-
Constructor Details
-
LocalDatabaseConfiguration
public LocalDatabaseConfiguration()
-
-
Method Details
-
getLocalPKType
Gets the SQL type used for primary key columns in the local database.- Returns:
- the local primary key type
-
setLocalPKType
Sets the SQL type used for primary key columns in the local database.- Parameters:
localPKType- the local primary key type to set
-
getLocalNPKType
Gets the SQL type used for non-primary-key columns in the local database.- Returns:
- the local non-primary-key type
-
setLocalNPKType
Sets the SQL type used for non-primary-key columns in the local database.- Parameters:
localNPKType- the local non-primary-key type to set
-
getLocalPKLength
public int getLocalPKLength()Gets the maximum length for primary key columns in the local database.- Returns:
- the local primary key column length
-
setLocalPKLength
public void setLocalPKLength(int localPKLength) Sets the maximum length for primary key columns in the local database.- Parameters:
localPKLength- the local primary key column length to set
-
getUrlPattern
Gets the JDBC URL pattern for the local database.- Returns:
- the JDBC URL pattern
-
setUrlPattern
Sets the JDBC URL pattern for the local database.- Parameters:
urlPattern- the JDBC URL pattern to set
-
getDriver
Gets the JDBC driver class name for the local database.- Returns:
- the JDBC driver class name
-
setDriver
Sets the JDBC driver class name for the local database.- Parameters:
driver- the JDBC driver class name to set
-
getLib
Gets the path to the JDBC driver library for the local database.- Returns:
- the path to the JDBC driver library
-
setLib
Sets the path to the JDBC driver library for the local database.- Parameters:
lib- the path to the JDBC driver library to set
-
getUser
Gets the database user name for the local database.- Returns:
- the database user name
-
setUser
Sets the database user name for the local database.- Parameters:
user- the database user name to set
-
getPassword
Gets the database password for the local database.- Returns:
- the database password
-
setPassword
Sets the database password for the local database.- Parameters:
password- the database password to set
-