public class CurrencyConverter extends AbstractErpTypeConverter<Currency>
Currency
.Modifier and Type | Field and Description |
---|---|
static CurrencyConverter |
INSTANCE |
Constructor and Description |
---|
CurrencyConverter() |
Modifier and Type | Method and Description |
---|---|
ConvertedObject<Currency> |
fromDomainNonNull(String domainObject)
Actual converter implementation from a domain-specific object to an arbitrary type.
|
Class<Currency> |
getType()
Getter for an class object of the type to convert from/to the domain-specific counterpart.
|
ConvertedObject<String> |
toDomainNonNull(Currency object)
Actual converter implementation from an arbitrary object to its domain-specific counterpart.
|
getDomainType
fromDomain, toDomain
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromDomain, toDomain
public static final CurrencyConverter INSTANCE
@Nonnull public Class<Currency> getType()
T
.@Nonnull public ConvertedObject<String> toDomainNonNull(@Nonnull Currency object)
toDomainNonNull
in class AbstractTypeConverter<Currency,String>
object
- The object to transform to its domain-specific counterpart.@Nonnull public ConvertedObject<Currency> fromDomainNonNull(@Nonnull String domainObject)
fromDomainNonNull
in class AbstractTypeConverter<Currency,String>
domainObject
- The domain-specific object to transform.Copyright © 2018 SAP SE. All rights reserved.