HOPEX UML : HOPEX XML Schemas : Creating an XML Schema : References : Characteristics of a Reference (XML Schema)
   
Characteristics of a Reference (XML Schema)
It is possible to define certain characteristics of the ID attribute for the referenced element:
1. Right-click the referenced element and select Type properties from its pop-up menu.
*The "Type properties" are the properties of the class defining the element.
"Role properties" are the properties of the association role corresponding to the element.
See "Element".
2. Select the Generation tab and then the sub-tab for the generation language you are using.
3. Assign values to the parameters by clicking on their fields and using the arrow to select a value.
XDD Compulsory ID Attribute parameter: determines whether the attribute is added to the tag definition.
*In XSD, an ID type attribute created on the type has priority over an ID attribute defined in generation parameters. Use of this type of reference in XSD is not recommended.
UML modeling
the value of this attribute may be defined globally for one of the ancestor packages of the class. It is then reflected in all classes owned by the package and its sub-packages. Its value can be redefined locally.
XDD ID Attribute Name parameter: defines the name of the attribute (must be entered manually).
XDD ID Attribute Required parameter: defines whether the value of the attribute must be defined in the document. "No" is selected by default.