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

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


	protected String code;
	protected int fractionDigits;
	protected String name;
	protected String symbol;

	public UiCurrencyUnit() {
	}

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

	@SuppressWarnings("unchecked")
	public String toString() {
		return new StringBuilder(getClass().getSimpleName()).append(": ")
				.append("name=" + name).append(", ")
				.append("code=" + code).append(", ")
				.append("fractionDigits=" + fractionDigits).append(", ")
				.append("symbol=" + symbol)
				.toString();
	}

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

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

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

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

	@com.fasterxml.jackson.annotation.JsonSetter("code")
	public UiCurrencyUnit setCode(String code) {
		this.code = code;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("fractionDigits")
	public UiCurrencyUnit setFractionDigits(int fractionDigits) {
		this.fractionDigits = fractionDigits;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("name")
	public UiCurrencyUnit setName(String name) {
		this.name = name;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("symbol")
	public UiCurrencyUnit setSymbol(String symbol) {
		this.symbol = symbol;
		return this;
	}




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy