I - The type of instrument handled by this functionpublic class CurrencyValidationHandler extends InstrumentValidationHandler<Currency>
SELECTOR| Constructor and Description |
|---|
CurrencyValidationHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(Instrument inInstrument)
Validates the supplied instrument.
|
static void |
validateCurrencySymbol(String symbol) |
static void |
validateTenor(String tenor) |
public void validate(Instrument inInstrument) throws OrderValidationException
InstrumentValidationHandlervalidate in class InstrumentValidationHandler<Currency>inInstrument - the instrumentOrderValidationException - if the validation fails.public static void validateCurrencySymbol(String symbol) throws OrderValidationException
OrderValidationExceptionpublic static void validateTenor(String tenor) throws OrderValidationException
OrderValidationExceptionCopyright © 2015. All Rights Reserved.