The travel policy rule type defines what properties the rule evaluates when checking against the value/operator/unit of the itinerary. Created by nick on 1/29/15.
| name | data type | type | namespace | min/max occurs | description |
|---|---|---|---|---|---|
| description | string | element | 0/1 | A short description of what the rule is for. | |
| message | string | element | 0/1 | The default error message if the rule is violated. | |
| operators | list of travelPolicyOperator | element | 0/unbounded | The available operators for this rule type. | |
| travelType | reservationType | element | 0/1 | The type of travel that this rule checks. | |
| units | list of travelPolicyUnit | element | 0/unbounded | The available units for this rule type. | |
| valueType | string | element | 0/1 | The expected value type for this rule. | |
Properties inherited from baseHibernateEntity |
|||||
| id | long | element | 0/1 | The unique internal ID of the object. | |
| version | long | element | 0/1 | For internal use only. This is the serialization recorder for optimistic locking of several objects between sessions. | |
Properties inherited from baseEntity |
|||||
| violations | list of simpleViolation | element | 0/unbounded | A list of constraint violations, if any, that this object has. | |
Example
<travelPolicyRuleType>
<description>...</description>
<message>...</message>
<travelType>
<name>...</name>
<id>...</id>
<version>...</version>
</travelType>
<valueType>...</valueType>
<operators>
<code>...</code>
<name>...</name>
<id>...</id>
<version>...</version>
</operators>
<units>
<code>...</code>
<name>...</name>
<id>...</id>
<version>...</version>
</units>
<id>...</id>
<version>...</version>
<violations/>
</travelPolicyRuleType>