|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.marketcetera.client.Validations
public final class Validations
Carries out validations for various order types.
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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 instrument
OrderValidationException - if the instrument fails validation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||