T - class which is supported by given translatorpublic abstract class AbstractExcelValueTranslator<T> extends AbstractValidationAwareTranslator<T>
ExcelValueTranslator and simplifies importData method. This class should be
used when during importing process a translator will be returned just single value and creation of additional entries
(for example creating part-of entries: product - price row, ect.) is not required.| Modifier and Type | Field and Description |
|---|---|
protected int |
order |
validators| Constructor and Description |
|---|
AbstractExcelValueTranslator() |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
Impex |
importData(AttributeDescriptorModel attributeDescriptor,
ImportParameters importParameters)
Imports data based on provided importParameters for given attributeDescriptor.
|
abstract ImpexValue |
importValue(AttributeDescriptorModel attributeDescriptor,
ImportParameters importParameters)
Imports single value instead of whole Impex object.
|
void |
setOrder(int order) |
getValidators, setValidators, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanHandle, exportData, exportData, referenceFormatpublic Impex importData(AttributeDescriptorModel attributeDescriptor, ImportParameters importParameters)
Impex
thanks to that it is possible to creating additional entries ( or example creating part-of entries: product -
price row, ect.)attributeDescriptor - describes attribute which should be importedimportParameters - contains information about language for localized field, type code, parsed parameters inserted into
excel's cell.Impex object which is representation of impex script.public abstract ImpexValue importValue(AttributeDescriptorModel attributeDescriptor, ImportParameters importParameters)
attributeDescriptor - AttributeDescriptorModel describes attribute which should be importedimportParameters - - contains information about language for localized field, type code, parsed parameters inserted into
excel's cell.ImpexValue value which should be importedpublic int getOrder()
public void setOrder(int order)
Copyright © 2018 SAP SE. All Rights Reserved.