All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.teamapps.dto.UiLineGraph Maven / Gradle / Ivy

There is a newer version: 0.9.191
Show newest version
package org.teamapps.dto;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.function.Supplier;
import java.util.stream.Collectors;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonTypeIdResolver;

/**
 * THIS IS GENERATED CODE!
 * PLEASE DO NOT MODIFY - ALL YOUR WORK WOULD BE LOST!
 */
@JsonTypeInfo(use = JsonTypeInfo.Id.CUSTOM, property = "_type", defaultImpl = UiLineGraph.class)
public class UiLineGraph implements UiGraph, UiObject {


	protected String dataSeriesId;
	protected UiLineChartCurveType graphType = UiLineChartCurveType.MONOTONE;
	protected float dataDotRadius;
	protected String lineColorScaleMin;
	protected String lineColorScaleMax;
	protected String areaColorScaleMin;
	protected String areaColorScaleMax;
	protected String id;
	protected boolean yAxisVisible;
	protected String yAxisColor;
	protected String yAxisLabel;
	protected int maxTickDigits;
	protected UiScaleType yScaleType;
	protected UiLongInterval intervalY;
	protected UiLineChartYScaleZoomMode yScaleZoomMode;
	protected boolean yZeroLineVisible;

	public UiLineGraph() {
	}

	@com.fasterxml.jackson.annotation.JsonIgnore
	public UiObjectType getUiObjectType() {
		return UiObjectType.UI_LINE_GRAPH;
	}

	@SuppressWarnings("unchecked")
	public String toString() {
		return new StringBuilder(getClass().getSimpleName()).append(": ")
				.append("id=" + id).append(", ")
				.append("dataSeriesId=" + dataSeriesId).append(", ")
				.append("graphType=" + graphType).append(", ")
				.append("dataDotRadius=" + dataDotRadius).append(", ")
				.append("lineColorScaleMin=" + lineColorScaleMin).append(", ")
				.append("lineColorScaleMax=" + lineColorScaleMax).append(", ")
				.append("areaColorScaleMin=" + areaColorScaleMin).append(", ")
				.append("areaColorScaleMax=" + areaColorScaleMax).append(", ")
				.append("yAxisVisible=" + yAxisVisible).append(", ")
				.append("yAxisColor=" + yAxisColor).append(", ")
				.append("yAxisLabel=" + yAxisLabel).append(", ")
				.append("maxTickDigits=" + maxTickDigits).append(", ")
				.append("yScaleType=" + yScaleType).append(", ")
				.append("yScaleZoomMode=" + yScaleZoomMode).append(", ")
				.append("yZeroLineVisible=" + yZeroLineVisible).append(", ")
				.append(intervalY != null ? "intervalY={" + intervalY.toString() + "}" : "")
				.toString();
	}

	@com.fasterxml.jackson.annotation.JsonGetter("dataSeriesId")
	public String getDataSeriesId() {
		return dataSeriesId;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("graphType")
	public UiLineChartCurveType getGraphType() {
		return graphType;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("dataDotRadius")
	public float getDataDotRadius() {
		return dataDotRadius;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("lineColorScaleMin")
	public String getLineColorScaleMin() {
		return lineColorScaleMin;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("lineColorScaleMax")
	public String getLineColorScaleMax() {
		return lineColorScaleMax;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("areaColorScaleMin")
	public String getAreaColorScaleMin() {
		return areaColorScaleMin;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("areaColorScaleMax")
	public String getAreaColorScaleMax() {
		return areaColorScaleMax;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("id")
	public String getId() {
		return id;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("yAxisVisible")
	public boolean getYAxisVisible() {
		return yAxisVisible;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("yAxisColor")
	public String getYAxisColor() {
		return yAxisColor;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("yAxisLabel")
	public String getYAxisLabel() {
		return yAxisLabel;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("maxTickDigits")
	public int getMaxTickDigits() {
		return maxTickDigits;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("yScaleType")
	public UiScaleType getYScaleType() {
		return yScaleType;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("intervalY")
	public UiLongInterval getIntervalY() {
		return intervalY;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("yScaleZoomMode")
	public UiLineChartYScaleZoomMode getYScaleZoomMode() {
		return yScaleZoomMode;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("yZeroLineVisible")
	public boolean getYZeroLineVisible() {
		return yZeroLineVisible;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("dataSeriesId")
	public UiLineGraph setDataSeriesId(String dataSeriesId) {
		this.dataSeriesId = dataSeriesId;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("graphType")
	public UiLineGraph setGraphType(UiLineChartCurveType graphType) {
		this.graphType = graphType;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("dataDotRadius")
	public UiLineGraph setDataDotRadius(float dataDotRadius) {
		this.dataDotRadius = dataDotRadius;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("lineColorScaleMin")
	public UiLineGraph setLineColorScaleMin(String lineColorScaleMin) {
		this.lineColorScaleMin = lineColorScaleMin;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("lineColorScaleMax")
	public UiLineGraph setLineColorScaleMax(String lineColorScaleMax) {
		this.lineColorScaleMax = lineColorScaleMax;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("areaColorScaleMin")
	public UiLineGraph setAreaColorScaleMin(String areaColorScaleMin) {
		this.areaColorScaleMin = areaColorScaleMin;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("areaColorScaleMax")
	public UiLineGraph setAreaColorScaleMax(String areaColorScaleMax) {
		this.areaColorScaleMax = areaColorScaleMax;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("id")
	public UiLineGraph setId(String id) {
		this.id = id;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("yAxisVisible")
	public UiLineGraph setYAxisVisible(boolean yAxisVisible) {
		this.yAxisVisible = yAxisVisible;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("yAxisColor")
	public UiLineGraph setYAxisColor(String yAxisColor) {
		this.yAxisColor = yAxisColor;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("yAxisLabel")
	public UiLineGraph setYAxisLabel(String yAxisLabel) {
		this.yAxisLabel = yAxisLabel;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("maxTickDigits")
	public UiLineGraph setMaxTickDigits(int maxTickDigits) {
		this.maxTickDigits = maxTickDigits;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("yScaleType")
	public UiLineGraph setYScaleType(UiScaleType yScaleType) {
		this.yScaleType = yScaleType;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("intervalY")
	public UiLineGraph setIntervalY(UiLongInterval intervalY) {
		this.intervalY = intervalY;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("yScaleZoomMode")
	public UiLineGraph setYScaleZoomMode(UiLineChartYScaleZoomMode yScaleZoomMode) {
		this.yScaleZoomMode = yScaleZoomMode;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("yZeroLineVisible")
	public UiLineGraph setYZeroLineVisible(boolean yZeroLineVisible) {
		this.yZeroLineVisible = yZeroLineVisible;
		return this;
	}




}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy