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

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



	public UiLocalDateTimeField() {
		super();
	}

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

	@SuppressWarnings("unchecked")
	public String toString() {
		return new StringBuilder(getClass().getSimpleName()).append(": ")
				.append("id=" + id).append(", ")
				.append("debuggingId=" + debuggingId).append(", ")
				.append("classNamesBySelector=" + classNamesBySelector).append(", ")
				.append("visible=" + visible).append(", ")
				.append("stylesBySelector=" + stylesBySelector).append(", ")
				.append("attributesBySelector=" + attributesBySelector).append(", ")
				.append("editingMode=" + editingMode).append(", ")
				.append("value=" + value).append(", ")
				.append("showDropDownButton=" + showDropDownButton).append(", ")
				.append("favorPastDates=" + favorPastDates).append(", ")
				.append("locale=" + locale).append(", ")
				.append(fieldMessages != null ? "fieldMessages={" + fieldMessages.toString() + "}" : "").append(", ")
				.append(dateFormat != null ? "dateFormat={" + dateFormat.toString() + "}" : "").append(", ")
				.append(timeFormat != null ? "timeFormat={" + timeFormat.toString() + "}" : "")
				.toString();
	}


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

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

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

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

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

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

	@com.fasterxml.jackson.annotation.JsonSetter("editingMode")
	public UiLocalDateTimeField setEditingMode(UiFieldEditingMode editingMode) {
		this.editingMode = editingMode;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("value")
	public UiLocalDateTimeField setValue(Object value) {
		this.value = value;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("fieldMessages")
	public UiLocalDateTimeField setFieldMessages(List fieldMessages) {
		this.fieldMessages = fieldMessages;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("showDropDownButton")
	public UiLocalDateTimeField setShowDropDownButton(boolean showDropDownButton) {
		this.showDropDownButton = showDropDownButton;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("favorPastDates")
	public UiLocalDateTimeField setFavorPastDates(boolean favorPastDates) {
		this.favorPastDates = favorPastDates;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("locale")
	public UiLocalDateTimeField setLocale(String locale) {
		this.locale = locale;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("dateFormat")
	public UiLocalDateTimeField setDateFormat(UiDateTimeFormatDescriptor dateFormat) {
		this.dateFormat = dateFormat;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("timeFormat")
	public UiLocalDateTimeField setTimeFormat(UiDateTimeFormatDescriptor timeFormat) {
		this.timeFormat = timeFormat;
		return this;
	}




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy