|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.marketcetera.core.instruments.InstrumentFunctionHandler<I>
org.marketcetera.ors.history.InstrumentSummaryFields<I>
I - The type of instrument handled by this functionpublic abstract class InstrumentSummaryFields<I extends Instrument>
A class that helps extract the instrument specific fields for persistence
within ExecutionReportSummary.
| Field Summary | |
|---|---|
static StaticInstrumentFunctionSelector<InstrumentSummaryFields> |
SELECTOR
The selector that provides the appropriate instance of this class for an instrument. |
| Constructor Summary | |
|---|---|
protected |
InstrumentSummaryFields(Class<I> inInstrument)
Creates an instance that handles the specified instrument subclass. |
| Method Summary | |
|---|---|
abstract String |
getExpiry(Instrument inInstrument)
Returns the expiry value of the instrument. |
abstract OptionType |
getOptionType(Instrument inInstrument)
Returns the option type of the instrument. |
abstract BigDecimal |
getStrikePrice(Instrument inInstrument)
Returns the strike price of the instrument. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final StaticInstrumentFunctionSelector<InstrumentSummaryFields> SELECTOR
| Constructor Detail |
|---|
protected InstrumentSummaryFields(Class<I> inInstrument)
inInstrument - the instrument subclass handled by this instance.| Method Detail |
|---|
public abstract String getExpiry(Instrument inInstrument)
inInstrument - the instrument.
public abstract BigDecimal getStrikePrice(Instrument inInstrument)
inInstrument - the instrument.
public abstract OptionType getOptionType(Instrument inInstrument)
inInstrument - the instrument.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||