Class FunctionExample
- java.lang.Object
-
- org.pentaho.libformula.editor.function.FunctionExample
-
public class FunctionExample extends Object
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 &
-
-
Constructor Summary
Constructors Constructor Description FunctionExample(String expression, String result, String level, String comment)
FunctionExample(Node node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getComment()
String
getExpression()
String
getLevel()
String
getResult()
void
setComment(String comment)
void
setExpression(String expression)
void
setLevel(String level)
void
setResult(String result)
-
-
-
Field Detail
-
XML_TAG
public static final String XML_TAG
- See Also:
- Constant Field Values
-
-
Method Detail
-
getExpression
public String getExpression()
- Returns:
- the expression
-
setExpression
public void setExpression(String expression)
- Parameters:
expression
- the expression to set
-
getResult
public String getResult()
- Returns:
- the result
-
setResult
public void setResult(String result)
- Parameters:
result
- the result to set
-
getLevel
public String getLevel()
- Returns:
- the level
-
setLevel
public void setLevel(String level)
- Parameters:
level
- the level to set
-
getComment
public String getComment()
- Returns:
- the comment
-
setComment
public void setComment(String comment)
- Parameters:
comment
- the comment to set
-
-