Class ProductToDataContentConverter
java.lang.Object
de.hybris.platform.cmsfacades.rendering.attributeconverters.ProductToDataContentConverter
- All Implemented Interfaces:
Converter<ProductModel,String>
Rendering Attribute Converter for
ProductModel.
Converts the category into its product code (string).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(ProductModel source) Uses the sourceSobject and produces an new instance ofT.
-
Constructor Details
-
ProductToDataContentConverter
public ProductToDataContentConverter()
-
-
Method Details
-
convert
Description copied from interface:ConverterUses the sourceSobject and produces an new instance ofT.- Specified by:
convertin interfaceConverter<ProductModel,String> - Parameters:
source- the input to be converted.- Returns:
- an instance of
T, converted from the input source.
-