org.teamapps.dto.UiHoseGraph Maven / Gradle / Ivy
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 = UiHoseGraph.class)
public class UiHoseGraph implements UiGraph, UiObject {
protected String upperBoundDataSeriesId;
protected String middleLineDataSeriesId;
protected String lowerBoundDataSeriesId;
protected UiLineChartCurveType graphType = UiLineChartCurveType.MONOTONE;
protected float dataDotRadius;
protected String areaColor;
protected boolean stripedArea;
protected String middleLineColor;
protected String lowerLineColor;
protected String upperLineColor;
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 UiHoseGraph() {
}
@com.fasterxml.jackson.annotation.JsonIgnore
public UiObjectType getUiObjectType() {
return UiObjectType.UI_HOSE_GRAPH;
}
@SuppressWarnings("unchecked")
public String toString() {
return new StringBuilder(getClass().getSimpleName()).append(": ")
.append("id=" + id).append(", ")
.append("upperBoundDataSeriesId=" + upperBoundDataSeriesId).append(", ")
.append("middleLineDataSeriesId=" + middleLineDataSeriesId).append(", ")
.append("lowerBoundDataSeriesId=" + lowerBoundDataSeriesId).append(", ")
.append("graphType=" + graphType).append(", ")
.append("dataDotRadius=" + dataDotRadius).append(", ")
.append("areaColor=" + areaColor).append(", ")
.append("stripedArea=" + stripedArea).append(", ")
.append("middleLineColor=" + middleLineColor).append(", ")
.append("lowerLineColor=" + lowerLineColor).append(", ")
.append("upperLineColor=" + upperLineColor).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("upperBoundDataSeriesId")
public String getUpperBoundDataSeriesId() {
return upperBoundDataSeriesId;
}
@com.fasterxml.jackson.annotation.JsonGetter("middleLineDataSeriesId")
public String getMiddleLineDataSeriesId() {
return middleLineDataSeriesId;
}
@com.fasterxml.jackson.annotation.JsonGetter("lowerBoundDataSeriesId")
public String getLowerBoundDataSeriesId() {
return lowerBoundDataSeriesId;
}
@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("areaColor")
public String getAreaColor() {
return areaColor;
}
@com.fasterxml.jackson.annotation.JsonGetter("stripedArea")
public boolean getStripedArea() {
return stripedArea;
}
@com.fasterxml.jackson.annotation.JsonGetter("middleLineColor")
public String getMiddleLineColor() {
return middleLineColor;
}
@com.fasterxml.jackson.annotation.JsonGetter("lowerLineColor")
public String getLowerLineColor() {
return lowerLineColor;
}
@com.fasterxml.jackson.annotation.JsonGetter("upperLineColor")
public String getUpperLineColor() {
return upperLineColor;
}
@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("upperBoundDataSeriesId")
public UiHoseGraph setUpperBoundDataSeriesId(String upperBoundDataSeriesId) {
this.upperBoundDataSeriesId = upperBoundDataSeriesId;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("middleLineDataSeriesId")
public UiHoseGraph setMiddleLineDataSeriesId(String middleLineDataSeriesId) {
this.middleLineDataSeriesId = middleLineDataSeriesId;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("lowerBoundDataSeriesId")
public UiHoseGraph setLowerBoundDataSeriesId(String lowerBoundDataSeriesId) {
this.lowerBoundDataSeriesId = lowerBoundDataSeriesId;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("graphType")
public UiHoseGraph setGraphType(UiLineChartCurveType graphType) {
this.graphType = graphType;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("dataDotRadius")
public UiHoseGraph setDataDotRadius(float dataDotRadius) {
this.dataDotRadius = dataDotRadius;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("areaColor")
public UiHoseGraph setAreaColor(String areaColor) {
this.areaColor = areaColor;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("stripedArea")
public UiHoseGraph setStripedArea(boolean stripedArea) {
this.stripedArea = stripedArea;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("middleLineColor")
public UiHoseGraph setMiddleLineColor(String middleLineColor) {
this.middleLineColor = middleLineColor;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("lowerLineColor")
public UiHoseGraph setLowerLineColor(String lowerLineColor) {
this.lowerLineColor = lowerLineColor;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("upperLineColor")
public UiHoseGraph setUpperLineColor(String upperLineColor) {
this.upperLineColor = upperLineColor;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("id")
public UiHoseGraph setId(String id) {
this.id = id;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("yAxisVisible")
public UiHoseGraph setYAxisVisible(boolean yAxisVisible) {
this.yAxisVisible = yAxisVisible;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("yAxisColor")
public UiHoseGraph setYAxisColor(String yAxisColor) {
this.yAxisColor = yAxisColor;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("yAxisLabel")
public UiHoseGraph setYAxisLabel(String yAxisLabel) {
this.yAxisLabel = yAxisLabel;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("maxTickDigits")
public UiHoseGraph setMaxTickDigits(int maxTickDigits) {
this.maxTickDigits = maxTickDigits;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("yScaleType")
public UiHoseGraph setYScaleType(UiScaleType yScaleType) {
this.yScaleType = yScaleType;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("intervalY")
public UiHoseGraph setIntervalY(UiLongInterval intervalY) {
this.intervalY = intervalY;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("yScaleZoomMode")
public UiHoseGraph setYScaleZoomMode(UiLineChartYScaleZoomMode yScaleZoomMode) {
this.yScaleZoomMode = yScaleZoomMode;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("yZeroLineVisible")
public UiHoseGraph setYZeroLineVisible(boolean yZeroLineVisible) {
this.yZeroLineVisible = yZeroLineVisible;
return this;
}
}