Chapter 4 Managing Profiles


Object data type

It may be useful to link an object to another using an extended attribute. For example you could select a user as owner of a table defined by an extended object. The user is selected as value of the extended attribute you define for the extended object. Thus, the extended attribute represents a link to the owner.

To do so, you have to use the predefined "Object" data type available from the Data Type list, which triggers the display of the following properties:

Property Description
Object type Specifies the type of the object referenced by the extended attribute.
Object stereotype Specifies the stereotype of the object referenced by the extended attribute.
Object collection name Specifies the name of the object collection, which is implemented by an extended collection in order to clarify the dependency name used on the referenced object. Indeed the referenced object is stored in an extended collection, which is linked to the extended attribute. The collection name is displayed in the Dependencies tab of the referenced object property sheet. The extended collection is automatically created for all non computed extended attribute having an Object type and is also automatically deleted when you delete the extended attribute, change its type or select the Computed checkbox.

 


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