// Path: src/main/java/at/downdrown/vaadinaddons/highchartsapi/model/ChartType.java
// public enum ChartType implements HighchartsObject {
// 
//     AREA("area"),
//     AREARANGE("arearange"),
//     AREASPLINE("areaspline"),
//     AREASPLINERANGE("areasplinerange"),
//     BAR("bar"),
//     BOXPLOT("boxplot"),
//     BUBBLE("bubble"),
//     COLUMN("column"),
//     COLUMNRANGE("columnrange"),
//     ERRORBAR("errorbar"),
//     FUNNEL("funnel"),
//     GAUGE("gauge"),
//     HEATMAP("heatmap"),
//     LINE("line"),
//     PIE("pie"),
//     POLYGON("polygon"),
//     PYRAMID("pyramid"),
//     SCATTER("scatter"),
//     SOLIDGAUGE("solidgauge"),
//     SPLINE("spline"),
//     TREEMAP("treemap"),
//     WATERFALL("waterfall");
// 
//     private String highchartsvalue;
// 
//     ChartType(String highchartsvalue) {
//         this.highchartsvalue = highchartsvalue;
//     }
// 
//     public String getHighChartValue() {
//         return this.highchartsvalue;
//     }
// }
// 
// Path: src/main/java/at/downdrown/vaadinaddons/highchartsapi/model/data/BoxPlotChartData.java
// public class BoxPlotChartData implements HighChartsData {
// 
//     private String name = null;
//     private double minimum;
//     private double lowerQuartile;
//     private double median;
//     private double upperQuartile;
//     private double maximum;
// 
//     public BoxPlotChartData(String name, double minimum, double lowerQuartile, double median, double upperQuartile, double maximum) {
//         this.name = name;
//         this.minimum = minimum;
//         this.lowerQuartile = lowerQuartile;
//         this.median = median;
//         this.upperQuartile = upperQuartile;
//         this.maximum = maximum;
//     }
// 
//     public BoxPlotChartData(double minimum, double lowerQuartile, double median, double upperQuartile, double maximum) {
//         this.minimum = minimum;
//         this.lowerQuartile = lowerQuartile;
//         this.median = median;
//         this.upperQuartile = upperQuartile;
//         this.maximum = maximum;
//     }
// 
//     public String getName() {
//         return name;
//     }
// 
//     public void setName(String name) {
//         this.name = name;
//     }
// 
//     public double getMinimum() {
//         return minimum;
//     }
// 
//     public void setMinimum(double minimum) {
//         this.minimum = minimum;
//     }
// 
//     public double getLowerQuartile() {
//         return lowerQuartile;
//     }
// 
//     public void setLowerQuartile(double lowerQuartile) {
//         this.lowerQuartile = lowerQuartile;
//     }
// 
//     public double getMedian() {
//         return median;
//     }
// 
//     public void setMedian(double median) {
//         this.median = median;
//     }
// 
//     public double getUpperQuartile() {
//         return upperQuartile;
//     }
// 
//     public void setUpperQuartile(double upperQuartile) {
//         this.upperQuartile = upperQuartile;
//     }
// 
//     public double getMaximum() {
//         return maximum;
//     }
// 
//     public void setMaximum(double maximum) {
//         this.maximum = maximum;
//     }
// 
//     @Override
//     public String getHighChartValue() {
//         if (name != null) {
//             return "['" + name + "', " + minimum + ", " + lowerQuartile + ", " + median + ", " + upperQuartile + ", " + maximum + "]";
//         } else {
//             return "[" + minimum + ", " + lowerQuartile + ", " + median + ", " + upperQuartile + ", " + maximum + "]";
//         }
//     }
// 
//     @Override
//     public String toString() {
//         return this.getHighChartValue();
//     }
// }
// 
// Path: src/main/java/at/downdrown/vaadinaddons/highchartsapi/model/data/HighChartsData.java
// public interface HighChartsData extends HighchartsObject {
// 
// }


import at.downdrown.vaadinaddons.highchartsapi.model.ChartType;
import at.downdrown.vaadinaddons.highchartsapi.model.data.BoxPlotChartData;
import at.downdrown.vaadinaddons.highchartsapi.model.data.HighChartsData;
import at.downdrown.vaadinaddons.highchartsapi.model.data.base.*;
import java.util.List;
package at.downdrown.vaadinaddons.highchartsapi.model.series;



/**
 * Projekt: VaadinHighChartsAPI<br>
 * Package: at.downdrown.vaadinaddons.highchartsapi.model.series<br>
 * Klasse: AreaRangeChartSeries.class<br>
 * Erstellt am 21. August 2015.<br>
 * Copyright &copy; HSWE Allg. Applikationen.<br>
 * <br>
 *
 * @author Manfred Huber (02ub0j08)<br>
 */
public class BoxPlotChartSeries extends HighChartsSeriesImpl {

    public BoxPlotChartSeries(String name) {
        chartType = ChartType.BOXPLOT;
        this.name = name;
    }

    public BoxPlotChartSeries(String name, List<BoxPlotChartData> data) {
        chartType = ChartType.BOXPLOT;
        this.name = name;

        if (!data.isEmpty()) {
            for (BoxPlotChartData boxPlotChartData : data) {
                this.data.add(boxPlotChartData);
            }
        }
    }

    public void addData(BoxPlotChartData boxPlotChartData) {
        this.data.add(boxPlotChartData);
    }

    /**
     * @deprecated This method isn't implemented for this type.
     * Use {@link #addData(BoxPlotChartData)} instead.
     */
    @Deprecated
    @Override
// Path: src/main/java/at/downdrown/vaadinaddons/highchartsapi/model/ChartType.java
// public enum ChartType implements HighchartsObject {
// 
//     AREA("area"),
//     AREARANGE("arearange"),
//     AREASPLINE("areaspline"),
//     AREASPLINERANGE("areasplinerange"),
//     BAR("bar"),
//     BOXPLOT("boxplot"),
//     BUBBLE("bubble"),
//     COLUMN("column"),
//     COLUMNRANGE("columnrange"),
//     ERRORBAR("errorbar"),
//     FUNNEL("funnel"),
//     GAUGE("gauge"),
//     HEATMAP("heatmap"),
//     LINE("line"),
//     PIE("pie"),
//     POLYGON("polygon"),
//     PYRAMID("pyramid"),
//     SCATTER("scatter"),
//     SOLIDGAUGE("solidgauge"),
//     SPLINE("spline"),
//     TREEMAP("treemap"),
//     WATERFALL("waterfall");
// 
//     private String highchartsvalue;
// 
//     ChartType(String highchartsvalue) {
//         this.highchartsvalue = highchartsvalue;
//     }
// 
//     public String getHighChartValue() {
//         return this.highchartsvalue;
//     }
// }
// 
// Path: src/main/java/at/downdrown/vaadinaddons/highchartsapi/model/data/BoxPlotChartData.java
// public class BoxPlotChartData implements HighChartsData {
// 
//     private String name = null;
//     private double minimum;
//     private double lowerQuartile;
//     private double median;
//     private double upperQuartile;
//     private double maximum;
// 
//     public BoxPlotChartData(String name, double minimum, double lowerQuartile, double median, double upperQuartile, double maximum) {
//         this.name = name;
//         this.minimum = minimum;
//         this.lowerQuartile = lowerQuartile;
//         this.median = median;
//         this.upperQuartile = upperQuartile;
//         this.maximum = maximum;
//     }
// 
//     public BoxPlotChartData(double minimum, double lowerQuartile, double median, double upperQuartile, double maximum) {
//         this.minimum = minimum;
//         this.lowerQuartile = lowerQuartile;
//         this.median = median;
//         this.upperQuartile = upperQuartile;
//         this.maximum = maximum;
//     }
// 
//     public String getName() {
//         return name;
//     }
// 
//     public void setName(String name) {
//         this.name = name;
//     }
// 
//     public double getMinimum() {
//         return minimum;
//     }
// 
//     public void setMinimum(double minimum) {
//         this.minimum = minimum;
//     }
// 
//     public double getLowerQuartile() {
//         return lowerQuartile;
//     }
// 
//     public void setLowerQuartile(double lowerQuartile) {
//         this.lowerQuartile = lowerQuartile;
//     }
// 
//     public double getMedian() {
//         return median;
//     }
// 
//     public void setMedian(double median) {
//         this.median = median;
//     }
// 
//     public double getUpperQuartile() {
//         return upperQuartile;
//     }
// 
//     public void setUpperQuartile(double upperQuartile) {
//         this.upperQuartile = upperQuartile;
//     }
// 
//     public double getMaximum() {
//         return maximum;
//     }
// 
//     public void setMaximum(double maximum) {
//         this.maximum = maximum;
//     }
// 
//     @Override
//     public String getHighChartValue() {
//         if (name != null) {
//             return "['" + name + "', " + minimum + ", " + lowerQuartile + ", " + median + ", " + upperQuartile + ", " + maximum + "]";
//         } else {
//             return "[" + minimum + ", " + lowerQuartile + ", " + median + ", " + upperQuartile + ", " + maximum + "]";
//         }
//     }
// 
//     @Override
//     public String toString() {
//         return this.getHighChartValue();
//     }
// }
// 
// Path: src/main/java/at/downdrown/vaadinaddons/highchartsapi/model/data/HighChartsData.java
// public interface HighChartsData extends HighchartsObject {
// 
// }


// Path: src/main/java/at/downdrown/vaadinaddons/highchartsapi/model/series/BoxPlotChartSeries.java
import at.downdrown.vaadinaddons.highchartsapi.model.ChartType;
import at.downdrown.vaadinaddons.highchartsapi.model.data.BoxPlotChartData;
import at.downdrown.vaadinaddons.highchartsapi.model.data.HighChartsData;
import at.downdrown.vaadinaddons.highchartsapi.model.data.base.*;
import java.util.List;

package at.downdrown.vaadinaddons.highchartsapi.model.series;



/**
 * Projekt: VaadinHighChartsAPI<br>
 * Package: at.downdrown.vaadinaddons.highchartsapi.model.series<br>
 * Klasse: AreaRangeChartSeries.class<br>
 * Erstellt am 21. August 2015.<br>
 * Copyright &copy; HSWE Allg. Applikationen.<br>
 * <br>
 *
 * @author Manfred Huber (02ub0j08)<br>
 */
public class BoxPlotChartSeries extends HighChartsSeriesImpl {

    public BoxPlotChartSeries(String name) {
        chartType = ChartType.BOXPLOT;
        this.name = name;
    }

    public BoxPlotChartSeries(String name, List<BoxPlotChartData> data) {
        chartType = ChartType.BOXPLOT;
        this.name = name;

        if (!data.isEmpty()) {
            for (BoxPlotChartData boxPlotChartData : data) {
                this.data.add(boxPlotChartData);
            }
        }
    }

    public void addData(BoxPlotChartData boxPlotChartData) {
        this.data.add(boxPlotChartData);
    }

    /**
     * @deprecated This method isn't implemented for this type.
     * Use {@link #addData(BoxPlotChartData)} instead.
     */
    @Deprecated
    @Override
    public void addData(HighChartsData highChartsData) {