/*
 * Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 *
 * WSO2 Inc. licenses this file to you under the Apache License,
 * Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

package org.wso2.carbon.siddhi.editor.core.util.designview.beans.configs.siddhielements;

import org.wso2.carbon.siddhi.editor.core.util.designview.beans.configs.siddhielements.annotation.AnnotationConfig;

import java.util.List;

/**
 * Represents configuration of a Siddhi Table
 */
public class TableConfig extends SiddhiElementConfig {
    private String name;
    private List<AttributeConfig> attributeList;
    private StoreConfig store;
    private List<AnnotationConfig> annotationList;

    public TableConfig(String id,
                       String name,
                       List<AttributeConfig> attributeList,
                       StoreConfig store,
                       List<AnnotationConfig> annotationList) {
        super(id);
        this.name = name;
        this.attributeList = attributeList;
        this.store = store;
        this.annotationList = annotationList;
    }

    // TODO: 3/29/18 complete
}

@@ -1579,32 +1579,713 @@
     
-// TODO: 3/29/18 complete
+public String getName() %7B%0A        return name;%0A    %7D%0A%0A    public void setName(String name) %7B%0A        this.name = name;%0A    %7D%0A%0A    public List%3CAttributeConfig%3E getAttributeList() %7B%0A        return attributeList;%0A    %7D%0A%0A    public void setAttributeList(List%3CAttributeConfig%3E attributeList) %7B%0A        this.attributeList = attributeList;%0A    %7D%0A%0A    public StoreConfig getStore() %7B%0A        return store;%0A    %7D%0A%0A    public void setStore(StoreConfig store) %7B%0A        this.store = store;%0A    %7D%0A%0A    public List%3CAnnotationConfig%3E getAnnotationList() %7B%0A        return annotationList;%0A    %7D%0A%0A    public void setAnnotationList(List%3CAnnotationConfig%3E annotationList) %7B%0A        this.annotationList = annotationList;%0A    %7D
 %0A%7D%0A

Add getters and setters to TableConfig bean