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

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


	protected UiFullLongMediumShortType dateStyle;
	protected UiFullLongMediumShortType timeStyle;
	protected Integer fractionalSecondDigits;
	protected UiDayPeriodType dayPeriod;
	protected UiHourCycleType hourCycle;
	protected UiLongShortNarrowType weekday;
	protected UiLongShortNarrowType era;
	protected UiNumericType year;
	protected UiNumericOrLongShortNarrowType month;
	protected UiNumericType day;
	protected UiNumericType hour;
	protected UiNumericType minute;
	protected UiNumericType second;

	public UiDateTimeFormatDescriptor() {
	}

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

	@SuppressWarnings("unchecked")
	public String toString() {
		return new StringBuilder(getClass().getSimpleName()).append(": ")
				.append("dateStyle=" + dateStyle).append(", ")
				.append("timeStyle=" + timeStyle).append(", ")
				.append("fractionalSecondDigits=" + fractionalSecondDigits).append(", ")
				.append("dayPeriod=" + dayPeriod).append(", ")
				.append("hourCycle=" + hourCycle).append(", ")
				.append("weekday=" + weekday).append(", ")
				.append("era=" + era).append(", ")
				.append("year=" + year).append(", ")
				.append("month=" + month).append(", ")
				.append("day=" + day).append(", ")
				.append("hour=" + hour).append(", ")
				.append("minute=" + minute).append(", ")
				.append("second=" + second)
				.toString();
	}

	@com.fasterxml.jackson.annotation.JsonGetter("dateStyle")
	public UiFullLongMediumShortType getDateStyle() {
		return dateStyle;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("timeStyle")
	public UiFullLongMediumShortType getTimeStyle() {
		return timeStyle;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("fractionalSecondDigits")
	public Integer getFractionalSecondDigits() {
		return fractionalSecondDigits;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("dayPeriod")
	public UiDayPeriodType getDayPeriod() {
		return dayPeriod;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("hourCycle")
	public UiHourCycleType getHourCycle() {
		return hourCycle;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("weekday")
	public UiLongShortNarrowType getWeekday() {
		return weekday;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("era")
	public UiLongShortNarrowType getEra() {
		return era;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("year")
	public UiNumericType getYear() {
		return year;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("month")
	public UiNumericOrLongShortNarrowType getMonth() {
		return month;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("day")
	public UiNumericType getDay() {
		return day;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("hour")
	public UiNumericType getHour() {
		return hour;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("minute")
	public UiNumericType getMinute() {
		return minute;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("second")
	public UiNumericType getSecond() {
		return second;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("dateStyle")
	public UiDateTimeFormatDescriptor setDateStyle(UiFullLongMediumShortType dateStyle) {
		this.dateStyle = dateStyle;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("timeStyle")
	public UiDateTimeFormatDescriptor setTimeStyle(UiFullLongMediumShortType timeStyle) {
		this.timeStyle = timeStyle;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("fractionalSecondDigits")
	public UiDateTimeFormatDescriptor setFractionalSecondDigits(Integer fractionalSecondDigits) {
		this.fractionalSecondDigits = fractionalSecondDigits;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("dayPeriod")
	public UiDateTimeFormatDescriptor setDayPeriod(UiDayPeriodType dayPeriod) {
		this.dayPeriod = dayPeriod;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("hourCycle")
	public UiDateTimeFormatDescriptor setHourCycle(UiHourCycleType hourCycle) {
		this.hourCycle = hourCycle;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("weekday")
	public UiDateTimeFormatDescriptor setWeekday(UiLongShortNarrowType weekday) {
		this.weekday = weekday;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("era")
	public UiDateTimeFormatDescriptor setEra(UiLongShortNarrowType era) {
		this.era = era;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("year")
	public UiDateTimeFormatDescriptor setYear(UiNumericType year) {
		this.year = year;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("month")
	public UiDateTimeFormatDescriptor setMonth(UiNumericOrLongShortNarrowType month) {
		this.month = month;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("day")
	public UiDateTimeFormatDescriptor setDay(UiNumericType day) {
		this.day = day;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("hour")
	public UiDateTimeFormatDescriptor setHour(UiNumericType hour) {
		this.hour = hour;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("minute")
	public UiDateTimeFormatDescriptor setMinute(UiNumericType minute) {
		this.minute = minute;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("second")
	public UiDateTimeFormatDescriptor setSecond(UiNumericType second) {
		this.second = second;
		return this;
	}




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy