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

org.teamapps.dto.UiGraphGroup 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 = UiGraphGroup.class)
public class UiGraphGroup implements UiGraph, UiObject {


	protected List graphs;
	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 UiGraphGroup() {
	}

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

	@SuppressWarnings("unchecked")
	public String toString() {
		return new StringBuilder(getClass().getSimpleName()).append(": ")
				.append("id=" + id).append(", ")
				.append(graphs != null ? "graphs={" + graphs.toString() + "}" : "").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("graphs")
	public List getGraphs() {
		return graphs;
	}

	@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("graphs")
	public UiGraphGroup setGraphs(List graphs) {
		this.graphs = graphs;
		return this;
	}

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

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

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

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

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

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

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

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

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




}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy