# MapRule

Represents a map rule; each map rule consists of a test expression, operator, values and corresponding translated value

### Description

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”.

### See Also

## testExpr

An expression used to map internal values to display values

### Description

### See Also

## operator

The operator for a simple condition

### Description

### See Also

## value1

The value for simple conditions with the operators: <, <=, =, <>, >=, >, between, not between, like

### Description

### See Also

## value2

The value for simple conditions with the operators: between, not between

### Description

### See Also

## display

The value to display when the map rule “triggers.”

### Description

The display value appears when the map rule triggers. The value is a string and is not further formatted

### See Also

## displayID

Resource key for the display value.

### Description

### See Also