public class TradeFieldSetMapper extends java.lang.Object implements FieldSetMapper<Trade>
Modifier and Type | Field and Description |
---|---|
static int |
CUSTOMER_COLUMN |
static int |
ISIN_COLUMN |
static int |
PRICE_COLUMN |
static int |
QUANTITY_COLUMN |
Constructor and Description |
---|
TradeFieldSetMapper() |
Modifier and Type | Method and Description |
---|---|
Trade |
mapFieldSet(FieldSet fieldSet)
Method used to map data obtained from a
FieldSet into an object. |
public static final int ISIN_COLUMN
public static final int QUANTITY_COLUMN
public static final int PRICE_COLUMN
public static final int CUSTOMER_COLUMN
public Trade mapFieldSet(FieldSet fieldSet)
FieldSetMapper
FieldSet
into an object.mapFieldSet
in interface FieldSetMapper<Trade>
fieldSet
- the FieldSet
to map