public final class Validations extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
validate(FIXOrder inFIXOrder)
Validates a new order.
|
static void |
validate(OrderCancel inOrderCancel)
Validates a new order.
|
static void |
validate(OrderReplace inOrderReplace)
Validates a new order.
|
static void |
validate(OrderSingle inOrderSingle)
Validates a new order.
|
static void |
validate(OrderSingleSuggestion inSuggestion)
Validates a suggestion.
|
static void |
validateInstrument(Instrument inInstrument)
Validates an instrument.
|
public static void validate(OrderSingle inOrderSingle) throws OrderValidationException
inOrderSingle - The order that needs to be validated.OrderValidationException - if any of the validations fail.public static void validate(FIXOrder inFIXOrder) throws OrderValidationException
inFIXOrder - The order that needs to be validated.OrderValidationException - if any of the validations fail.public static void validate(OrderReplace inOrderReplace) throws OrderValidationException
inOrderReplace - The order that needs to be validated.OrderValidationException - if any of the validations fail.public static void validate(OrderCancel inOrderCancel) throws OrderValidationException
inOrderCancel - The order that needs to be validated.OrderValidationException - if any of the validations fail.public static void validate(OrderSingleSuggestion inSuggestion) throws OrderValidationException
inSuggestion - The suggestion that needs to be validated.OrderValidationException - if any of the validations fail.public static void validateInstrument(Instrument inInstrument) throws OrderValidationException
Verifies that the instrument is non-null and performs instrument
specific validation using InstrumentValidationHandler.
inInstrument - the instrumentOrderValidationException - if the instrument fails validation.Copyright © 2015. All Rights Reserved.