Class AbstractImpExCSVCellDecorator
java.lang.Object
de.hybris.platform.impex.jalo.header.AbstractImpExCSVCellDecorator
- All Implemented Interfaces:
CSVCellDecorator
- Direct Known Subclasses:
CustomerNameDecorator,EClassSuperCategoryDecorator,ExternalImportKeyCellDecorator
Abstract implementation of the
CSVCellDecorator interface which adds the current column descriptor instance
where the decorator will be applied as member. Will be set via an additional init(AbstractColumnDescriptor)
method.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractColumnDescriptorGets the column descriptor this decorator will be applied to.voidinit(AbstractColumnDescriptor column) Sets the related column descriptor as member.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.util.CSVCellDecorator
decorate
-
Constructor Details
-
AbstractImpExCSVCellDecorator
public AbstractImpExCSVCellDecorator()
-
-
Method Details
-
init
Sets the related column descriptor as member.- Parameters:
column- column descriptor this decorator will be applied to- Throws:
HeaderValidationException- can be thrown at custom implementations in case of validation error (for example there has to be set a specific modifier at the descriptor)
-
getColumnDescriptor
Gets the column descriptor this decorator will be applied to. (Only be available after init is called - not in constructor but in decorate method.- Returns:
- the related column descriptor
-