public interface ValueFormatTranslator
| Modifier and Type | Method and Description |
|---|---|
String |
format(CsticModel cstic,
String value)
Converts a characteristic value into an external format suitable for UI-Display.
|
String |
format(UiType uiType,
String singleValue)
Deprecated.
use
format(CsticModel, String) instead. |
boolean |
isNumericCsticType(CsticModel model)
Checks the characteristic model whether it is either of type float or integer
|
String |
parse(UiType uiType,
String value)
Converts a characteristic value into an internal format, which is used by the underlying API's.
|
String parse(UiType uiType, String value)
uiType - UI type the characteristic value belongs tovalue - characteristic value in external format@Deprecated String format(UiType uiType, String singleValue)
format(CsticModel, String) instead.String format(CsticModel cstic, String value)
cstic - characteristic the value belongs tovalue - characteristic value in internal formatboolean isNumericCsticType(CsticModel model)
model - characteristic to be checkedCopyright © 2017 SAP SE. All Rights Reserved.