Class DatabaseConfiguration


  • public class DatabaseConfiguration
    extends Object
    • Constructor Detail

      • DatabaseConfiguration

        public DatabaseConfiguration()
    • Method Detail

      • addPrimaryKey

        public boolean addPrimaryKey​(String key)
      • containsPrimaryKey

        public boolean containsPrimaryKey​(String key)
      • isPrimaryKeysEmpty

        public boolean isPrimaryKeysEmpty()
      • getPrimaryKeys

        public List<String> getPrimaryKeys()
      • isPrimaryKeyPresent

        public boolean isPrimaryKeyPresent​(DataRow r)
      • isPkPresent

        public boolean isPkPresent​(boolean pkPresent,
                                   DataRow ret)
      • getDbQuoteString

        public String getDbQuoteString()
      • setDbQuoteString

        public void setDbQuoteString​(String dbQuoteString)
      • getMapping

        public String getMapping​(String fieldname)
      • addMapping

        public void addMapping​(String fieldname,
                               String mapping)
      • getDbType

        public String getDbType()
      • setDbType

        public void setDbType​(String dbType)
      • getAutoIncrementKeys

        public List<String> getAutoIncrementKeys()
      • setAutoIncrementKeys

        public void setAutoIncrementKeys​(List<String> autoIncrementKeys)
      • getAutoIncrementKey

        public String getAutoIncrementKey​(int i)
      • addAutoIncrementKey

        public boolean addAutoIncrementKey​(String key)
      • getSqlStatement

        public String getSqlStatement()
      • setSqlStatement

        public void setSqlStatement​(String sqlStatement)