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

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


	protected boolean forceFitWidth;
	protected int rowHeight;
	protected boolean allowMultiRowSelection;
	protected int rowBorderWidth;
	protected boolean textSelectionEnabled;
	protected boolean editable;
	protected boolean showHeaderRow;
	protected int headerRowHeight;
	protected boolean showFooterRow;
	protected int footerRowHeight;
	protected boolean autoHeight;

	public UiRefreshableTableConfigUpdate() {
	}

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

	@SuppressWarnings("unchecked")
	public String toString() {
		return new StringBuilder(getClass().getSimpleName()).append(": ")
				.append("forceFitWidth=" + forceFitWidth).append(", ")
				.append("rowHeight=" + rowHeight).append(", ")
				.append("allowMultiRowSelection=" + allowMultiRowSelection).append(", ")
				.append("rowBorderWidth=" + rowBorderWidth).append(", ")
				.append("textSelectionEnabled=" + textSelectionEnabled).append(", ")
				.append("editable=" + editable).append(", ")
				.append("showHeaderRow=" + showHeaderRow).append(", ")
				.append("headerRowHeight=" + headerRowHeight).append(", ")
				.append("showFooterRow=" + showFooterRow).append(", ")
				.append("footerRowHeight=" + footerRowHeight).append(", ")
				.append("autoHeight=" + autoHeight)
				.toString();
	}

	@com.fasterxml.jackson.annotation.JsonGetter("forceFitWidth")
	public boolean getForceFitWidth() {
		return forceFitWidth;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("rowHeight")
	public int getRowHeight() {
		return rowHeight;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("allowMultiRowSelection")
	public boolean getAllowMultiRowSelection() {
		return allowMultiRowSelection;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("rowBorderWidth")
	public int getRowBorderWidth() {
		return rowBorderWidth;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("textSelectionEnabled")
	public boolean getTextSelectionEnabled() {
		return textSelectionEnabled;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("editable")
	public boolean getEditable() {
		return editable;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("showHeaderRow")
	public boolean getShowHeaderRow() {
		return showHeaderRow;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("headerRowHeight")
	public int getHeaderRowHeight() {
		return headerRowHeight;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("showFooterRow")
	public boolean getShowFooterRow() {
		return showFooterRow;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("footerRowHeight")
	public int getFooterRowHeight() {
		return footerRowHeight;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("autoHeight")
	public boolean getAutoHeight() {
		return autoHeight;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("forceFitWidth")
	public UiRefreshableTableConfigUpdate setForceFitWidth(boolean forceFitWidth) {
		this.forceFitWidth = forceFitWidth;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("rowHeight")
	public UiRefreshableTableConfigUpdate setRowHeight(int rowHeight) {
		this.rowHeight = rowHeight;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("allowMultiRowSelection")
	public UiRefreshableTableConfigUpdate setAllowMultiRowSelection(boolean allowMultiRowSelection) {
		this.allowMultiRowSelection = allowMultiRowSelection;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("rowBorderWidth")
	public UiRefreshableTableConfigUpdate setRowBorderWidth(int rowBorderWidth) {
		this.rowBorderWidth = rowBorderWidth;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("textSelectionEnabled")
	public UiRefreshableTableConfigUpdate setTextSelectionEnabled(boolean textSelectionEnabled) {
		this.textSelectionEnabled = textSelectionEnabled;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("editable")
	public UiRefreshableTableConfigUpdate setEditable(boolean editable) {
		this.editable = editable;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("showHeaderRow")
	public UiRefreshableTableConfigUpdate setShowHeaderRow(boolean showHeaderRow) {
		this.showHeaderRow = showHeaderRow;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("headerRowHeight")
	public UiRefreshableTableConfigUpdate setHeaderRowHeight(int headerRowHeight) {
		this.headerRowHeight = headerRowHeight;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("showFooterRow")
	public UiRefreshableTableConfigUpdate setShowFooterRow(boolean showFooterRow) {
		this.showFooterRow = showFooterRow;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("footerRowHeight")
	public UiRefreshableTableConfigUpdate setFooterRowHeight(int footerRowHeight) {
		this.footerRowHeight = footerRowHeight;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("autoHeight")
	public UiRefreshableTableConfigUpdate setAutoHeight(boolean autoHeight) {
		this.autoHeight = autoHeight;
		return this;
	}




}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy