/*
 * This file is part of NucleusFramework for Bukkit, licensed under the MIT License (MIT).
 *
 * Copyright (c) JCThePants (www.jcwhatever.com)
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */

package com.jcwhatever.nucleus.providers.sql.statement.insert;

/**
 * Sql table insert.
 */
public interface ISqlInsert {

    ISqlInsertFinal values(Object... values);
}

@@ -1283,16 +1283,46 @@
 nsert;%0A%0A
+import java.util.Collection;%0A%0A
 /**%0A * S
@@ -1381,48 +1381,731 @@
     
-ISqlInsertFinal values(Object... values);
+/**%0A     * Insert a row of values.%0A     *%0A     * @param values  The values to insert.%0A     */%0A    ISqlInsertFinal values(Object... values);%0A%0A    /**%0A     * Insert a collection of row values.%0A     *%0A     * @param values           The collection of row values.%0A     * @param valuesConverter  The converter used to convert objects to a row of values.%0A     *%0A     * @param %3CT%3E  The collection element type.%0A     */%0A    %3CT%3E ISqlInsertFinal values(Collection%3CT%3E values, ISqlInsertValueConverter%3CT%3E valuesConverter);%0A%0A    /**%0A     * Converter used to convert an element into row values.%0A     *%0A     * @param %3CT%3E  The element type.%0A     */%0A    interface ISqlInsertValueConverter%3CT%3E %7B%0A%0A        Object%5B%5D getRowValues(T element);%0A    %7D
 %0A%7D%0A

allow insert multiple rows from collection in SQL API