Example usage for org.springframework.batch.item.file.mapping FieldSetMapper interface-usage

List of usage examples for org.springframework.batch.item.file.mapping FieldSetMapper interface-usage

Introduction

In this page you can find the example usage for org.springframework.batch.item.file.mapping FieldSetMapper interface-usage.

Usage

From source file com.sofrecom.batch.mapper.RegistrationFieldSetMapper.java

/**
 *
 * @author r.benrejeb
 */
public class RegistrationFieldSetMapper implements FieldSetMapper<RegistrationConfirmation> {

From source file org.seedstack.spring.batch.fixtures.EmployeeMapper.java

public class EmployeeMapper implements FieldSetMapper<Employee> {

    @Override
    public Employee mapFieldSet(FieldSet fieldSet) throws BindException {
        long id = fieldSet.readLong("id");
        String name = fieldSet.readString("name");

From source file pl.altkom.sping.batch.sample.mapper.CustomerJpaFieldSetMapper.java

/**
 *
 * @author admin
 */
public class CustomerJpaFieldSetMapper implements FieldSetMapper<Customer> {

From source file pl.altkom.sping.batch.sample.mapper.CustomerFieldSetMapper.java

/**
 *
 * @author admin
 */
public class CustomerFieldSetMapper implements FieldSetMapper<Customer> {

From source file org.seedstack.spring.batch.sample.mapper.UserFieldSetMapper.java

@Component("userFieldSetMapper")
public class UserFieldSetMapper implements FieldSetMapper<User> {

    private static final int FIRST_NAME = 0;
    private static final int LAST_NAME = 1;
    private static final int EMAIL = 2;

From source file org.seedstack.spring.batch.sample.mapper.ContactFieldSetMapper.java

@Component("contactFieldSetMapper")
public class ContactFieldSetMapper implements FieldSetMapper<Contact> {

    private static final int FIRST_NAME = 0;
    private static final int LAST_NAME = 1;
    private static final int EMAIL = 2;

From source file org.jboss.examples.spring.batch.multiline.TradeFieldSetMapper.java

public class TradeFieldSetMapper implements FieldSetMapper<Trade> {

    public static final int ISIN_COLUMN = 0;
    public static final int QUANTITY_COLUMN = 1;
    public static final int PRICE_COLUMN = 2;
    public static final int CUSTOMER_COLUMN = 3;

From source file com.manning.siia.batch.PaymentFieldSetMapper.java

/**
 * @author Marius Bogoevici
 */
public class PaymentFieldSetMapper implements FieldSetMapper<Payment> {

    @Override

From source file org.openmrs.module.bahmniexports.example.domain.trade.CustomerUpdateFieldSetMapper.java

/**
 * {@link FieldSetMapper} for mapping to a {@link CustomerUpdate}.
 * 
 * @author Lucas Ward
 * 
 */

From source file io.spring.batch.reader.CustomerFieldSetMapper.java

/**
 * @author mminella
 */
public class CustomerFieldSetMapper implements FieldSetMapper<Customer> {
    @Override
    public Customer mapFieldSet(FieldSet fieldSet) throws BindException {