
package de.ivu.elect.presentation.gebietsbaum.chart;

import org.primefaces.model.chart.ChartModel;
import org.primefaces.model.chart.PieChartModel;

public class GebietChart {

  private final String id;

  private final String separatorHeader;

  private final PieChartModel pieChartModel;

  public GebietChart(String separatorHeader, PieChartModel pieChartModel) {
    super();

    this.id = "chartGebietChart" + System.nanoTime();
    this.separatorHeader = separatorHeader;

    this.pieChartModel = pieChartModel;
  }

  public String getId() {
    return id;
  }

  public String getSeparatorHeader() {
    return separatorHeader;
  }

  public ChartModel getPieChartModel() {
    return pieChartModel;
  }
}
