org.teamapps.dto.AbstractUiLineChartDataDisplay 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")
@JsonTypeIdResolver(TeamAppsJacksonTypeIdResolver.class)
@JsonInclude(JsonInclude.Include.NON_NULL)
public abstract class AbstractUiLineChartDataDisplay implements UiObject {
protected String id;
protected UiColor yAxisColor = new UiColor(0, 0, 0);
protected UiScaleType yScaleType = UiScaleType.LINEAR;
protected UiLongInterval intervalY;
protected UiLineChartYScaleZoomMode yScaleZoomMode = UiLineChartYScaleZoomMode.DYNAMIC_INCLUDING_ZERO;
protected boolean yZeroLineVisible;
public AbstractUiLineChartDataDisplay() {
}
@SuppressWarnings("unchecked")
public String toString() {
return new StringBuilder(getClass().getSimpleName()).append(": ")
.append("id=" + id).append(", ")
.append("yScaleType=" + yScaleType).append(", ")
.append("yScaleZoomMode=" + yScaleZoomMode).append(", ")
.append("yZeroLineVisible=" + yZeroLineVisible).append(", ")
.append(yAxisColor != null ? "yAxisColor={" + yAxisColor.toString() + "}" : "").append(", ")
.append(intervalY != null ? "intervalY={" + intervalY.toString() + "}" : "")
.toString();
}
@com.fasterxml.jackson.annotation.JsonGetter("id")
public String getId() {
return id;
}
@com.fasterxml.jackson.annotation.JsonGetter("yAxisColor")
public UiColor getYAxisColor() {
return yAxisColor;
}
@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("id")
public AbstractUiLineChartDataDisplay setId(String id) {
this.id = id;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("yAxisColor")
public AbstractUiLineChartDataDisplay setYAxisColor(UiColor yAxisColor) {
this.yAxisColor = yAxisColor;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("yScaleType")
public AbstractUiLineChartDataDisplay setYScaleType(UiScaleType yScaleType) {
this.yScaleType = yScaleType;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("intervalY")
public AbstractUiLineChartDataDisplay setIntervalY(UiLongInterval intervalY) {
this.intervalY = intervalY;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("yScaleZoomMode")
public AbstractUiLineChartDataDisplay setYScaleZoomMode(UiLineChartYScaleZoomMode yScaleZoomMode) {
this.yScaleZoomMode = yScaleZoomMode;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("yZeroLineVisible")
public AbstractUiLineChartDataDisplay setYZeroLineVisible(boolean yZeroLineVisible) {
this.yZeroLineVisible = yZeroLineVisible;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy