public class BigDecimalConverter extends AbstractErpTypeConverter<BigDecimal>
BigDecimal
.Modifier and Type | Field and Description |
---|---|
static BigDecimalConverter |
INSTANCE |
Constructor and Description |
---|
BigDecimalConverter() |
Modifier and Type | Method and Description |
---|---|
ConvertedObject<BigDecimal> |
fromDomainNonNull(String domainObject)
Actual converter implementation from a domain-specific object to an arbitrary type.
|
Class<BigDecimal> |
getType()
Getter for an class object of the type to convert from/to the domain-specific counterpart.
|
ConvertedObject<String> |
toDomainNonNull(BigDecimal 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 BigDecimalConverter INSTANCE
@Nonnull public Class<BigDecimal> getType()
T
.@Nonnull public ConvertedObject<String> toDomainNonNull(@Nonnull BigDecimal object)
toDomainNonNull
in class AbstractTypeConverter<BigDecimal,String>
object
- The object to transform to its domain-specific counterpart.@Nonnull public ConvertedObject<BigDecimal> fromDomainNonNull(@Nonnull String domainObject) throws Exception
fromDomainNonNull
in class AbstractTypeConverter<BigDecimal,String>
domainObject
- The domain-specific object to transform.Exception
- If an error occurred during the transformation.Copyright © 2018 SAP SE. All rights reserved.