Eclipse BIRT Report Object Model (ROM)
MapRule Structure
Display Name: | MapRule |
Since: | 1.0 |
A map rule is part of the map rules. Each map rule contains a condition that matches the value, and a value to display when the rule "triggers." For example, a set of map rules for a "gender" database column may map the values null, M, F into the display values "No data", "Male" and "Female".
The value to display when the map rule "triggers."
Type: | string |
Since: | 1.0 |
Required: | No |
Display Name: | Display |
JavaScript Type: | |
Default Value: | None |
Runtime Settable: | Yes |
The display value appears when the map rule triggers. The value is a string and is not further formatted
Resource key for the display value.
Type: | resourceKey |
Since: | 1.0 |
Required: | No |
Display Name: | DisplayID |
JavaScript Type: | |
Default Value: | None |
Runtime Settable: | Yes |
The operator for a simple condition
Type: | choice (mapOperator) |
Since: | 1.0 |
Required: | No |
Display Name: | Operator |
JavaScript Type: | |
Default Value: | eq |
Runtime Settable: | Yes |
Name | Display Name | Value | Description |
eq | Equal | eq | |
ne | Not Equal | ne | |
lt | Less than | lt | |
le | Less than or Equal | le | |
ge | Larger than or Equal | ge | |
gt | Larger than | gt | |
between | Between | between | |
not-between | Not Between | not-between | |
is-null | Is Null | is-null | |
is-not-null | Is Not Null | is-not-null | |
is-true | Is True | is-true | |
is-false | Is False | is-false | |
like | Like | like | |
match | Match | match |
An expression used to map internal values to display values
Type: | expression |
Context: | |
Expression Type: | any |
Since: | 1.0 |
Required: | No |
Display Name: | TestExpression |
JavaScript Type: | |
Default Value: | None |
Runtime Settable: | Yes |
The value for simple conditions with the operators: <, <=, =, <>, >=, >, between, not between, like
Type: | expression |
Context: | |
Expression Type: | any |
Since: | 1.0 |
Required: | No |
Display Name: | Value1 |
JavaScript Type: | |
Default Value: | None |
Runtime Settable: | Yes |
The value for simple conditions with the operators: between, not between
Type: | expression |
Context: | |
Expression Type: | any |
Since: | 1.0 |
Required: | No |
Display Name: | Value2 |
JavaScript Type: | |
Default Value: | None |
Runtime Settable: | Yes |