public interface Formula
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Formula.FormulaExecutionResult
Formula computation result
|
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
evaluate()
Evaluates the formula in the current environment (client/server)
|
List<Object> |
evaluate(Document doc)
Runs a formula on a document
|
Double |
evaluateAsNumber(Document doc,
Double defaultValue)
Runs a formula on a document and converts the result to a number
|
Double |
evaluateAsNumber(Double defaultValue)
Evaluates the formula and converts the result to a number
|
String |
evaluateAsString()
Evaluates the formula and converts the result to a string
|
String |
evaluateAsString(Document doc)
Runs a formula on a document and converts the result to a string
|
Formula.FormulaExecutionResult |
evaluateExt(Document doc)
Formula execution that returns more information about the computation
result
|
String |
getFormula()
Returns the formula string that was used to compile this
Formula
object |
String getFormula()
Formula
objectList<Object> evaluate()
ListString evaluateAsString()
Double evaluateAsNumber(Double defaultValue)
defaultValue - default value to be returned of result is not a numberList<Object> evaluate(Document doc)
doc - the document contextDominoDateTimeString evaluateAsString(Document doc)
doc - documentDouble evaluateAsNumber(Document doc, Double defaultValue)
doc - documentdefaultValue - default value to be returned of result is not a numberFormula.FormulaExecutionResult evaluateExt(Document doc)
doc - documentCopyright © 2019–2021 HCL. All rights reserved.