Class ImportParameters

java.lang.Object
com.hybris.backoffice.excel.data.ImportParameters
All Implemented Interfaces:
Serializable

public class ImportParameters extends Object implements 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 Details

  • Constructor Details

  • Method Details

    • getTypeCode

      public String getTypeCode()
    • getIsoCode

      public String getIsoCode()
    • getEntryRef

      public String getEntryRef()
    • getCellValue

      public Serializable getCellValue()
    • getMultiValueParameters

      public List<Map<String,String>> getMultiValueParameters()
      Returns:
      list of maps with import parameters for multivalues field.
    • getSingleValueParameters

      public Map<String,String> 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

      public String getFormatError()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object