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

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

There is a newer version: 0.9.194
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")
@JsonTypeIdResolver(TeamAppsJacksonTypeIdResolver.class)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class UiLineChartLine extends AbstractUiLineChartDataDisplay implements UiObject {


	protected String dataSeriesId;
	protected UiLineChartCurveType graphType = UiLineChartCurveType.MONOTONE;
	protected float dataDotRadius;
	protected UiColor lineColorScaleMin;
	protected UiColor lineColorScaleMax;
	protected UiColor areaColorScaleMin;
	protected UiColor areaColorScaleMax;

	public UiLineChartLine() {
		super();
	}

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

	@SuppressWarnings("unchecked")
	public String toString() {
		return new StringBuilder(getClass().getSimpleName()).append(": ")
				.append("id=" + id).append(", ")
				.append("dataSeriesId=" + dataSeriesId).append(", ")
				.append("yScaleType=" + yScaleType).append(", ")
				.append("yScaleZoomMode=" + yScaleZoomMode).append(", ")
				.append("yZeroLineVisible=" + yZeroLineVisible).append(", ")
				.append("graphType=" + graphType).append(", ")
				.append("dataDotRadius=" + dataDotRadius).append(", ")
				.append(yAxisColor != null ? "yAxisColor={" + yAxisColor.toString() + "}" : "").append(", ")
				.append(intervalY != null ? "intervalY={" + intervalY.toString() + "}" : "").append(", ")
				.append(lineColorScaleMin != null ? "lineColorScaleMin={" + lineColorScaleMin.toString() + "}" : "").append(", ")
				.append(lineColorScaleMax != null ? "lineColorScaleMax={" + lineColorScaleMax.toString() + "}" : "").append(", ")
				.append(areaColorScaleMin != null ? "areaColorScaleMin={" + areaColorScaleMin.toString() + "}" : "").append(", ")
				.append(areaColorScaleMax != null ? "areaColorScaleMax={" + areaColorScaleMax.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 UiColor getLineColorScaleMin() {
		return lineColorScaleMin;
	}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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






}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy