org.springframework.batch.sample.domain.order.internal.mapper
Class OrderItemFieldSetMapper

java.lang.Object
  extended by org.springframework.batch.sample.domain.order.internal.mapper.OrderItemFieldSetMapper
All Implemented Interfaces:
FieldSetMapper<LineItem>

public class OrderItemFieldSetMapper
extends Object
implements FieldSetMapper<LineItem>


Field Summary
static String DISCOUNT_AMOUNT_COLUMN
           
static String DISCOUNT_PERC_COLUMN
           
static String HANDLING_PRICE_COLUMN
           
static String ITEM_ID_COLUMN
           
static String PRICE_COLUMN
           
static String QUANTITY_COLUMN
           
static String SHIPPING_PRICE_COLUMN
           
static String TOTAL_PRICE_COLUMN
           
 
Constructor Summary
OrderItemFieldSetMapper()
           
 
Method Summary
 LineItem mapFieldSet(FieldSet fieldSet)
          Method used to map data obtained from a FieldSet into an object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOTAL_PRICE_COLUMN

public static final String TOTAL_PRICE_COLUMN
See Also:
Constant Field Values

QUANTITY_COLUMN

public static final String QUANTITY_COLUMN
See Also:
Constant Field Values

HANDLING_PRICE_COLUMN

public static final String HANDLING_PRICE_COLUMN
See Also:
Constant Field Values

SHIPPING_PRICE_COLUMN

public static final String SHIPPING_PRICE_COLUMN
See Also:
Constant Field Values

DISCOUNT_AMOUNT_COLUMN

public static final String DISCOUNT_AMOUNT_COLUMN
See Also:
Constant Field Values

DISCOUNT_PERC_COLUMN

public static final String DISCOUNT_PERC_COLUMN
See Also:
Constant Field Values

PRICE_COLUMN

public static final String PRICE_COLUMN
See Also:
Constant Field Values

ITEM_ID_COLUMN

public static final String ITEM_ID_COLUMN
See Also:
Constant Field Values
Constructor Detail

OrderItemFieldSetMapper

public OrderItemFieldSetMapper()
Method Detail

mapFieldSet

public LineItem mapFieldSet(FieldSet fieldSet)
Description copied from interface: FieldSetMapper
Method used to map data obtained from a FieldSet into an object.

Specified by:
mapFieldSet in interface FieldSetMapper<LineItem>
Parameters:
fieldSet - the FieldSet to map


Copyright © 2009 SpringSource. All Rights Reserved.