类 TradeFieldSetMapper
- java.lang.Object
- org.springframework.batch.sample.domain.trade.internal.TradeFieldSetMapper
- 所有已实现的接口:
FieldSetMapper<Trade>
public class TradeFieldSetMapper extends java.lang.Object implements FieldSetMapper<Trade>
字段概要
字段 修饰符和类型 字段 说明 static intCUSTOMER_COLUMNstatic intISIN_COLUMNstatic intPRICE_COLUMNstatic intQUANTITY_COLUMN
构造器概要
构造器 构造器 说明 TradeFieldSetMapper()
字段详细资料
ISIN_COLUMN
public static final int ISIN_COLUMN
- 另请参阅:
- 常量字段值
QUANTITY_COLUMN
public static final int QUANTITY_COLUMN
- 另请参阅:
- 常量字段值
PRICE_COLUMN
public static final int PRICE_COLUMN
- 另请参阅:
- 常量字段值
CUSTOMER_COLUMN
public static final int CUSTOMER_COLUMN
- 另请参阅:
- 常量字段值
构造器详细资料
TradeFieldSetMapper
public TradeFieldSetMapper()
方法详细资料
mapFieldSet
public Trade mapFieldSet(FieldSet fieldSet)
从接口复制的说明:FieldSetMapperMethod used to map data obtained from aFieldSetinto an object.- 指定者:
mapFieldSet在接口中FieldSetMapper<Trade>- 参数:
fieldSet- theFieldSetto map- 返回:
- the populated object