Template parameter names

In XDE, template parameters are displayed on diagrams using the name of the template parameter followed by the element kind of the template parameter’s type element (the element that is owned by the template parameter). The type element has a name in XDE, but that name is generally not displayed on diagrams. In UML 2.0, template parameters do not have names. Instead, diagrams in the Rational® modeling products display the element kind of the template parameter’s type element followed by the name of the type element.

Therefore, to preserve diagrams, the name of XDE template parameters are migrated as the name of the UML 2.0 template parameter’s type element, if the XDE type element still had its default name (as it does in the following figure). If the XDE type element has something other than its default name, then that name is imported and the XDE template parameter’s name is not imported.

Named template parameter before import

Template parameter in the diagram window and Model Explorer of XDE.

Named template parameter after import

Template parameter applied to a class in the diagram editor. The template parameter name does not import from XDE.
Terms of use | Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.