Class CategoryComponentTypePopulator
- java.lang.Object
-
- de.hybris.platform.cmsfacades.types.populator.CategoryComponentTypePopulator
-
- All Implemented Interfaces:
Populator<ComposedTypeModel,ComponentTypeData>
public class CategoryComponentTypePopulator extends java.lang.Object implements Populator<ComposedTypeModel,ComponentTypeData>
This populator will populateComponentTypeData.setCategory(String)
-
-
Constructor Summary
Constructors Constructor Description CategoryComponentTypePopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StructureTypeCategorygetCategory()voidpopulate(ComposedTypeModel source, ComponentTypeData target)Populate the target instance with values from the source instance.voidsetCategory(StructureTypeCategory category)
-
-
-
Method Detail
-
populate
public void populate(ComposedTypeModel source, ComponentTypeData target) throws ConversionException
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<ComposedTypeModel,ComponentTypeData>- Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
getCategory
protected StructureTypeCategory getCategory()
-
setCategory
public void setCategory(StructureTypeCategory category)
-
-