org.teamapps.dto.UiComboBoxTreeRecord 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 = UiComboBoxTreeRecord.class)
public class UiComboBoxTreeRecord extends UiTreeRecord implements UiObject {
protected String dropDownTemplateId = null;
public UiComboBoxTreeRecord() {
super();
}
@com.fasterxml.jackson.annotation.JsonIgnore
public UiObjectType getUiObjectType() {
return UiObjectType.UI_COMBO_BOX_TREE_RECORD;
}
@SuppressWarnings("unchecked")
public String toString() {
return new StringBuilder(getClass().getSimpleName()).append(": ")
.append("id=" + id).append(", ")
.append("parentId=" + parentId).append(", ")
.append("displayTemplateId=" + displayTemplateId).append(", ")
.append("dropDownTemplateId=" + dropDownTemplateId).append(", ")
.append("values=" + values).append(", ")
.append("asString=" + asString).append(", ")
.append("expanded=" + expanded).append(", ")
.append("lazyChildren=" + lazyChildren).append(", ")
.append("selectable=" + selectable)
.toString();
}
@com.fasterxml.jackson.annotation.JsonGetter("dropDownTemplateId")
public String getDropDownTemplateId() {
return dropDownTemplateId;
}
@com.fasterxml.jackson.annotation.JsonSetter("values")
public UiComboBoxTreeRecord setValues(Map values) {
this.values = values;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("asString")
public UiComboBoxTreeRecord setAsString(String asString) {
this.asString = asString;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("id")
public UiComboBoxTreeRecord setId(int id) {
this.id = id;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("parentId")
public UiComboBoxTreeRecord setParentId(Integer parentId) {
this.parentId = parentId;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("expanded")
public UiComboBoxTreeRecord setExpanded(boolean expanded) {
this.expanded = expanded;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("lazyChildren")
public UiComboBoxTreeRecord setLazyChildren(boolean lazyChildren) {
this.lazyChildren = lazyChildren;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("selectable")
public UiComboBoxTreeRecord setSelectable(boolean selectable) {
this.selectable = selectable;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("displayTemplateId")
public UiComboBoxTreeRecord setDisplayTemplateId(String displayTemplateId) {
this.displayTemplateId = displayTemplateId;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("dropDownTemplateId")
public UiComboBoxTreeRecord setDropDownTemplateId(String dropDownTemplateId) {
this.dropDownTemplateId = dropDownTemplateId;
return this;
}
}