Message Sets: Logical properties for value constraints for simple type string types
The logical properties for simple type string types.
The simple type value constraint properties described here apply to:
- Objects: Simple types
- Integer schema types: byte, int, long, short, unsignedByte, unsignedInt, unsignedShort
Length constraints
Property | Type | Meaning |
---|---|---|
Length | Integer | Specify the exact length of the simple type
in bytes or characters. The value must be greater than 0, and less than 2147483648. |
Min | Integer | Specify the minimum length of the simple type
in bytes or characters. The value must be greater than 0, and less than 2147483648. |
Max | Integer | Specify the maximum length of the simple type
in bytes or characters. The value must be greater than 0, and less than 2147483648. |
Property | Type | Meaning |
---|---|---|
White Space | Enumerated type | Set this property to control the processing
of white space characters received for this type. Select one of
the following values:
|
Enumerations
Property | Type | Meaning |
---|---|---|
Enumerations | String | Set this property to constrain the values to
the list that is specified in this property. For example, you might
create a simple type called RainbowColors, and add Red, Orange, Yellow, Green, Blue, Indigo, and Violet to the enumerations
list. You must 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, and y might be variations of a single color. Select Add to add a default enumeration. Overtype the default with the data you require. To change an entry, select the entry, and click on the entry a second time (as distinct from double-click). You can now update the selected entry. |
Patterns
Property | Type | Meaning |
---|---|---|
Patterns | String | Patterns are
a regular expression, or a series of regular expressions, that are
used to constrain the data within the simple type. For further information
about patterns and their syntax see Message Sets: Using regular expressions to parse data elements. Select Add to add a default pattern. Overtype the default with the data you require. To change an entry, select the entry, and click on the entry a second time (as distinct from double-click). You can now update the selected entry. |