Class BigDecimalConverter
java.lang.Object
com.sap.cloud.sdk.typeconverter.AbstractTypeConverter<T,String>
com.sap.cloud.sdk.s4hana.serialization.AbstractErpTypeConverter<BigDecimal>
com.sap.cloud.sdk.s4hana.serialization.BigDecimalConverter
- All Implemented Interfaces:
ErpTypeConverter<BigDecimal>
,TypeConverter<BigDecimal,
String>
Deprecated.
This module will be discontinued, along with its classes and methods.
Type converter for
BigDecimal
.-
Field Summary
Modifier and TypeFieldDescriptionstatic final BigDecimalConverter
Deprecated.Statically created instance of this converter. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromDomainNonNull
(String domainObject) Deprecated.Actual converter implementation from a domain-specific object to an arbitrary type.getType()
Deprecated.Getter for an class object of the type to convert from/to the domain-specific counterpart.toDomainNonNull
(BigDecimal object) Deprecated.Actual converter implementation from an arbitrary object to its domain-specific counterpart.Methods inherited from class com.sap.cloud.sdk.s4hana.serialization.AbstractErpTypeConverter
getDomainType
Methods inherited from class com.sap.cloud.sdk.typeconverter.AbstractTypeConverter
fromDomain, toDomain
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sap.cloud.sdk.typeconverter.TypeConverter
fromDomain, toDomain
-
Field Details
-
INSTANCE
Deprecated.Statically created instance of this converter.
-
-
Constructor Details
-
BigDecimalConverter
public BigDecimalConverter()Deprecated.
-
-
Method Details
-
getType
Deprecated.Description copied from interface:TypeConverter
Getter for an class object of the type to convert from/to the domain-specific counterpart.- Returns:
- The class object of
T
.
-
toDomainNonNull
Deprecated.Description copied from class:AbstractTypeConverter
Actual converter implementation from an arbitrary object to its domain-specific counterpart.- Specified by:
toDomainNonNull
in classAbstractTypeConverter<BigDecimal,
String> - Parameters:
object
- The object to transform to its domain-specific counterpart.- Returns:
- A wrapper containing the domain-specific counterpart.
-
fromDomainNonNull
@Nonnull public ConvertedObject<BigDecimal> fromDomainNonNull(@Nonnull String domainObject) throws Exception Deprecated.Description copied from class:AbstractTypeConverter
Actual converter implementation from a domain-specific object to an arbitrary type.- Specified by:
fromDomainNonNull
in classAbstractTypeConverter<BigDecimal,
String> - Parameters:
domainObject
- The domain-specific object to transform.- Returns:
- A wrapper containing the converted object.
- Throws:
Exception
- If an error occurred during the transformation.
-