public interface

ExpressionStrings

com.microstrategy.web.transform.ExpressionStrings
Known Indirect Subclasses

Class Overview

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.

Summary

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

Constants

public static final String BANDING_SEPARATOR

Constant Value: "."

public static final String PART_ATTR_FORM

Expression part name constant representing attribute form for the left operand

Constant Value: "attrForm"

public static final String PART_BREAK_BY

Constant Value: "breakBy"

public static final String PART_CANCELLED_PROMPT

Constant Value: "cancelledPrompt"

public static final String PART_DORMANT_PROMPT

Constant Value: "dormantPrompt"

public static final String PART_EMBEDDED_PROMPT

Constant Value: "embeddedPrompt"

public static final 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.

Constant Value: "expression"

public static final String PART_LEFT_OPERAND

Expression part name constant representing left operand

Constant Value: "leftOperand"

public static final String PART_OPERATOR

Expression part name constant representing expression operator

Constant Value: "operator"

public static final String PART_OUTPUT_LEVEL

Expression part name constant representing dimentionality

Constant Value: "outputLevel"

public static final String PART_RIGHT_OPERAND

Expression part name constant representing right operand

Constant Value: "rightOperand"

Public Methods

public abstract void buildExpressionParts (WebNode node)

Builds expression parts collection for a specified node

Parameters
node an expression node

public abstract String getConstNodeVal (WebNode node)

public abstract String getExpressionStr ()

Builds and returns user-friendly expression string from the expression parts

Returns
  • name a part name

public abstract String getPart (String name)

Returns specified expresson part or null if the part does not exist.

Parameters
name a part name
Returns
  • a part value

public abstract boolean hasPart (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

public abstract void setDataSets (RWDataSets value)

public abstract void setPart (String name, String value)

Sets specified part value

Parameters
name a part name
value a part value