class CustomerCreditFieldSetMapper implements FieldSetMapper<CustomerCredit> {

	public static final int ID_COLUMN = 0;

	public static final int NAME_COLUMN = 1;

	public static final int CREDIT_COLUMN = 2;

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

}

		CustomerCredit trade = new CustomerCredit();
		trade.setId(fieldSet.readInt(ID_COLUMN));
		trade.setName(fieldSet.readString(NAME_COLUMN));
		trade.setCredit(fieldSet.readBigDecimal(CREDIT_COLUMN));

		return trade;
	
<no_super_class>