public class Currency extends StringBasedErpType<Currency>
StringBasedErpType.CharCasing, StringBasedErpType.FillCharStrategy
Constructor and Description |
---|
Currency(Currency currency) |
Currency(String symbol) |
Modifier and Type | Method and Description |
---|---|
Currency |
getCurrency() |
StringBasedErpType.FillCharStrategy |
getFillCharStrategy() |
int |
getMaxLength() |
Class<Currency> |
getType() |
ErpTypeConverter<Currency> |
getTypeConverter() |
static Currency |
of(String value) |
static Set<Currency> |
toCurrencies(Collection<String> values) |
static Set<String> |
toStrings(Collection<Currency> values) |
compareTo, equals, getFillChar, getKeyAsString, getValue, hashCode, isDefault, isEmpty, toString, toString, transformToString, transformToType
public static final Currency EMPTY
public Currency(String symbol) throws IllegalArgumentException
IllegalArgumentException
public Currency(Currency currency)
@Contract(value="null -> null") @Nullable public static Currency of(@Nullable String value) throws IllegalArgumentException
IllegalArgumentException
public ErpTypeConverter<Currency> getTypeConverter()
public Class<Currency> getType()
getType
in class StringBasedErpType<Currency>
public int getMaxLength()
getMaxLength
in class StringBasedErpType<Currency>
public StringBasedErpType.FillCharStrategy getFillCharStrategy()
getFillCharStrategy
in class StringBasedErpType<Currency>
public Currency getCurrency()
public static Set<String> toStrings(Collection<Currency> values)
public static Set<Currency> toCurrencies(Collection<String> values)
Copyright © 2018 SAP SE. All rights reserved.