HOPEX UML : HOPEX XML Schemas : XSD Reverse Generation : Modeling the XSD Schema tags : XSD reverse generation: Sequence
   
XSD reverse generation: Sequence
The "Sequence" tag defines a group of elements and/or sub-groups ordered sequentially.
"Sequence" is modeled by a class of the "schema Group" stereotype, in its definition. The declaration of this group is represented by a UML composition, and the group occurrence is represented by the UML class role on the side of the Group class.
The XDD Order generation parameter for the class is set to "sequence".
If the group has no siblings, the name of the class is "Sequence". Otherwise, it is "Sequence" followed by an index indicating the placement in the group.
If Sequence has no siblings, if its default multiplicity is 1, and if its parent is a model group or type, the Sequence group is factored up to the parent. It is the parent that bears the XDD Order parameter.
Attributes of "Sequence"
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
"Sequence" may have as a child:
"XSD reverse generation: Element"
"XSD reverse generation: Group"
"XSD reverse generation: Choice"
"XSD reverse generation: Sequence"
"XSD reverse generation: Any"
"XSD reverse generation: Annotation (Documentation - AppInfo)"