class DatabaseTableInsertQueryGenerator {

    public String generate(DatabaseTableData tableMetadata) {
        StringBuilder result = new StringBuilder();
        return result.append("INSERT INTO ")
                     .append(tableMetadata.getTableName())
                     .append(OPEN_BRACKET)
                     .append(generateInsertStatementTableColums(tableMetadata.getTableColumnsMetadata()))
                     .append(CLOSING_BRACKET)
                     .append(" VALUES ")
                     .append(OPEN_BRACKET)
                     .append(generateInsertStatementParameters(tableMetadata.getTableColumnsMetadata()
                                                                            .size()))
                     .append(CLOSING_BRACKET)
                     .toString();
    }

}