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