XSD reverse generation: all
The "All" tag defines a group of unordered elements that may appear 0 or one time.
"All" is modeled by a class of the "schema Group" stereotype, in its definition. The declaration of this group is represented by a UML composition. The occurrence of the group is represented by the role of the UML class on the side of the Group class.
The XDD Order generation parameter for the class is set to "none".
If the group has no siblings, the name of the class is "All". Otherwise it is set to "All" followed by an index indicating the placement in the group.
If All has no siblings, if its default multicplicity is 1, and if its parent is a type or a model group, the All group is factored to the parent. It is the parent that bears the XDD Order parameter.
Attributes of "All"
• Id: modeled by the XSD Id generation parameter for the class.
• MaxOccurs: modeled by the maximum multiplicity of the role for the group class.
• MinOccurs: modeled by the minimum multiplicity of the role for the group class.
Child
"All" may have as a child: