You can specify whether the UML-to-XSD transformation converts
a nested class into an anonymous type when no explicit association exists
between the nesting class and the nested class. By default, the transformation
converts a nested class into an anonymous type only if it has an association
relationship with the nesting class. You can specify that the transformation
converts all nested classes into anonymous types so that the generated XSD
type corresponds to the elements that the nested classes contain.
Before you specify how the UML-to-XSD transformation processes UML
classes, you should read the information that is available at . From the
Transformations/Configurations list,
select
UML to XSD. On the
Transformation
Description page, click
View Transformation Documentation.
You
must be in the Modeling perspective.
To specify how the UML-to-XSD transformation processes UML classes:
- Click .
- In the Configure Transformations window, from
the Transformations/Configurations list, select a transformation
configuration.
- Click the Properties tab.
- On the Properties page, in the Property column,
click Convert a nested class to anonymous type implicitly.
- In the Value column, click true or false.
- Click Apply.
- Click Close.
The options are applied the next time that you run this transformation
configuration.