Chapter 4 Managing Profiles
An extended collection allows you to associate multiple instances of one metaclass with an instance of another. For example, you can associate multiple column objects with a table. When you create an extended collection in a metaclass, its property sheet will contain a tab with the name of the extended collection.
This feature is useful when you want to create additional collections on existing metaclasses, and can also help you manage new kinds of objects like extended objects or extended links. For example, to attach documents containing use case specifications to the different packages of a model you can create an extended collection in the package metaclass and define FileObject as the target metaclass.
You can also use extended collections to complement the definition of an object using other objects. For example, you can create an extended collection on the process metaclass that shows the OOM components used as resources to the process, this allows you to have a more accurate vision of the physical implementation of the process.
When you define an extended collection, the metaclass it references is displayed like a new list of objects in the property sheet of the parent metaclass, and the parent metaclass is displayed in the Dependencies tab of the target metaclass.
To create an extended collection:
Copyright (C) 2007. Sybase Inc. All rights reserved. |
![]() |