Data Transformation Engine Type Designer Reference Guide

Chapter 8 - Components Defining Component Rules
Component Rules are Context-sensitive
Component rules apply to components, not types. It applies to data in a certain
context when the data is a component of a given group.
Suppose you have some order data that contains two kinds of records: a regular
order record and a bulk order record. In the bulk order record, the quantity
ordered must be greater than 1000. In the regular order record, the quantity can
be any number. You could put a rule on the quantity ordered component of a bulk
order, but not on the quantity ordered of a regular order.
The component rule in this example applies in a given context. When the
QuantityOrdered field appears in the context of the Bulk OrderRecord, it must
conform to the component rule. When it appears in the Regular OrderRecord, it
does not have to conform to any component rule.
Special Characters in Component Rules
To enter the actual value of a special character in a component rule, you must
enter the Hex value for one of the characters. For example, to enter the text value
<WSP>, enter the Hex value for the less than sign <<3C>>, and then the rest:
<<3C>>WSP>
No component rule appears
on a regular order
A component rule
appears on a bulk order