Class DefaultPrimitiveValueHandler
- java.lang.Object
-
- de.hybris.platform.inboundservices.persistence.populator.DefaultPrimitiveValueHandler
-
- All Implemented Interfaces:
PrimitiveValueHandler
public class DefaultPrimitiveValueHandler extends java.lang.Object implements PrimitiveValueHandler
-
-
Constructor Summary
Constructors Constructor Description DefaultPrimitiveValueHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectconvert(TypeAttributeDescriptor attribute, java.lang.Object value)Converts primitive value to a format that is accepted by the model service.protected IntegrationLocalizationServicegetLocalizationService()voidsetLocalizationService(IntegrationLocalizationService localizationService)
-
-
-
Method Detail
-
convert
public java.lang.Object convert(TypeAttributeDescriptor attribute, java.lang.Object value)
Description copied from interface:PrimitiveValueHandlerConverts primitive value to a format that is accepted by the model service.- Specified by:
convertin interfacePrimitiveValueHandler- Parameters:
attribute- the attribute that contains the valuevalue- value to be converted- Returns:
- the converted value
-
getLocalizationService
protected IntegrationLocalizationService getLocalizationService()
-
setLocalizationService
public void setLocalizationService(IntegrationLocalizationService localizationService)
-
-