com.microstrategy.web.transform.ExpressionStrings |
![]() |
This interface represents a helper object that builds a collection of expression parts that can be used to build expression GUI. This collection contains part name - part value pairs. This interface can also be used to build entire user friendly expression string from the expression parts.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | BANDING_SEPARATOR | ||||||||||
String | PART_ATTR_FORM | Expression part name constant representing attribute form for the left operand | |||||||||
String | PART_BREAK_BY | ||||||||||
String | PART_CANCELLED_PROMPT | ||||||||||
String | PART_DORMANT_PROMPT | ||||||||||
String | PART_EMBEDDED_PROMPT | ||||||||||
String | PART_EXPRESSION | Expression part neame constant representing entire expression string. | |||||||||
String | PART_LEFT_OPERAND | Expression part name constant representing left operand | |||||||||
String | PART_OPERATOR | Expression part name constant representing expression operator | |||||||||
String | PART_OUTPUT_LEVEL | Expression part name constant representing dimentionality | |||||||||
String | PART_RIGHT_OPERAND | Expression part name constant representing right operand |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
buildExpressionParts(WebNode node)
Builds expression parts collection for a specified node
| ||||||||||
abstract String | getConstNodeVal(WebNode node) | ||||||||||
abstract String |
getExpressionStr()
Builds and returns user-friendly expression string from the expression
parts
| ||||||||||
abstract String |
getPart(String name)
Returns specified expresson part or null if the part does not exist.
| ||||||||||
abstract boolean |
hasPart(String name)
Returns true if the collection contains part with specified name
| ||||||||||
abstract void | setDataSets(RWDataSets value) | ||||||||||
abstract void |
setPart(String name, String value)
Sets specified part value
|
Expression part name constant representing attribute form for the left operand
Expression part neame constant representing entire expression string. This constant is used for expression types for which we don't support splitting expression in parts. In this case the parts collection will contain only one part representing entire expression.
Expression part name constant representing left operand
Expression part name constant representing expression operator
Expression part name constant representing dimentionality
Expression part name constant representing right operand
Builds expression parts collection for a specified node
node | an expression node |
---|
Builds and returns user-friendly expression string from the expression parts
Returns specified expresson part or null if the part does not exist.
name | a part name |
---|
Returns true if the collection contains part with specified name
name | a part name |
---|
Sets specified part value
name | a part name |
---|---|
value | a part value |