Class HeaderFieldSetMapper
- java.lang.Object
- org.springframework.batch.sample.domain.order.internal.mapper.HeaderFieldSetMapper
- All Implemented Interfaces:
FieldSetMapper<Order>
public class HeaderFieldSetMapper extends java.lang.Object implements FieldSetMapper<Order>
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ORDER_DATE_COLUMN
static java.lang.String
ORDER_ID_COLUMN
Constructor Summary
Constructors Constructor Description HeaderFieldSetMapper()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Order
mapFieldSet(FieldSet fieldSet)
Method used to map data obtained from aFieldSet
into an object.
Field Detail
ORDER_ID_COLUMN
public static final java.lang.String ORDER_ID_COLUMN
- See Also:
- Constant Field Values
ORDER_DATE_COLUMN
public static final java.lang.String ORDER_DATE_COLUMN
- See Also:
- Constant Field Values
Method Detail
mapFieldSet
public Order mapFieldSet(FieldSet fieldSet)
Description copied from interface:FieldSetMapper
Method used to map data obtained from aFieldSet
into an object.- Specified by:
mapFieldSet
in interfaceFieldSetMapper<Order>
- Parameters:
fieldSet
- theFieldSet
to map- Returns:
- the populated object