Class FunctionDescription
java.lang.Object
org.pentaho.libformula.editor.function.FunctionDescription
- Author:
- matt
Text & Concatenate two strings. Text Left & Text Right Text None Concatenates two text (string) values. Due to the way conversion works, numbers are converted to strings. Note that this is equivalent to CONCATENATE(Left,Right). (Note: CONCATENATE is not yet available in libformula version 0.1.18.2) "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
ConstructorsConstructorDescriptionFunctionDescription(String category, String name, String description, String syntax, String returns, String constraints, String semantics, List<FunctionExample> functionExamples) FunctionDescription(Node node) -
Method Summary
Modifier and TypeMethodDescriptionCreate a text version of a report on this functiongetName()voidsetCategory(String category) voidsetConstraints(String constraints) voidsetDescription(String description) voidsetFunctionExamples(List<FunctionExample> functionExamples) voidvoidsetReturns(String returns) voidsetSemantics(String semantics) void
-
Field Details
-
XML_TAG
- See Also:
-
-
Constructor Details
-
FunctionDescription
public FunctionDescription(String category, String name, String description, String syntax, String returns, String constraints, String semantics, List<FunctionExample> functionExamples) - Parameters:
category-name-description-syntax-returns-constraints-semantics-functionExamples-
-
FunctionDescription
-
-
Method Details
-
getCategory
- Returns:
- the category
-
setCategory
- Parameters:
category- the category to set
-
getName
- Returns:
- the name
-
setName
- Parameters:
name- the name to set
-
getDescription
- Returns:
- the description
-
setDescription
- Parameters:
description- the description to set
-
getSyntax
- Returns:
- the syntax
-
setSyntax
- Parameters:
syntax- the syntax to set
-
getReturns
- Returns:
- the returns
-
setReturns
- Parameters:
returns- the returns to set
-
getConstraints
- Returns:
- the constraints
-
setConstraints
- Parameters:
constraints- the constraints to set
-
getSemantics
- Returns:
- the semantics
-
setSemantics
- Parameters:
semantics- the semantics to set
-
getFunctionExamples
- Returns:
- the functionExamples
-
setFunctionExamples
- Parameters:
functionExamples- the functionExamples to set
-
getHtmlReport
Create a text version of a report on this function- Returns:
-