Class ValueLineMetaData

java.lang.Object
de.hybris.platform.impex.jalo.imp.ValueLineMetaData

public class ValueLineMetaData extends Object
ValueLineMetadata object represents first cell of a line which acts as a metadata for import process. It contains following comma separated fields:
  • typeCode - code of the type being imported.
  • processedItemPk - pk of an existing item which was resolved during import process.
  • unrecoverable - boolean flag. Marks ValueLine as unrecoverable.
  • conflictingItemPk - pk of an existing item which is in conflict with the imported one in case of INSERT operation
  • errorMessage - meaningful dump reason message
All fields may have null value. In case of nulls comma separated representation of metadata will contain empty Strings in place of values.
  • Field Details

  • Constructor Details

    • ValueLineMetaData

      protected ValueLineMetaData()
    • ValueLineMetaData

      protected ValueLineMetaData(String typeCode, PK processedItemPK, Boolean unrecoverable, PK conflictingItemPk, String errorMessage)
  • Method Details

    • toMetaData

      public static ValueLineMetaData toMetaData(String input)
    • getTypeCode

      public String getTypeCode()
    • getProcessedItemPK

      public PK getProcessedItemPK()
    • isUnrecoverable

      public boolean isUnrecoverable()
    • getErrorMessage

      public String getErrorMessage()
    • getConflictingItemPk

      public PK getConflictingItemPk()
    • dump

      public String dump()
    • builder

      public static ValueLineMetaData.Builder builder()