Class BatchEntry


  • public class BatchEntry
    extends Object
    Represents a batch entry that contains the data of the entry and the table name.
    Since:
    2.0.0
    Author:
    Rui Vilao (rui.vilao@feedzai.com)
    • Field Detail

      • tableName

        protected String tableName
        the table name
      • entityEntry

        protected EntityEntry entityEntry
        the entity data
    • Constructor Detail

      • BatchEntry

        public BatchEntry​(String tableName,
                          EntityEntry entityEntry)
        Creates a new instance of BatchEntry.
        Parameters:
        tableName - The table name.
        entityEntry - The entity entry.
    • Method Detail

      • setTableName

        public void setTableName​(String tableName)
        Sets new the table name.
        Parameters:
        tableName - New value of the table name.
      • setEntityEntry

        public void setEntityEntry​(EntityEntry entityEntry)
        Sets new the entity data.
        Parameters:
        entityEntry - New value of the entity data.
      • getEntityEntry

        public EntityEntry getEntityEntry()
        Gets the entity data.
        Returns:
        Value of the entity data.
      • getTableName

        public String getTableName()
        Gets the table name.
        Returns:
        Value of the table name.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object