All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.bingads.v13.internal.bulk.BulkMapping Maven / Gradle / Ivy

package com.microsoft.bingads.v13.internal.bulk;

/**
 * Maps from a field on entity to a column in a CSV data row
 *
 * @param 
 */
public interface BulkMapping {

    /**
     * Moves a value from csv column to a field on an entity
     *
     * @param values CSV values
     * @param entity entity to modify
     */
    void convertToEntity(RowValues values,
            TEntity entity);

    /**
     * Moves a value from an object to a column in the CSV
     *
     * @param entity entity to pull value from
     * @param values CSV columns data to modify
     */
    void convertToCsv(TEntity entity, RowValues values);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy