Chapter 3 Building Structural Diagrams


Copying an attribute to a class, interface, or identifier

You can duplicate an attribute from one classifier to another. If the classifier already contains an attribute with the same name or code as the copied attribute, the copied attribute is renamed. For example the attribute PERIPHLD is renamed into PERIPHLD2 when it is copied to a class which already contains an attribute PERIPHLD.

Steps To copy an attribute to another classifier:

  1. Open the property sheet of a class, interface, or identifier, and click the Attributes tab.
  2. Click the Add Attributes tool to open the Selection window. This window contains a list of all the attributes in the model, except those that already belong to the object.
  3. Select the attributes you want to add to the object.

    or

    Use the Select All tool to add all the attributes in the list to the object.
  4. Click OK to add the selected attributes to the current object.

 


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