Package com.microstrategy.web.transform
Interface ExpressionStrings
-
- All Known Subinterfaces:
ExpressionParts
- All Known Implementing Classes:
ExpressionPartsImpl
,ExpressionStringsImpl
public interface 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.- Since:
- MicroStrategy Web 9.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BANDING_SEPARATOR
static java.lang.String
PART_ATTR_FORM
Expression part name constant representing attribute form for the left operandstatic java.lang.String
PART_BREAK_BY
static java.lang.String
PART_CANCELLED_PROMPT
static java.lang.String
PART_DORMANT_PROMPT
static java.lang.String
PART_EMBEDDED_PROMPT
static java.lang.String
PART_EXPRESSION
Expression part neame constant representing entire expression string.static java.lang.String
PART_LEFT_OPERAND
Expression part name constant representing left operandstatic java.lang.String
PART_OPERATOR
Expression part name constant representing expression operatorstatic java.lang.String
PART_OUTPUT_LEVEL
Expression part name constant representing dimentionalitystatic java.lang.String
PART_RIGHT_OPERAND
Expression part name constant representing right operand
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
buildExpressionParts(WebNode node)
Builds expression parts collection for a specified nodejava.lang.String
getConstNodeVal(WebNode node)
java.lang.String
getExpressionStr()
Builds and returns user-friendly expression string from the expression partsjava.lang.String
getPart(java.lang.String name)
Returns specified expresson part or null if the part does not exist.boolean
hasPart(java.lang.String name)
Returns true if the collection contains part with specified namevoid
setDataSets(RWDataSets value)
void
setPart(java.lang.String name, java.lang.String value)
Sets specified part value
-
-
-
Field Detail
-
PART_EXPRESSION
static final java.lang.String PART_EXPRESSION
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.- See Also:
- Constant Field Values
-
PART_OPERATOR
static final java.lang.String PART_OPERATOR
Expression part name constant representing expression operator- See Also:
- Constant Field Values
-
PART_LEFT_OPERAND
static final java.lang.String PART_LEFT_OPERAND
Expression part name constant representing left operand- See Also:
- Constant Field Values
-
PART_RIGHT_OPERAND
static final java.lang.String PART_RIGHT_OPERAND
Expression part name constant representing right operand- See Also:
- Constant Field Values
-
PART_ATTR_FORM
static final java.lang.String PART_ATTR_FORM
Expression part name constant representing attribute form for the left operand- See Also:
- Constant Field Values
-
PART_OUTPUT_LEVEL
static final java.lang.String PART_OUTPUT_LEVEL
Expression part name constant representing dimentionality- See Also:
- Constant Field Values
-
PART_BREAK_BY
static final java.lang.String PART_BREAK_BY
- See Also:
- Constant Field Values
-
PART_EMBEDDED_PROMPT
static final java.lang.String PART_EMBEDDED_PROMPT
- See Also:
- Constant Field Values
-
PART_DORMANT_PROMPT
static final java.lang.String PART_DORMANT_PROMPT
- See Also:
- Constant Field Values
-
PART_CANCELLED_PROMPT
static final java.lang.String PART_CANCELLED_PROMPT
- See Also:
- Constant Field Values
-
BANDING_SEPARATOR
static final java.lang.String BANDING_SEPARATOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
buildExpressionParts
void buildExpressionParts(WebNode node)
Builds expression parts collection for a specified node- Parameters:
node
- an expression node
-
getPart
java.lang.String getPart(java.lang.String name)
Returns specified expresson part or null if the part does not exist.- Parameters:
name
- a part name- Returns:
- a part value
-
setPart
void setPart(java.lang.String name, java.lang.String value)
Sets specified part value- Parameters:
name
- a part namevalue
- a part value
-
hasPart
boolean hasPart(java.lang.String name)
Returns true if the collection contains part with specified name- Parameters:
name
- a part name- Returns:
- true if the collection contains part with specified name
-
getExpressionStr
java.lang.String getExpressionStr()
Builds and returns user-friendly expression string from the expression parts- Returns:
- name a part name
-
setDataSets
void setDataSets(RWDataSets value)
-
getConstNodeVal
java.lang.String getConstNodeVal(WebNode node)
-
-