public abstract class AbstractValueConverter extends Object implements BackofficeSavedQueryValueConverter
| Constructor and Description |
|---|
AbstractValueConverter() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
convertSimpleAtomicTypeValue(String valueString,
DataType dataType)
Converts string representation of a value into dataType.
|
protected String |
convertSimpleAtomicTypeValueToString(Object value,
DataType dataType)
Converts value to string representation.
|
protected String |
getLocaleCode(Locale locale) |
protected Locale |
getLocaleFromCode(String metadata) |
protected Map<Locale,Object> |
getLocalizedValue(Locale locale,
Object value) |
protected Locale |
getSavedQueryValueLocale(SavedQueryValue savedQueryValue,
DataAttribute dataAttribute) |
protected Locale |
getValueLocale(Object value,
DataAttribute dataAttribute) |
protected boolean |
isSimpleAtomicDataType(DataType attributeType)
Checks whether a type is simple atomic
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanHandle, convertValue, convertValueprotected Locale getSavedQueryValueLocale(SavedQueryValue savedQueryValue, DataAttribute dataAttribute)
protected Object convertSimpleAtomicTypeValue(String valueString, DataType dataType)
valueString - string representation of a value.dataType - attribute descriptor.protected String convertSimpleAtomicTypeValueToString(Object value, DataType dataType)
value - simple atomic value.dataType - attribute descriptor.protected boolean isSimpleAtomicDataType(DataType attributeType)
attributeType - attribute descriptor.Copyright © 2017 SAP SE. All Rights Reserved.