/*
 * 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.sourcesink;

import org.wso2.carbon.siddhi.editor.core.util.designview.beans.configs.siddhielements.SiddhiElementConfig;
import org.wso2.carbon.siddhi.editor.core.util.designview.beans.configs.siddhielements.sourcesink.mapper.MapperConfig;

import java.util.List;

/**
 * Represents Siddhi Source/Sink
 */
public class SourceSinkConfig extends SiddhiElementConfig {
    private String annotationType;
    private String connectedElementName;
    private String type;
    private List<String> options;
    private MapperConfig map;
    private boolean correlationIdExist;
    private String correlationId;

    public SourceSinkConfig(String annotationType, String connectedElementName, String type,
                            List<String> options, MapperConfig map, boolean correlationIdExist, String correlationId) {
        this.annotationType = annotationType;
        this.connectedElementName = connectedElementName;
        this.type = type;
        this.options = options;
        this.map = map;
        this.correlationIdExist = correlationIdExist;
        this.correlationId = correlationId;
    }

    public String getAnnotationType() {
        return annotationType;
    }

    public String getConnectedElementName() {
        return connectedElementName;
    }

    public String getType() {
        return type;
    }

    public List<String> getOptions() {
        return options;
    }

    public MapperConfig getMap() {
        return map;
    }

    public boolean isCorrelationIdExist() {
        return correlationIdExist;
    }

    public String getCorrelationId() {
        return correlationId;
    }
}

@@ -1299,33 +1299,35 @@
 private boolean 
-c
+isC
 orrelationIdExis
@@ -1533,17 +1533,19 @@
 boolean 
-c
+isC
 orrelati
@@ -1770,33 +1770,35 @@
 p;%0A        this.
-c
+isC
 orrelationIdExis
@@ -1801,17 +1801,19 @@
 Exist = 
-c
+isC
 orrelati
@@ -2283,33 +2283,35 @@
 %0A        return 
-c
+isC
 orrelationIdExis

Fix variable name