Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Service Development Help | Properties | Variable Properties | Constraints Properties for a Variable
 
Constraints Properties for a Variable
Use these properties to apply structural and content constraints to the variable. You only need to specify constraints if you plan to use this variable with validation.
Property
Description
Min occurs
Specifies the minimum number of occurrences of the variable at run time.
This property is display-only.
Note:
The Min occurs property appears only for a variable in a document type with a Model type property value of Sequence, Choice, or All.
Max occurs
Specifies the maximum number of occurrences of the variable at run time. A value of “unbounded” indicates that the variable can appear an unlimited number of times.
This property is display-only.
Note:
The Max occurs property appears only for a variable in a document type with a Model type property value of Sequence, Choice, or All.
Required
Specifies whether or not the variable needs to exist at run time.
The Required property appears for variables in document types if one or more of the following are true:
*The document type was created using a version of Integration Server prior to version 8.2.
*The document type was created using Developer.
*The Model type property of the document type is Unordered.
Select...
To...
True
The default value. Specifies that the variable must exist in the pipeline at run time.
False
Specifies that the existence of the variable is optional at run time.
Allow null
Specifies whether null is a valid value for this variable.
Select...
To...
True
The default value. Specifies that a null value will not result in a validation error at run time.
False
Specifies that a null value will cause a validation error at run time.
Allow unspecified fields
Specifies whether the document is open or closed. This property is enabled only if the variable is a document or document list.
Select...
To...
True
The default value. The document is considered open. At run time, fields that exist in the document but are not declared in the document field will not cause errors.
False
The document or document list is considered closed. At run time, fields that exist in the document but are not declared in the document field will be treated as errors.
Content type
Specifies the XML schema simple type that constrains the value of the String field. This property is enabled if the variable is a String, String list, or String table.
To view and edit the content constraint for a variable, click and select one of the following:
Select...
To...
Content type
Select a content constraint from the drop-down menu that corresponds to a simple type built-in to XML Schema.
Browse
Use a simple type from an IS schema as the content constraint.
Customize
Customize a simple type by modifying the constraining facets.
Base constraints
View the constraining facet values set in the type definitions from which a simple type was derived.
Java wrapper type
Specifies the Java class of an Object field. This property is enabled if the variable is an Object or Object list.