The simple type value constraint properties described here apply to:
Property | Type | Meaning |
---|---|---|
Min | Integer | The Min property
is used to specify the minimum value for which the data in the message must
be greater than or equal to. When this value is set it cannot be equal to or greater than the Max Inclusive Constraint property. You cannot specify both Min Inclusive Constraint and Min Exclusive Constraint properties together for the same simple type. |
Max | Integer | The Max property
is used to specify the maximum value for which the data in the message must
be less than or equal to. When this value is set it cannot be equal to or less than the Min Inclusive Constraint property. You cannot specify both Max Inclusive Constraint and Max Exclusive Constraint properties together for the same simple type. |
Property | Type | Meaning |
---|---|---|
Min | Integer | The Min property
is used to specify the minimum value for which the data in the message must
be greater than. When this value is set it cannot be equal to or greater than the Max Inclusive Constraint property. You cannot specify both Min Inclusive Constraint and Min Exclusive Constraint properties together for the same simple type. |
Max | Integer | The Max property
is used to specify the maximum value for which the data in the message must
be less than. When this value is set it cannot be equal to or less than the Min Inclusive Constraint property. You cannot specify both Max Inclusive Constraint and Max Exclusive Constraint properties together for the same simple type. |
Property | Type | Meaning |
---|---|---|
Fraction Digits | Integer | Set this property to limit the number of digits in the
fraction part of a numerical value to the number of digits specified in this
property. The value must be greater than or equal to 0 and less than 2147483648. The value set for Fraction Digits cannot be greater than the value specified for Total Digits. |
Property | Type | Meaning |
---|---|---|
Total Digits | Integer | Set this property to set the maximum number of digits
in a numerical value to the number of digits specified in this property. The value must be greater than or equal to 0 and less than 2147483648. The value set for Total Digits cannot be less than the value specified for Fraction Digits. |
Property | Type | Meaning |
---|---|---|
White Space | Enumerated type | The White Space controls
the processing of white space characters received for this type. The value
of White Space must be one
of;
|
Property | Type | Meaning |
---|---|---|
Enumerations | String | Enumerations constrain
the values to the list that is specified in this property. For example, you
could create a simple type called RainbowColors. You would then add Red, Orange, Yellow, Green, Blue, Indigo,
and Violet to the enumerations
list. You need to ensure that you have all variations of the data that you are likely to receive in the message defined in the list. For example, Yellow, yellow, yel, y could be possible variations of a single color. Select Add to add a default enumeration. Overtype the default with the data you require. If you need to change an entry, select the entry, then click on the entry a second time (as distinct from double-click). The selected entry can then be updated. |
Property | Type | Meaning |
---|---|---|
Patterns | String | Patterns are
a regular expression or a series of regular expressions used to constrain
the data within the simple type. For further information on patterns and their
syntax see Using regular expressions to parse data elements. Select Add to add a default pattern. Overtype the default with the data you require. If you need to change an entry, select the entry, then click on the entry a second time (as distinct from double-click). The selected entry can then be updated. |