Class DoubleConverter
java.lang.Object
com.saperion.ngc.favorites.convert.DataTypeConverter
com.saperion.ngc.favorites.convert.DoubleConverter
Double data type converter.
- Author:
- mak
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsaValueToString
(com.saperion.intf.SaValue value) Converts the type of the given field into the favorites specific string representation.com.saperion.intf.SaValue
stringToSaValue
(String value) Converts the favorites specific string representation into aSaValue
.
-
Constructor Details
-
DoubleConverter
protected DoubleConverter(int type) Constructor.- Parameters:
type
- special double data type code (e.g. currency,...)
-
-
Method Details
-
saValueToString
Description copied from class:DataTypeConverter
Converts the type of the given field into the favorites specific string representation.- Specified by:
saValueToString
in classDataTypeConverter
- Parameters:
value
-SaValue
- Returns:
- value as string
-
stringToSaValue
Description copied from class:DataTypeConverter
Converts the favorites specific string representation into aSaValue
.- Specified by:
stringToSaValue
in classDataTypeConverter
- Parameters:
value
- value as string- Returns:
- value
SaValue
-