WebSphere Message Brokers
File: ad15850_
Writer: Terry Cowling

Reference topic

This build: July 31, 2007 21:25:20

Logical properties for value constraints for simple type interval types

The simple type value constraint properties described here apply to:

Inclusive Constraints

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.

Exclusive Constraints

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
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;
  • preserve. If you set the property to preserve, all white space characters including carriage return, line feed and tab are preserved.
  • replace. If you set the property to replace, all carriage return, line feed and tab characters are replaced with a space character.
  • collapse. If you set the property to collapse, all carriage return, line feed and tab characters are replaced with a space character. Any adjacent white space characters are then collapsed to a single space character and any leading or trailing spaces are stripped from the data.

Enumerations

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.

Patterns

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.

Related concepts
Message modeling
The message model
Related tasks
Developing message models
Working with message model objects
Related reference
Message model reference information
Message model object properties
Logical properties for message model objects
Custom Wire Format physical properties for message model objects
XML wire format physical properties for message model objects
TDS format physical properties for message model objects
Documentation properties for all message set objects
Message model object properties by object
Additional MRM domain information
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:25:20

ad15850_ This topic's URL is: