Attributes | Name and Description |
---|---|
|
caplin.trading.derivation.SimpleDerivation(String sOutputFieldName)
|
Attributes | Name and Description |
---|---|
|
void
addPrecondition(String sFieldName, String sExpectedValue)
Adds a precondition that must verified before the derived field can be calculated. |
|
void
recalculateDerivedFields(caplin.trading.trademodel.DataHolder oData)
Copies the value in the named input field to that in the named output field. |
|
void
setInputFieldName(String sFieldName)
Sets a required input field for this derivation |
|
void
setOutputValue(String sOutputValue)
Sets the output value (constant), to be used if no input field is defined. |
►
caplin.trading.derivation.SimpleDerivation(String sOutputFieldName)
String | sOutputFieldName | the name of the field to use when adding the derived data. |
►
void
addPrecondition(String sFieldName, String sExpectedValue)
Adds a precondition that must verified before the derived field can be calculated.
String | sFieldName | the field name to check |
String | sExpectedValue | the expected field value |
►
void
recalculateDerivedFields(caplin.trading.trademodel.DataHolder oData)
Copies the value in the named input field to that in the named output field.
caplin.trading.trademodel.DataHolder | oData | Data that is augmented by this derivation. Mandatory. |
►
void
setInputFieldName(String sFieldName)
Sets a required input field for this derivation
String | sFieldName | the input field for this derivation. |
►
void
setOutputValue(String sOutputValue)
Sets the output value (constant), to be used if no input field is defined.
String | sOutputValue | output value, to be used if no input field is defined. |