public class HybrisEnumValueConverter extends AbstractValueConverter
com.hybris.cockpitng.dataaccess.facades.type.DataType.Type#ENUM where value is type
of HybrisEnumValue.| Constructor and Description |
|---|
HybrisEnumValueConverter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(DataAttribute dataAttribute) |
SavedQueryValue |
convertValue(java.lang.Object value,
DataAttribute dataAttribute)
Converts object into savedQueryValue - an object which holds value string representation and value metadata.
|
java.lang.Object |
convertValue(SavedQueryValue savedQueryValue,
DataAttribute dataAttribute)
Converts savedQueryValue into object value.
|
void |
setEnumerationService(EnumerationService enumerationService) |
convertSimpleAtomicTypeValue, convertSimpleAtomicTypeValueToString, getLocaleCode, getLocaleFromCode, getLocalizedValue, getSavedQueryValueLocale, getValueLocale, isSimpleAtomicDataTypepublic boolean canHandle(DataAttribute dataAttribute)
public java.lang.Object convertValue(SavedQueryValue savedQueryValue, DataAttribute dataAttribute)
BackofficeSavedQueryValueConvertersavedQueryValue - an object which holds value string representation and value metadata.dataAttribute - attribute descriptor.public SavedQueryValue convertValue(java.lang.Object value, DataAttribute dataAttribute)
BackofficeSavedQueryValueConvertervalue - value to convert.dataAttribute - attribute descriptor.public void setEnumerationService(EnumerationService enumerationService)
Copyright © 2018 SAP SE. All Rights Reserved.