Class FunctionExample
java.lang.Object
org.pentaho.libformula.editor.function.FunctionExample
Describes a lib formula function example in a generic way.
- Author:
- matt
"Hi " & "there" "Hi there" 1 Simple concatenation. "H" & "" "H" 1 Concatenating an empty string produces no change. -5&"b" -5b 1 Unary - has higher precedence than & 3&2-1 31 1 Binary - has higher precedence than &
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFunctionExample(String expression, String result, String level, String comment) FunctionExample(Node node) -
Method Summary
Modifier and TypeMethodDescriptiongetLevel()voidsetComment(String comment) voidsetExpression(String expression) voidvoid
-
Field Details
-
XML_TAG
- See Also:
-
-
Constructor Details
-
FunctionExample
-
FunctionExample
-
-
Method Details
-
getExpression
- Returns:
- the expression
-
setExpression
- Parameters:
expression- the expression to set
-
getResult
- Returns:
- the result
-
setResult
- Parameters:
result- the result to set
-
getLevel
- Returns:
- the level
-
setLevel
- Parameters:
level- the level to set
-
getComment
- Returns:
- the comment
-
setComment
- Parameters:
comment- the comment to set
-