I - The type of instrument handled by this functionpublic abstract class InstrumentValidationHandler<I extends Instrument> extends InstrumentFunctionHandler<I>
| Modifier and Type | Field and Description |
|---|---|
static StaticInstrumentFunctionSelector<InstrumentValidationHandler> |
SELECTOR
The factory that provides the handler instance for the specified
instrument.
|
| Modifier | Constructor and Description |
|---|---|
protected |
InstrumentValidationHandler(Class<I> inInstrument)
Creates an instance that handles the specified instrument subclass.
|
public static final StaticInstrumentFunctionSelector<InstrumentValidationHandler> SELECTOR
public abstract void validate(Instrument instrument) throws OrderValidationException
instrument - the instrumentOrderValidationException - if the validation fails.Copyright © 2015. All Rights Reserved.