Class Expression
java.lang.Object
org.eclipse.birt.report.model.api.Expression
Represents the object for the expression. The expression has an expression
value and its type.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Expression
Constructor- Parameters:
expr
- the valuetype
- the type
-
-
Method Details
-
toString
-
getStringExpression
Return the raw expression if the type is not constant. If the type is constant, get the value in string.- Returns:
- the raw expression or the value in string
-
getExpression
Return the raw expression if the type is not constant. If the type is constant, get the value.- Returns:
- the raw expression or the value
-
getType
Return the type of the expression. It can be one of defined inExpressionType
. For the compatibility issue, in default, it isExpressionType.JAVASCRIPT
.- Returns:
- the type
- See Also:
-
getUserDefinedType
Return the type of the expression set by the user. This method ignore the compatibility issue.- Returns:
- the type
- See Also:
-
equals
-