public class EClassSuperCategoryDecorator extends AbstractImpExCSVCellDecorator
The algorithm works as follows:
xx000000 -> no super class code is neededxxyy0000 -> super class number is xx000000xxyyzz00 -> super class number is xxyy0000xxyyzzqq -> super class number is xxyyzz00| Constructor and Description |
|---|
EClassSuperCategoryDecorator() |
| Modifier and Type | Method and Description |
|---|---|
String |
decorate(int position,
Map srcLine)
Decorates and returns the parsed attribute value.
|
void |
init(AbstractColumnDescriptor column)
Sets the related column descriptor as member.
|
getColumnDescriptorpublic static final String SRC_CELL
public void init(AbstractColumnDescriptor column) throws HeaderValidationException
AbstractImpExCSVCellDecoratorinit in class AbstractImpExCSVCellDecoratorcolumn - column descriptor this decorator will be applied toHeaderValidationException - can be thrown at custom implementations in case of validation error (for example there has to be set a
specific modifier at the descriptor)public String decorate(int position, Map srcLine)
CSVCellDecoratorsrcLine map by
accessing element with given position key.position - element key for given map where the parsed value to decorate is locatedsrcLine - map containing whole parsed value lineCopyright © 2017 SAP SE. All Rights Reserved.