Class AbstractImpExCSVCellDecorator

java.lang.Object
de.hybris.platform.impex.jalo.header.AbstractImpExCSVCellDecorator
All Implemented Interfaces:
CSVCellDecorator
Direct Known Subclasses:
CustomerNameDecorator, EClassSuperCategoryDecorator, ExternalImportKeyCellDecorator

public abstract class AbstractImpExCSVCellDecorator extends Object implements CSVCellDecorator
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 Details

    • AbstractImpExCSVCellDecorator

      public AbstractImpExCSVCellDecorator()
  • Method Details

    • init

      public void init(AbstractColumnDescriptor column) throws HeaderValidationException
      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

      protected AbstractColumnDescriptor 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