HOPEX UML : HOPEX XML Schemas : XSD Reverse Generation : Modeling the XSD Schema tags : XSD reverse generation: Attribute
   
XSD reverse generation: Attribute
The "Attribute" tag defines an attribute for an XML tag. It is based on a simple type.
The attribute is modeled by a UML attribute of the class that declares it. Thus, if the attribute is defined at the schema level, the class that bears the attribute is the Schema class. If a type is concerned, the attribute will be on the class for the type.
Attributes of "Attribute"
Default: modeled by the Initial value and Modifiable attributes. Initial value shows the default value, and Modifiable is set to "yes".
Fixed: modeled by the Initial value and Modifiable attributes. Initial value shows the value of Fixed, and Modifiable is set to "no".
Form: modeled by the XSD Form generation parameter. This attribute is a tabulated value, and is either "qualified" or "unqualified".
Id: modeled by the XSD Id generation parameter.
Name: defines the name of the attribute. The XSD Name attribute is also defined, which is the value used during generation. You can therefore change the attribute name without changing the representation of the schema.
Ref: modeled by the "Referenced Attribute/Referencing Attribute" link. This references an attribute defined at the schema level.
Type: modeled by the type of the attribute.
Use: modeled by the multiplicity of the attribute.
Optional: the multiplicity of the attribute is 0..1.
Required: the multiplicity of the attribute is 1.
Prohibited: the multiplicity of the attribute is 0.