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