org.teamapps.dto.UiAbsolutePositioning Maven / Gradle / Ivy
The 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 = UiAbsolutePositioning.class)
public class UiAbsolutePositioning implements UiObject {
protected String topCss;
protected String rightCss;
protected String bottomCss;
protected String leftCss;
protected String widthCss;
protected String heightCss;
protected int zIndex;
/**
* @deprecated Only for Jackson deserialization. Use the other constructor instead.
*/
@Deprecated
public UiAbsolutePositioning() {
// default constructor for Jackson
}
public UiAbsolutePositioning(String topCss, String rightCss, String bottomCss, String leftCss, String widthCss, String heightCss, int zIndex) {
this.topCss = topCss;
this.rightCss = rightCss;
this.bottomCss = bottomCss;
this.leftCss = leftCss;
this.widthCss = widthCss;
this.heightCss = heightCss;
this.zIndex = zIndex;
}
@com.fasterxml.jackson.annotation.JsonIgnore
public UiObjectType getUiObjectType() {
return UiObjectType.UI_ABSOLUTE_POSITIONING;
}
@SuppressWarnings("unchecked")
public String toString() {
return new StringBuilder(getClass().getSimpleName()).append(": ")
.append("topCss=" + topCss).append(", ")
.append("rightCss=" + rightCss).append(", ")
.append("bottomCss=" + bottomCss).append(", ")
.append("leftCss=" + leftCss).append(", ")
.append("widthCss=" + widthCss).append(", ")
.append("heightCss=" + heightCss).append(", ")
.append("zIndex=" + zIndex)
.toString();
}
@com.fasterxml.jackson.annotation.JsonGetter("topCss")
public String getTopCss() {
return topCss;
}
@com.fasterxml.jackson.annotation.JsonGetter("rightCss")
public String getRightCss() {
return rightCss;
}
@com.fasterxml.jackson.annotation.JsonGetter("bottomCss")
public String getBottomCss() {
return bottomCss;
}
@com.fasterxml.jackson.annotation.JsonGetter("leftCss")
public String getLeftCss() {
return leftCss;
}
@com.fasterxml.jackson.annotation.JsonGetter("widthCss")
public String getWidthCss() {
return widthCss;
}
@com.fasterxml.jackson.annotation.JsonGetter("heightCss")
public String getHeightCss() {
return heightCss;
}
@com.fasterxml.jackson.annotation.JsonGetter("zIndex")
public int getZIndex() {
return zIndex;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy