Class LocalDatabaseConfiguration

java.lang.Object
net.sf.jailer.configuration.LocalDatabaseConfiguration

public class LocalDatabaseConfiguration extends Object
Configuration of the local database.
Author:
Ralf Wisser
  • Constructor Details

    • LocalDatabaseConfiguration

      public LocalDatabaseConfiguration()
  • Method Details

    • getLocalPKType

      public String getLocalPKType()
      Gets the SQL type used for primary key columns in the local database.
      Returns:
      the local primary key type
    • setLocalPKType

      public void setLocalPKType(String localPKType)
      Sets the SQL type used for primary key columns in the local database.
      Parameters:
      localPKType - the local primary key type to set
    • getLocalNPKType

      public String getLocalNPKType()
      Gets the SQL type used for non-primary-key columns in the local database.
      Returns:
      the local non-primary-key type
    • setLocalNPKType

      public void setLocalNPKType(String localNPKType)
      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

      public String getUrlPattern()
      Gets the JDBC URL pattern for the local database.
      Returns:
      the JDBC URL pattern
    • setUrlPattern

      public void setUrlPattern(String urlPattern)
      Sets the JDBC URL pattern for the local database.
      Parameters:
      urlPattern - the JDBC URL pattern to set
    • getDriver

      public String getDriver()
      Gets the JDBC driver class name for the local database.
      Returns:
      the JDBC driver class name
    • setDriver

      public void setDriver(String driver)
      Sets the JDBC driver class name for the local database.
      Parameters:
      driver - the JDBC driver class name to set
    • getLib

      public String getLib()
      Gets the path to the JDBC driver library for the local database.
      Returns:
      the path to the JDBC driver library
    • setLib

      public void setLib(String lib)
      Sets the path to the JDBC driver library for the local database.
      Parameters:
      lib - the path to the JDBC driver library to set
    • getUser

      public String getUser()
      Gets the database user name for the local database.
      Returns:
      the database user name
    • setUser

      public void setUser(String user)
      Sets the database user name for the local database.
      Parameters:
      user - the database user name to set
    • getPassword

      public String getPassword()
      Gets the database password for the local database.
      Returns:
      the database password
    • setPassword

      public void setPassword(String password)
      Sets the database password for the local database.
      Parameters:
      password - the database password to set