Chapter 4 Managing Profiles


Defining default names for stereotyped objects

You can define a default name for objects created using a stereotype custom tool.

The default name can be very useful when designing for a target language or application with strict naming conventions. However, the default name does not prevail over model naming conventions, so if a name is not correct it is automatically modified.

You can use the syntax %d to define the counter position in the default name. For example, you can define %d_boundary as default name for <<boundary>> objects. In this case, the counter is displayed before the object name and the third boundary object created in the diagram will be named 3_boundary:


 


Copyright (C) 2005. Sybase Inc. All rights reserved.