public abstract class AbstractValueConverter extends java.lang.Object implements BackofficeSavedQueryValueConverter
| Constructor and Description |
|---|
AbstractValueConverter() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
convertSimpleAtomicTypeValue(java.lang.String valueString,
DataType dataType)
Converts string representation of a value into dataType.
|
protected java.lang.String |
convertSimpleAtomicTypeValueToString(java.lang.Object value,
DataType dataType)
Converts value to string representation.
|
protected java.lang.String |
getLocaleCode(java.util.Locale locale) |
protected java.util.Locale |
getLocaleFromCode(java.lang.String metadata) |
protected java.util.Map<java.util.Locale,java.lang.Object> |
getLocalizedValue(java.util.Locale locale,
java.lang.Object value) |
protected java.util.Locale |
getSavedQueryValueLocale(SavedQueryValue savedQueryValue,
DataAttribute dataAttribute) |
protected java.util.Locale |
getValueLocale(java.lang.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 java.util.Locale getSavedQueryValueLocale(SavedQueryValue savedQueryValue, DataAttribute dataAttribute)
protected java.util.Locale getValueLocale(java.lang.Object value,
DataAttribute dataAttribute)
protected java.util.Map<java.util.Locale,java.lang.Object> getLocalizedValue(java.util.Locale locale,
java.lang.Object value)
protected java.lang.String getLocaleCode(java.util.Locale locale)
protected java.util.Locale getLocaleFromCode(java.lang.String metadata)
protected java.lang.Object convertSimpleAtomicTypeValue(java.lang.String valueString,
DataType dataType)
valueString - string representation of a value.dataType - attribute descriptor.protected java.lang.String convertSimpleAtomicTypeValueToString(java.lang.Object value,
DataType dataType)
value - simple atomic value.dataType - attribute descriptor.protected boolean isSimpleAtomicDataType(DataType attributeType)
attributeType - attribute descriptor.Copyright © 2018 SAP SE. All Rights Reserved.