class TradeFieldSetMapper implements FieldSetMapper<Trade> {

	public static final int ISIN_COLUMN = 0;

	public static final int QUANTITY_COLUMN = 1;

	public static final int PRICE_COLUMN = 2;

	public static final int CUSTOMER_COLUMN = 3;

	@Override
	public Trade mapFieldSet(FieldSet fieldSet) {<FILL_FUNCTION_BODY>}

}


		Trade trade = new Trade();
		trade.setIsin(fieldSet.readString(ISIN_COLUMN));
		trade.setQuantity(fieldSet.readLong(QUANTITY_COLUMN));
		trade.setPrice(fieldSet.readBigDecimal(PRICE_COLUMN));
		trade.setCustomer(fieldSet.readString(CUSTOMER_COLUMN));

		return trade;
	
<no_super_class>