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

org.teamapps.dto.UiTable Maven / Gradle / Ivy

There is a newer version: 0.9.191
Show 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 = UiTable.class)
public class UiTable extends UiComponent implements UiObject {


	protected List columns;
	protected boolean displayAsList;
	protected boolean forceFitWidth;
	protected int rowHeight = 28;
	protected boolean stripedRows = true;
	protected String stripedRowColorEven = "rgb(255, 255, 255)";
	protected String stripedRowColorOdd = "rgba(0, 0, 0, 0.05)";
	protected boolean hideHeaders;
	protected boolean allowMultiRowSelection = true;
	protected String selectionColor = "rgb(222, 238, 255)";
	protected int rowBorderWidth = 1;
	protected String rowBorderColor = "rgb(204, 204, 204)";
	protected boolean showRowCheckBoxes;
	protected boolean showNumbering;
	protected boolean textSelectionEnabled;
	protected boolean autoHeight;
	protected String sortField;
	protected UiSortDirection sortDirection = UiSortDirection.ASC;
	protected boolean editable;
	protected boolean treeMode;
	protected String indentedColumnName;
	protected int indentation = 15;
	protected UiSelectionFrame selectionFrame;
	protected boolean contextMenuEnabled = false;
	protected boolean showHeaderRow = false;
	protected int headerRowBorderWidth = 1;
	protected String headerRowBorderColor = "rgb(204, 204, 204)";
	protected int headerRowHeight = 28;
	protected String headerRowBackgroundColor = "rgba(0, 0, 0, 0.05)";
	protected boolean showFooterRow = false;
	protected int footerRowBorderWidth = 1;
	protected String footerRowBorderColor = "rgb(204, 204, 204)";
	protected int footerRowHeight = 28;
	protected String footerRowBackgroundColor = "rgba(0, 0, 0, 0.05)";

	/**
	 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
	 */
	@Deprecated
	public UiTable() {
		// default constructor for Jackson
	}

	public UiTable(List columns) {
		super();
		this.columns = columns;
	}

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

	@SuppressWarnings("unchecked")
	public String toString() {
		return new StringBuilder(getClass().getSimpleName()).append(": ")
				.append("id=" + id).append(", ")
				.append("debuggingId=" + debuggingId).append(", ")
				.append("classNamesBySelector=" + classNamesBySelector).append(", ")
				.append("indentedColumnName=" + indentedColumnName).append(", ")
				.append("visible=" + visible).append(", ")
				.append("stylesBySelector=" + stylesBySelector).append(", ")
				.append("attributesBySelector=" + attributesBySelector).append(", ")
				.append("displayAsList=" + displayAsList).append(", ")
				.append("forceFitWidth=" + forceFitWidth).append(", ")
				.append("rowHeight=" + rowHeight).append(", ")
				.append("stripedRows=" + stripedRows).append(", ")
				.append("stripedRowColorEven=" + stripedRowColorEven).append(", ")
				.append("stripedRowColorOdd=" + stripedRowColorOdd).append(", ")
				.append("hideHeaders=" + hideHeaders).append(", ")
				.append("allowMultiRowSelection=" + allowMultiRowSelection).append(", ")
				.append("selectionColor=" + selectionColor).append(", ")
				.append("rowBorderWidth=" + rowBorderWidth).append(", ")
				.append("rowBorderColor=" + rowBorderColor).append(", ")
				.append("showRowCheckBoxes=" + showRowCheckBoxes).append(", ")
				.append("showNumbering=" + showNumbering).append(", ")
				.append("textSelectionEnabled=" + textSelectionEnabled).append(", ")
				.append("autoHeight=" + autoHeight).append(", ")
				.append("sortField=" + sortField).append(", ")
				.append("sortDirection=" + sortDirection).append(", ")
				.append("editable=" + editable).append(", ")
				.append("treeMode=" + treeMode).append(", ")
				.append("indentation=" + indentation).append(", ")
				.append("contextMenuEnabled=" + contextMenuEnabled).append(", ")
				.append("showHeaderRow=" + showHeaderRow).append(", ")
				.append("headerRowBorderWidth=" + headerRowBorderWidth).append(", ")
				.append("headerRowBorderColor=" + headerRowBorderColor).append(", ")
				.append("headerRowHeight=" + headerRowHeight).append(", ")
				.append("headerRowBackgroundColor=" + headerRowBackgroundColor).append(", ")
				.append("showFooterRow=" + showFooterRow).append(", ")
				.append("footerRowBorderWidth=" + footerRowBorderWidth).append(", ")
				.append("footerRowBorderColor=" + footerRowBorderColor).append(", ")
				.append("footerRowHeight=" + footerRowHeight).append(", ")
				.append("footerRowBackgroundColor=" + footerRowBackgroundColor).append(", ")
				.append(columns != null ? "columns={" + columns.toString() + "}" : "").append(", ")
				.append(selectionFrame != null ? "selectionFrame={" + selectionFrame.toString() + "}" : "")
				.toString();
	}

	@com.fasterxml.jackson.annotation.JsonGetter("columns")
	public List getColumns() {
		return columns;
	}

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

	@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("stripedRows")
	public boolean getStripedRows() {
		return stripedRows;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("stripedRowColorEven")
	public String getStripedRowColorEven() {
		return stripedRowColorEven;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("stripedRowColorOdd")
	public String getStripedRowColorOdd() {
		return stripedRowColorOdd;
	}

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

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

	@com.fasterxml.jackson.annotation.JsonGetter("selectionColor")
	public String getSelectionColor() {
		return selectionColor;
	}

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

	@com.fasterxml.jackson.annotation.JsonGetter("rowBorderColor")
	public String getRowBorderColor() {
		return rowBorderColor;
	}

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

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

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

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

	@com.fasterxml.jackson.annotation.JsonGetter("sortField")
	public String getSortField() {
		return sortField;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("sortDirection")
	public UiSortDirection getSortDirection() {
		return sortDirection;
	}

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

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

	@com.fasterxml.jackson.annotation.JsonGetter("indentedColumnName")
	public String getIndentedColumnName() {
		return indentedColumnName;
	}

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

	@com.fasterxml.jackson.annotation.JsonGetter("selectionFrame")
	public UiSelectionFrame getSelectionFrame() {
		return selectionFrame;
	}

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

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

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

	@com.fasterxml.jackson.annotation.JsonGetter("headerRowBorderColor")
	public String getHeaderRowBorderColor() {
		return headerRowBorderColor;
	}

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

	@com.fasterxml.jackson.annotation.JsonGetter("headerRowBackgroundColor")
	public String getHeaderRowBackgroundColor() {
		return headerRowBackgroundColor;
	}

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

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

	@com.fasterxml.jackson.annotation.JsonGetter("footerRowBorderColor")
	public String getFooterRowBorderColor() {
		return footerRowBorderColor;
	}

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

	@com.fasterxml.jackson.annotation.JsonGetter("footerRowBackgroundColor")
	public String getFooterRowBackgroundColor() {
		return footerRowBackgroundColor;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("id")
	public UiTable setId(String id) {
		this.id = id;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("debuggingId")
	public UiTable setDebuggingId(String debuggingId) {
		this.debuggingId = debuggingId;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("visible")
	public UiTable setVisible(boolean visible) {
		this.visible = visible;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("stylesBySelector")
	public UiTable setStylesBySelector(Map> stylesBySelector) {
		this.stylesBySelector = stylesBySelector;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("classNamesBySelector")
	public UiTable setClassNamesBySelector(Map> classNamesBySelector) {
		this.classNamesBySelector = classNamesBySelector;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("attributesBySelector")
	public UiTable setAttributesBySelector(Map> attributesBySelector) {
		this.attributesBySelector = attributesBySelector;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("displayAsList")
	public UiTable setDisplayAsList(boolean displayAsList) {
		this.displayAsList = displayAsList;
		return this;
	}

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

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

	@com.fasterxml.jackson.annotation.JsonSetter("stripedRows")
	public UiTable setStripedRows(boolean stripedRows) {
		this.stripedRows = stripedRows;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("stripedRowColorEven")
	public UiTable setStripedRowColorEven(String stripedRowColorEven) {
		this.stripedRowColorEven = stripedRowColorEven;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("stripedRowColorOdd")
	public UiTable setStripedRowColorOdd(String stripedRowColorOdd) {
		this.stripedRowColorOdd = stripedRowColorOdd;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("hideHeaders")
	public UiTable setHideHeaders(boolean hideHeaders) {
		this.hideHeaders = hideHeaders;
		return this;
	}

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

	@com.fasterxml.jackson.annotation.JsonSetter("selectionColor")
	public UiTable setSelectionColor(String selectionColor) {
		this.selectionColor = selectionColor;
		return this;
	}

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

	@com.fasterxml.jackson.annotation.JsonSetter("rowBorderColor")
	public UiTable setRowBorderColor(String rowBorderColor) {
		this.rowBorderColor = rowBorderColor;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("showRowCheckBoxes")
	public UiTable setShowRowCheckBoxes(boolean showRowCheckBoxes) {
		this.showRowCheckBoxes = showRowCheckBoxes;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("showNumbering")
	public UiTable setShowNumbering(boolean showNumbering) {
		this.showNumbering = showNumbering;
		return this;
	}

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

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

	@com.fasterxml.jackson.annotation.JsonSetter("sortField")
	public UiTable setSortField(String sortField) {
		this.sortField = sortField;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("sortDirection")
	public UiTable setSortDirection(UiSortDirection sortDirection) {
		this.sortDirection = sortDirection;
		return this;
	}

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

	@com.fasterxml.jackson.annotation.JsonSetter("treeMode")
	public UiTable setTreeMode(boolean treeMode) {
		this.treeMode = treeMode;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("indentedColumnName")
	public UiTable setIndentedColumnName(String indentedColumnName) {
		this.indentedColumnName = indentedColumnName;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("indentation")
	public UiTable setIndentation(int indentation) {
		this.indentation = indentation;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("selectionFrame")
	public UiTable setSelectionFrame(UiSelectionFrame selectionFrame) {
		this.selectionFrame = selectionFrame;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("contextMenuEnabled")
	public UiTable setContextMenuEnabled(boolean contextMenuEnabled) {
		this.contextMenuEnabled = contextMenuEnabled;
		return this;
	}

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

	@com.fasterxml.jackson.annotation.JsonSetter("headerRowBorderWidth")
	public UiTable setHeaderRowBorderWidth(int headerRowBorderWidth) {
		this.headerRowBorderWidth = headerRowBorderWidth;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("headerRowBorderColor")
	public UiTable setHeaderRowBorderColor(String headerRowBorderColor) {
		this.headerRowBorderColor = headerRowBorderColor;
		return this;
	}

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

	@com.fasterxml.jackson.annotation.JsonSetter("headerRowBackgroundColor")
	public UiTable setHeaderRowBackgroundColor(String headerRowBackgroundColor) {
		this.headerRowBackgroundColor = headerRowBackgroundColor;
		return this;
	}

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

	@com.fasterxml.jackson.annotation.JsonSetter("footerRowBorderWidth")
	public UiTable setFooterRowBorderWidth(int footerRowBorderWidth) {
		this.footerRowBorderWidth = footerRowBorderWidth;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("footerRowBorderColor")
	public UiTable setFooterRowBorderColor(String footerRowBorderColor) {
		this.footerRowBorderColor = footerRowBorderColor;
		return this;
	}

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

	@com.fasterxml.jackson.annotation.JsonSetter("footerRowBackgroundColor")
	public UiTable setFooterRowBackgroundColor(String footerRowBackgroundColor) {
		this.footerRowBackgroundColor = footerRowBackgroundColor;
		return this;
	}

	public static class CellClickedEvent implements UiEvent {

		@UiComponentId protected String componentId;
		protected int recordId;
		protected String columnPropertyName;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public CellClickedEvent() {
			// default constructor for Jackson
		}

		public CellClickedEvent(String componentId, int recordId, String columnPropertyName) {
			this.componentId = componentId;
			this.recordId = recordId;
			this.columnPropertyName = columnPropertyName;
		}

		public UiEventType getUiEventType() {
			return UiEventType.UI_TABLE_CELL_CLICKED;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("recordId=" + recordId).append(", ")
					.append("columnPropertyName=" + columnPropertyName)
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

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

		@com.fasterxml.jackson.annotation.JsonGetter("columnPropertyName")
		public String getColumnPropertyName() {
			return columnPropertyName;
		}

	}

	public static class CellEditingStartedEvent implements UiEvent {

		@UiComponentId protected String componentId;
		protected int recordId;
		protected String columnPropertyName;

		@JsonSerialize(using = ObjectSerializer.class)
		@JsonDeserialize(using = ObjectDeserializer.class)
		protected Object currentValue;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public CellEditingStartedEvent() {
			// default constructor for Jackson
		}

		public CellEditingStartedEvent(String componentId, int recordId, String columnPropertyName, Object currentValue) {
			this.componentId = componentId;
			this.recordId = recordId;
			this.columnPropertyName = columnPropertyName;
			this.currentValue = currentValue;
		}

		public UiEventType getUiEventType() {
			return UiEventType.UI_TABLE_CELL_EDITING_STARTED;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("recordId=" + recordId).append(", ")
					.append("columnPropertyName=" + columnPropertyName).append(", ")
					.append("currentValue=" + currentValue)
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

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

		@com.fasterxml.jackson.annotation.JsonGetter("columnPropertyName")
		public String getColumnPropertyName() {
			return columnPropertyName;
		}

		@com.fasterxml.jackson.annotation.JsonGetter("currentValue")
		public Object getCurrentValue() {
			return currentValue;
		}

	}

	public static class CellEditingStoppedEvent implements UiEvent {

		@UiComponentId protected String componentId;
		protected int recordId;
		protected String columnPropertyName;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public CellEditingStoppedEvent() {
			// default constructor for Jackson
		}

		public CellEditingStoppedEvent(String componentId, int recordId, String columnPropertyName) {
			this.componentId = componentId;
			this.recordId = recordId;
			this.columnPropertyName = columnPropertyName;
		}

		public UiEventType getUiEventType() {
			return UiEventType.UI_TABLE_CELL_EDITING_STOPPED;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("recordId=" + recordId).append(", ")
					.append("columnPropertyName=" + columnPropertyName)
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

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

		@com.fasterxml.jackson.annotation.JsonGetter("columnPropertyName")
		public String getColumnPropertyName() {
			return columnPropertyName;
		}

	}

	public static class CellValueChangedEvent implements UiEvent {

		@UiComponentId protected String componentId;
		protected int recordId;
		protected String columnPropertyName;

		@JsonSerialize(using = ObjectSerializer.class)
		@JsonDeserialize(using = ObjectDeserializer.class)
		protected Object value;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public CellValueChangedEvent() {
			// default constructor for Jackson
		}

		public CellValueChangedEvent(String componentId, int recordId, String columnPropertyName, Object value) {
			this.componentId = componentId;
			this.recordId = recordId;
			this.columnPropertyName = columnPropertyName;
			this.value = value;
		}

		public UiEventType getUiEventType() {
			return UiEventType.UI_TABLE_CELL_VALUE_CHANGED;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("recordId=" + recordId).append(", ")
					.append("columnPropertyName=" + columnPropertyName).append(", ")
					.append("value=" + value)
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

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

		@com.fasterxml.jackson.annotation.JsonGetter("columnPropertyName")
		public String getColumnPropertyName() {
			return columnPropertyName;
		}

		@com.fasterxml.jackson.annotation.JsonGetter("value")
		public Object getValue() {
			return value;
		}

	}

	public static class RowsSelectedEvent implements UiEvent {

		@UiComponentId protected String componentId;
		protected List recordIds;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public RowsSelectedEvent() {
			// default constructor for Jackson
		}

		public RowsSelectedEvent(String componentId, List recordIds) {
			this.componentId = componentId;
			this.recordIds = recordIds;
		}

		public UiEventType getUiEventType() {
			return UiEventType.UI_TABLE_ROWS_SELECTED;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("recordIds=" + recordIds)
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

		@com.fasterxml.jackson.annotation.JsonGetter("recordIds")
		public List getRecordIds() {
			return recordIds;
		}

	}

	public static class SortingChangedEvent implements UiEvent {

		@UiComponentId protected String componentId;
		protected String sortField;
		protected UiSortDirection sortDirection;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public SortingChangedEvent() {
			// default constructor for Jackson
		}

		public SortingChangedEvent(String componentId, String sortField, UiSortDirection sortDirection) {
			this.componentId = componentId;
			this.sortField = sortField;
			this.sortDirection = sortDirection;
		}

		public UiEventType getUiEventType() {
			return UiEventType.UI_TABLE_SORTING_CHANGED;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("sortField=" + sortField).append(", ")
					.append("sortDirection=" + sortDirection)
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

		@com.fasterxml.jackson.annotation.JsonGetter("sortField")
		public String getSortField() {
			return sortField;
		}

		@com.fasterxml.jackson.annotation.JsonGetter("sortDirection")
		public UiSortDirection getSortDirection() {
			return sortDirection;
		}

	}

	public static class DisplayedRangeChangedEvent implements UiEvent {

		@UiComponentId protected String componentId;
		protected int startIndex;
		protected int length;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public DisplayedRangeChangedEvent() {
			// default constructor for Jackson
		}

		public DisplayedRangeChangedEvent(String componentId, int startIndex, int length) {
			this.componentId = componentId;
			this.startIndex = startIndex;
			this.length = length;
		}

		public UiEventType getUiEventType() {
			return UiEventType.UI_TABLE_DISPLAYED_RANGE_CHANGED;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("startIndex=" + startIndex).append(", ")
					.append("length=" + length)
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

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

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

	}

	public static class ContextMenuRequestedEvent implements UiEvent {

		@UiComponentId protected String componentId;
		protected int requestId;
		protected int recordId;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public ContextMenuRequestedEvent() {
			// default constructor for Jackson
		}

		public ContextMenuRequestedEvent(String componentId, int requestId, int recordId) {
			this.componentId = componentId;
			this.requestId = requestId;
			this.recordId = recordId;
		}

		public UiEventType getUiEventType() {
			return UiEventType.UI_TABLE_CONTEXT_MENU_REQUESTED;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("requestId=" + requestId).append(", ")
					.append("recordId=" + recordId)
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

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

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

	}

	public static class FieldOrderChangeEvent implements UiEvent {

		@UiComponentId protected String componentId;
		protected String columnPropertyName;
		protected int position;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public FieldOrderChangeEvent() {
			// default constructor for Jackson
		}

		public FieldOrderChangeEvent(String componentId, String columnPropertyName, int position) {
			this.componentId = componentId;
			this.columnPropertyName = columnPropertyName;
			this.position = position;
		}

		public UiEventType getUiEventType() {
			return UiEventType.UI_TABLE_FIELD_ORDER_CHANGE;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("columnPropertyName=" + columnPropertyName).append(", ")
					.append("position=" + position)
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

		@com.fasterxml.jackson.annotation.JsonGetter("columnPropertyName")
		public String getColumnPropertyName() {
			return columnPropertyName;
		}

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

	}

	public static class ColumnSizeChangeEvent implements UiEvent {

		@UiComponentId protected String componentId;
		protected String columnPropertyName;
		protected int size;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public ColumnSizeChangeEvent() {
			// default constructor for Jackson
		}

		public ColumnSizeChangeEvent(String componentId, String columnPropertyName, int size) {
			this.componentId = componentId;
			this.columnPropertyName = columnPropertyName;
			this.size = size;
		}

		public UiEventType getUiEventType() {
			return UiEventType.UI_TABLE_COLUMN_SIZE_CHANGE;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("columnPropertyName=" + columnPropertyName).append(", ")
					.append("size=" + size)
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

		@com.fasterxml.jackson.annotation.JsonGetter("columnPropertyName")
		public String getColumnPropertyName() {
			return columnPropertyName;
		}

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

	}


	public static class UpdateRefreshableConfigCommand implements UiCommand {

		@UiComponentId protected String componentId;
		protected UiRefreshableTableConfigUpdate config;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public UpdateRefreshableConfigCommand() {
			// default constructor for Jackson
		}

		public UpdateRefreshableConfigCommand(String componentId, UiRefreshableTableConfigUpdate config) {
			this.componentId = componentId;
			this.config = config;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append(config != null ? "config={" + config.toString() + "}" : "")
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

		@com.fasterxml.jackson.annotation.JsonGetter("config")
		public UiRefreshableTableConfigUpdate getConfig() {
			return config;
		}

	}

	public static class ClearTableCommand implements UiCommand {

		@UiComponentId protected String componentId;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public ClearTableCommand() {
			// default constructor for Jackson
		}

		public ClearTableCommand(String componentId) {
			this.componentId = componentId;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId)
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

	}

	public static class UpdateDataCommand implements UiCommand {

		@UiComponentId protected String componentId;
		protected int startIndex;
		protected List recordIds;
		protected List newRecords;
		protected int totalNumberOfRecords;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public UpdateDataCommand() {
			// default constructor for Jackson
		}

		public UpdateDataCommand(String componentId, int startIndex, List recordIds, List newRecords, int totalNumberOfRecords) {
			this.componentId = componentId;
			this.startIndex = startIndex;
			this.recordIds = recordIds;
			this.newRecords = newRecords;
			this.totalNumberOfRecords = totalNumberOfRecords;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("recordIds=" + recordIds).append(", ")
					.append("startIndex=" + startIndex).append(", ")
					.append("totalNumberOfRecords=" + totalNumberOfRecords).append(", ")
					.append(newRecords != null ? "newRecords={" + newRecords.toString() + "}" : "")
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

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

		@com.fasterxml.jackson.annotation.JsonGetter("recordIds")
		public List getRecordIds() {
			return recordIds;
		}

		@com.fasterxml.jackson.annotation.JsonGetter("newRecords")
		public List getNewRecords() {
			return newRecords;
		}

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

	}

	public static class SetSortingCommand implements UiCommand {

		@UiComponentId protected String componentId;
		protected String sortField;
		protected UiSortDirection sortDirection;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public SetSortingCommand() {
			// default constructor for Jackson
		}

		public SetSortingCommand(String componentId, String sortField, UiSortDirection sortDirection) {
			this.componentId = componentId;
			this.sortField = sortField;
			this.sortDirection = sortDirection;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("sortField=" + sortField).append(", ")
					.append("sortDirection=" + sortDirection)
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

		@com.fasterxml.jackson.annotation.JsonGetter("sortField")
		public String getSortField() {
			return sortField;
		}

		@com.fasterxml.jackson.annotation.JsonGetter("sortDirection")
		public UiSortDirection getSortDirection() {
			return sortDirection;
		}

	}

	public static class SetCellValueCommand implements UiCommand {

		@UiComponentId protected String componentId;
		protected int recordId;
		protected String columnPropertyName;

		@JsonSerialize(using = ObjectSerializer.class)
		@JsonDeserialize(using = ObjectDeserializer.class)
		protected Object value;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public SetCellValueCommand() {
			// default constructor for Jackson
		}

		public SetCellValueCommand(String componentId, int recordId, String columnPropertyName, Object value) {
			this.componentId = componentId;
			this.recordId = recordId;
			this.columnPropertyName = columnPropertyName;
			this.value = value;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("recordId=" + recordId).append(", ")
					.append("columnPropertyName=" + columnPropertyName).append(", ")
					.append("value=" + value)
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

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

		@com.fasterxml.jackson.annotation.JsonGetter("columnPropertyName")
		public String getColumnPropertyName() {
			return columnPropertyName;
		}

		@com.fasterxml.jackson.annotation.JsonGetter("value")
		public Object getValue() {
			return value;
		}

	}

	public static class MarkTableFieldCommand implements UiCommand {

		@UiComponentId protected String componentId;
		protected int recordId;
		protected String columnPropertyName;
		protected boolean mark;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public MarkTableFieldCommand() {
			// default constructor for Jackson
		}

		public MarkTableFieldCommand(String componentId, int recordId, String columnPropertyName, boolean mark) {
			this.componentId = componentId;
			this.recordId = recordId;
			this.columnPropertyName = columnPropertyName;
			this.mark = mark;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("recordId=" + recordId).append(", ")
					.append("columnPropertyName=" + columnPropertyName).append(", ")
					.append("mark=" + mark)
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

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

		@com.fasterxml.jackson.annotation.JsonGetter("columnPropertyName")
		public String getColumnPropertyName() {
			return columnPropertyName;
		}

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

	}

	public static class ClearAllFieldMarkingsCommand implements UiCommand {

		@UiComponentId protected String componentId;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public ClearAllFieldMarkingsCommand() {
			// default constructor for Jackson
		}

		public ClearAllFieldMarkingsCommand(String componentId) {
			this.componentId = componentId;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId)
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

	}

	public static class SetRecordBoldCommand implements UiCommand {

		@UiComponentId protected String componentId;
		protected int recordId;
		protected boolean bold;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public SetRecordBoldCommand() {
			// default constructor for Jackson
		}

		public SetRecordBoldCommand(String componentId, int recordId, boolean bold) {
			this.componentId = componentId;
			this.recordId = recordId;
			this.bold = bold;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("recordId=" + recordId).append(", ")
					.append("bold=" + bold)
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

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

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

	}

	public static class SelectRecordsCommand implements UiCommand {

		@UiComponentId protected String componentId;
		protected List recordIds;
		protected boolean scrollToFirstRecord;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public SelectRecordsCommand() {
			// default constructor for Jackson
		}

		public SelectRecordsCommand(String componentId, List recordIds, boolean scrollToFirstRecord) {
			this.componentId = componentId;
			this.recordIds = recordIds;
			this.scrollToFirstRecord = scrollToFirstRecord;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("recordIds=" + recordIds).append(", ")
					.append("scrollToFirstRecord=" + scrollToFirstRecord)
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

		@com.fasterxml.jackson.annotation.JsonGetter("recordIds")
		public List getRecordIds() {
			return recordIds;
		}

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

	}

	public static class SelectRowsCommand implements UiCommand {

		@UiComponentId protected String componentId;
		protected List rowIndexes;
		protected boolean scrollToFirstRowIndex;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public SelectRowsCommand() {
			// default constructor for Jackson
		}

		public SelectRowsCommand(String componentId, List rowIndexes, boolean scrollToFirstRowIndex) {
			this.componentId = componentId;
			this.rowIndexes = rowIndexes;
			this.scrollToFirstRowIndex = scrollToFirstRowIndex;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("rowIndexes=" + rowIndexes).append(", ")
					.append("scrollToFirstRowIndex=" + scrollToFirstRowIndex)
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

		@com.fasterxml.jackson.annotation.JsonGetter("rowIndexes")
		public List getRowIndexes() {
			return rowIndexes;
		}

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

	}

	public static class CancelEditingCellCommand implements UiCommand {

		@UiComponentId protected String componentId;
		protected int recordId;
		protected String propertyName;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public CancelEditingCellCommand() {
			// default constructor for Jackson
		}

		public CancelEditingCellCommand(String componentId, int recordId, String propertyName) {
			this.componentId = componentId;
			this.recordId = recordId;
			this.propertyName = propertyName;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("recordId=" + recordId).append(", ")
					.append("propertyName=" + propertyName)
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

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

		@com.fasterxml.jackson.annotation.JsonGetter("propertyName")
		public String getPropertyName() {
			return propertyName;
		}

	}

	public static class FocusCellCommand implements UiCommand {

		@UiComponentId protected String componentId;
		protected int recordId;
		protected String columnPropertyName;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public FocusCellCommand() {
			// default constructor for Jackson
		}

		public FocusCellCommand(String componentId, int recordId, String columnPropertyName) {
			this.componentId = componentId;
			this.recordId = recordId;
			this.columnPropertyName = columnPropertyName;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("recordId=" + recordId).append(", ")
					.append("columnPropertyName=" + columnPropertyName)
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

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

		@com.fasterxml.jackson.annotation.JsonGetter("columnPropertyName")
		public String getColumnPropertyName() {
			return columnPropertyName;
		}

	}

	public static class SetSingleCellMessagesCommand implements UiCommand {

		@UiComponentId protected String componentId;
		protected int recordId;
		protected String columnPropertyName;
		protected List messages;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public SetSingleCellMessagesCommand() {
			// default constructor for Jackson
		}

		public SetSingleCellMessagesCommand(String componentId, int recordId, String columnPropertyName, List messages) {
			this.componentId = componentId;
			this.recordId = recordId;
			this.columnPropertyName = columnPropertyName;
			this.messages = messages;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("recordId=" + recordId).append(", ")
					.append("columnPropertyName=" + columnPropertyName).append(", ")
					.append(messages != null ? "messages={" + messages.toString() + "}" : "")
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

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

		@com.fasterxml.jackson.annotation.JsonGetter("columnPropertyName")
		public String getColumnPropertyName() {
			return columnPropertyName;
		}

		@com.fasterxml.jackson.annotation.JsonGetter("messages")
		public List getMessages() {
			return messages;
		}

	}

	public static class ClearAllCellMessagesCommand implements UiCommand {

		@UiComponentId protected String componentId;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public ClearAllCellMessagesCommand() {
			// default constructor for Jackson
		}

		public ClearAllCellMessagesCommand(String componentId) {
			this.componentId = componentId;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId)
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

	}

	public static class SetColumnMessagesCommand implements UiCommand {

		@UiComponentId protected String componentId;
		protected String columnPropertyName;
		protected List messages;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public SetColumnMessagesCommand() {
			// default constructor for Jackson
		}

		public SetColumnMessagesCommand(String componentId, String columnPropertyName, List messages) {
			this.componentId = componentId;
			this.columnPropertyName = columnPropertyName;
			this.messages = messages;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("columnPropertyName=" + columnPropertyName).append(", ")
					.append(messages != null ? "messages={" + messages.toString() + "}" : "")
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

		@com.fasterxml.jackson.annotation.JsonGetter("columnPropertyName")
		public String getColumnPropertyName() {
			return columnPropertyName;
		}

		@com.fasterxml.jackson.annotation.JsonGetter("messages")
		public List getMessages() {
			return messages;
		}

	}

	public static class AddColumnsCommand implements UiCommand {

		@UiComponentId protected String componentId;
		protected List column;
		protected int index;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public AddColumnsCommand() {
			// default constructor for Jackson
		}

		public AddColumnsCommand(String componentId, List column, int index) {
			this.componentId = componentId;
			this.column = column;
			this.index = index;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("index=" + index).append(", ")
					.append(column != null ? "column={" + column.toString() + "}" : "")
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

		@com.fasterxml.jackson.annotation.JsonGetter("column")
		public List getColumn() {
			return column;
		}

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

	}

	public static class RemoveColumnsCommand implements UiCommand {

		@UiComponentId protected String componentId;
		protected List columnName;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public RemoveColumnsCommand() {
			// default constructor for Jackson
		}

		public RemoveColumnsCommand(String componentId, List columnName) {
			this.componentId = componentId;
			this.columnName = columnName;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("columnName=" + columnName)
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

		@com.fasterxml.jackson.annotation.JsonGetter("columnName")
		public List getColumnName() {
			return columnName;
		}

	}

	public static class SetColumnVisibilityCommand implements UiCommand {

		@UiComponentId protected String componentId;
		protected String columnPropertyName;
		protected boolean visible;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public SetColumnVisibilityCommand() {
			// default constructor for Jackson
		}

		public SetColumnVisibilityCommand(String componentId, String columnPropertyName, boolean visible) {
			this.componentId = componentId;
			this.columnPropertyName = columnPropertyName;
			this.visible = visible;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("columnPropertyName=" + columnPropertyName).append(", ")
					.append("visible=" + visible)
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

		@com.fasterxml.jackson.annotation.JsonGetter("columnPropertyName")
		public String getColumnPropertyName() {
			return columnPropertyName;
		}

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

	}

	public static class SetContextMenuContentCommand implements UiCommand {

		@UiComponentId protected String componentId;
		protected int requestId;
		protected UiClientObjectReference component;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public SetContextMenuContentCommand() {
			// default constructor for Jackson
		}

		public SetContextMenuContentCommand(String componentId, int requestId, UiClientObjectReference component) {
			this.componentId = componentId;
			this.requestId = requestId;
			this.component = component;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("requestId=" + requestId).append(", ")
					.append(component != null ? "component={" + component.toString() + "}" : "")
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

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

		@com.fasterxml.jackson.annotation.JsonGetter("component")
		public UiClientObjectReference getComponent() {
			return component;
		}

	}

	public static class CloseContextMenuCommand implements UiCommand {

		@UiComponentId protected String componentId;
		protected int requestId;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public CloseContextMenuCommand() {
			// default constructor for Jackson
		}

		public CloseContextMenuCommand(String componentId, int requestId) {
			this.componentId = componentId;
			this.requestId = requestId;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("requestId=" + requestId)
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

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

	}

	public static class SetHeaderRowFieldCommand implements UiCommand {

		@UiComponentId protected String componentId;
		protected String columnName;
		protected UiClientObjectReference field;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public SetHeaderRowFieldCommand() {
			// default constructor for Jackson
		}

		public SetHeaderRowFieldCommand(String componentId, String columnName, UiClientObjectReference field) {
			this.componentId = componentId;
			this.columnName = columnName;
			this.field = field;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("columnName=" + columnName).append(", ")
					.append(field != null ? "field={" + field.toString() + "}" : "")
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

		@com.fasterxml.jackson.annotation.JsonGetter("columnName")
		public String getColumnName() {
			return columnName;
		}

		@com.fasterxml.jackson.annotation.JsonGetter("field")
		public UiClientObjectReference getField() {
			return field;
		}

	}

	public static class SetFooterRowFieldCommand implements UiCommand {

		@UiComponentId protected String componentId;
		protected String columnName;
		protected UiClientObjectReference field;

		/**
		 * @deprecated Only for Jackson deserialization. Use the other constructor instead.
		 */
		@Deprecated
		public SetFooterRowFieldCommand() {
			// default constructor for Jackson
		}

		public SetFooterRowFieldCommand(String componentId, String columnName, UiClientObjectReference field) {
			this.componentId = componentId;
			this.columnName = columnName;
			this.field = field;
		}

		@SuppressWarnings("unchecked")
		public String toString() {
			return new StringBuilder(getClass().getSimpleName()).append(": ")
					.append("componentId=" + componentId).append(", ")
					.append("columnName=" + columnName).append(", ")
					.append(field != null ? "field={" + field.toString() + "}" : "")
					.toString();
		}

		@com.fasterxml.jackson.annotation.JsonGetter("componentId")
		public String getComponentId() {
			return componentId;
		}

		@com.fasterxml.jackson.annotation.JsonGetter("columnName")
		public String getColumnName() {
			return columnName;
		}

		@com.fasterxml.jackson.annotation.JsonGetter("field")
		public UiClientObjectReference getField() {
			return field;
		}

	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy