Class CustomerCreditFieldSetMapper
- java.lang.Object
- org.springframework.batch.sample.domain.trade.internal.CustomerCreditFieldSetMapper
- All Implemented Interfaces:
FieldSetMapper<CustomerCredit>
public class CustomerCreditFieldSetMapper extends java.lang.Object implements FieldSetMapper<CustomerCredit>
- Since:
- 2.0
- Author:
- Dan Garrette
Field Summary
Fields Modifier and Type Field Description static intCREDIT_COLUMNstatic intID_COLUMNstatic intNAME_COLUMN
Constructor Summary
Constructors Constructor Description CustomerCreditFieldSetMapper()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomerCreditmapFieldSet(FieldSet fieldSet)Method used to map data obtained from aFieldSetinto an object.
Field Detail
ID_COLUMN
public static final int ID_COLUMN
- See Also:
- Constant Field Values
NAME_COLUMN
public static final int NAME_COLUMN
- See Also:
- Constant Field Values
CREDIT_COLUMN
public static final int CREDIT_COLUMN
- See Also:
- Constant Field Values
Method Detail
mapFieldSet
public CustomerCredit mapFieldSet(FieldSet fieldSet)
Description copied from interface:FieldSetMapperMethod used to map data obtained from aFieldSetinto an object.- Specified by:
mapFieldSetin interfaceFieldSetMapper<CustomerCredit>- Parameters:
fieldSet- theFieldSetto map- Returns:
- the populated object