Name |
String |
Specify a name for the object when you create it. Names
can consist of virtually any alphanumeric character including the letters A through Z, a through z and
the digits 0 through 9.
They may also include the following
punctuation characters; - - the hyphen
- _ the underscore
- . the period
Names can only start with a letter or the underscore character
and not with a number, hyphen or period.
Names beginning with xml or
any variant (for example XmL) are reserved by the XML
standards specification.
Further details of naming conventions and allowable
characters can be found in the Extensible Markup Language (XML) specification
that can be found on the World Wide Web Consortium (W3C) Web
site.
|
Composition |
Enumerated type |
The following only applies to
the element content of a complex type and has no effect on the attribute content
of a complex type.
Select from:
- Empty
- sequence. If you
select this option, you can define members that are elements or groups. These
members, if present, must appear in the specified order in the message. They
can repeat, and the same element or group can appear more than once.
- choice. If you
select this option, you can define members that are elements or groups. Exactly
one of the defined members must be present in the message, and can repeat.
Use
this option if you want to model C unions and COBOL REDEFINES in a Custom
Wire Format, or an XML DTD element that uses choice in an XML Wire Format,
or a SWIFT field that has more than one option.
- all. The elements in an all group
can appear in any order. Each element can appear once, or not at all. An all group can only contain elements;
groups are not allowed. An all group
can only be used at the top level of a complex type - it cannot be a member
of another group within a type.
- unorderedSet. If
you select this option, you can define only elements as children. The elements
can repeat but cannot be duplicated. Child elements can appear in any order.
- orderedSet. If
you select this option, you can define only elements as children. These elements,
if present, must appear in the specified order, and they can repeat but cannot
be duplicated. This is the default value for new complex types.
- message.
If you select
this option, you can define only messages as children. They can repeat, but
they cannot be duplicated. Like choice,
only one of the defined children can be present.
If
the complex type includes more than one message, the bit stream contains the
exact length of the embedded message, and is not padded to the length of the
longest.
Use
this option to model multipart messages, which are used in some industry standards,
for example, SWIFT. For more information, see the section on multipart messages
in Multipart messages.
|
Content Validation |
Enumerated type |
Content Validation controls
how the broker responds to undeclared content and specifies where the objects
that are included within the complex type are defined, if at all. It is used
in combination with the Composition property.
Options: - Closed. The complex
type can only contain the child elements that you have added to it.
- Open Defined. The
complex type can contain any valid element defined within the message set.
- Open. The complex
type can contain any valid element, not just those that you have added to
this complex type.
See Combinations of Composition and Content Validation for further
details of these options.
|