/*
 * <!--
 *   ~ Copyright 2015-2017 OpenCB
 *   ~
 *   ~ Licensed 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.opencb.biodata.models.clinical.qc;

import java.util.Map;

public class CircosPlot {

    private String id;
    private Map<String, String> query;

    private String b64Image;

    public CircosPlot() {
    }

    public CircosPlot(String id, Map<String, String> query, String b64Image) {
        this.id = id;
        this.query = query;
        this.b64Image = b64Image;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("CircosPlot{");
        sb.append("id='").append(id).append('\'');
        sb.append(", query=").append(query);
        sb.append(", b64Image='").append(b64Image).append('\'');
        sb.append('}');
        return sb.toString();
    }

    public String getId() {
        return id;
    }

    public CircosPlot setId(String id) {
        this.id = id;
        return this;
    }

    public Map<String, String> getQuery() {
        return query;
    }

    public CircosPlot setQuery(Map<String, String> query) {
        this.query = query;
        return this;
    }

    public String getB64Image() {
        return b64Image;
    }

    public CircosPlot setB64Image(String b64Image) {
        this.b64Image = b64Image;
        return this;
    }
}

@@ -841,23 +841,19 @@
  String 
-b64Imag
+fil
 e;%0A%0A    
@@ -944,31 +944,27 @@
 ery, String 
-b64Imag
+fil
 e) %7B%0A       
@@ -1019,34 +1019,26 @@
    this.
-b64Image = b64Imag
+file = fil
 e;%0A    %7D
@@ -1268,23 +1268,19 @@
 pend(%22, 
-b64Imag
+fil
 e='%22).ap
@@ -1284,23 +1284,19 @@
 .append(
-b64Imag
+fil
 e).appen
@@ -1720,23 +1720,19 @@
 ring get
-B64Imag
+Fil
 e() %7B%0A  
@@ -1744,23 +1744,19 @@
  return 
-b64Imag
+fil
 e;%0A    %7D
@@ -1786,15 +1786,11 @@
  set
-B64Imag
+Fil
 e(St
@@ -1794,23 +1794,19 @@
 (String 
-b64Imag
+fil
 e) %7B%0A   
@@ -1819,26 +1819,18 @@
 his.
-b64Image = b64Imag
+file = fil
 e;%0A 

rename 'b64Image' to 'file' in CircosPlot data model, #199