Attributes | Name and Description |
---|---|
|
caplin.trading.validation.OneOfValidator(Array l_pFields, Array l_pAllowedValues)
The constructor for the OneOfValidator. |
Attributes | Name and Description |
---|---|
|
String
validateField(String sFieldValue)
Performs validation on the specified field to determine if it is one of the allowed field values. |
►
caplin.trading.validation.OneOfValidator(Array l_pFields, Array l_pAllowedValues)
The constructor for the OneOfValidator.
Array | l_pFields | An array of string field names that must be present in the data to validate. Must not be null. |
Array | l_pAllowedValues | An array of allowed field values. |
►
String
validateField(String sFieldValue)
Performs validation on the specified field to determine if it is one of the allowed field values.
String | sFieldValue | The field value to validate. |