Class ImportParameters

  • All Implemented Interfaces:
    java.io.Serializable

    public class ImportParameters
    extends java.lang.Object
    implements java.io.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:
    Serialized Form
    • Constructor Detail

      • ImportParameters

        public ImportParameters​(java.lang.String typeCode,
                                java.lang.String isoCode,
                                java.io.Serializable cellValue,
                                java.lang.String entryRef,
                                java.lang.String formatError)
      • ImportParameters

        public ImportParameters​(java.lang.String typeCode,
                                java.lang.String isoCode,
                                java.io.Serializable cellValue,
                                java.lang.String entryRef,
                                java.util.List<java.util.Map<java.lang.String,​java.lang.String>> parameters)
    • Method Detail

      • getTypeCode

        public java.lang.String getTypeCode()
      • getIsoCode

        public java.lang.String getIsoCode()
      • getEntryRef

        public java.lang.String getEntryRef()
      • getCellValue

        public java.io.Serializable getCellValue()
      • getMultiValueParameters

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

        public java.util.Map<java.lang.String,​java.lang.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 java.lang.String getFormatError()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object