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

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


	protected UiSizingPolicy widthPolicy;
	protected int leftPadding;
	protected int rightPadding;

	public UiGridColumn() {
	}

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

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

	@com.fasterxml.jackson.annotation.JsonGetter("widthPolicy")
	public UiSizingPolicy getWidthPolicy() {
		return widthPolicy;
	}

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

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

	@com.fasterxml.jackson.annotation.JsonSetter("widthPolicy")
	public UiGridColumn setWidthPolicy(UiSizingPolicy widthPolicy) {
		this.widthPolicy = widthPolicy;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("leftPadding")
	public UiGridColumn setLeftPadding(int leftPadding) {
		this.leftPadding = leftPadding;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("rightPadding")
	public UiGridColumn setRightPadding(int rightPadding) {
		this.rightPadding = rightPadding;
		return this;
	}




}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy