Package com.hybris.backoffice.excel.data
Class ImportParameters
java.lang.Object
com.hybris.backoffice.excel.data.ImportParameters
- All Implemented Interfaces:
Serializable
Represents parsed parameters for given cell. The object consists of type code for given sheet, isoCode for localized
field, original cell value and list of parameters.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionImportParameters(String typeCode, String isoCode, Serializable cellValue, String entryRef, String formatError) ImportParameters(String typeCode, String isoCode, Serializable cellValue, String entryRef, List<Map<String, String>> parameters) -
Method Summary
-
Field Details
-
RAW_VALUE
- See Also:
-
MULTIVALUE_SEPARATOR
- See Also:
-
-
Constructor Details
-
ImportParameters
public ImportParameters(String typeCode, String isoCode, Serializable cellValue, String entryRef, String formatError) -
ImportParameters
-
-
Method Details
-
getTypeCode
-
getIsoCode
-
getEntryRef
-
getCellValue
-
getMultiValueParameters
- Returns:
- list of maps with import parameters for multivalues field.
-
getSingleValueParameters
- Returns:
- first found map on the list or new map if list is empty.
-
isCellValueBlank
public boolean isCellValueBlank()- Returns:
- true if cell value is null or blank
-
isCellValueNotBlank
public boolean isCellValueNotBlank()- Returns:
- true if cell value is not null and not blank
-
hasFormatErrors
public boolean hasFormatErrors() -
getFormatError
-
equals
-
hashCode
public int hashCode()
-