@@ -0,0 +1,1990 @@
+/**%0A * Copyright (C) 2006-2018 Talend Inc. - www.talend.com%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A * http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage org.talend.sdk.component.studio.model.parameter;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0Aimport java.util.Map;%0A%0Aimport org.talend.core.model.process.IElement;%0A%0A/**%0A * Represents Table parameter. Table parameter is ElementParameter, which EParameterFieldType is TABLE%0A * Value of Table parameter should have List%3CMap%3CString, Object%3E%3E type. Its value is a list of table records.%0A * Each table record is represented by Map.%0A * This class ensures Table parameter integrity. When user sets null or %22%22 value to this parameter, empty list is set instead%0A */%0Apublic class TableElementParameter extends TaCoKitElementParameter %7B%0A%0A    public TableElementParameter(IElement element) %7B%0A        super(element);%0A    %7D%0A    %0A    /**%0A     * Sets value of this Table parameter. Expected type of value is List%3CMap%3CString, Object%3E%3E.%0A     * null and %22%22 are also accepted. In this case empty list will be set as value%0A     * %0A     * @param newValue new value to set%0A     */%0A    @Override%0A    public void setValue(final Object newValue) %7B%0A        if (newValue == null %7C%7C %22%22.equals(newValue)) %7B%0A            super.setValue(new ArrayList%3CMap%3CString, Object%3E%3E());%0A        %7D%0A        if (!(newValue instanceof List)) %7B%0A            throw new IllegalArgumentException(%22newValue should be of List%3CMap%3CString, Object%3E%3E type%22);%0A        %7D%0A        super.setValue(newValue);%0A    %7D%0A%0A    %0A%7D%0A

add TableElementParameter class