Defining attributes

Defining attributes

Attributes define the characteristics of a class. A class may have none or several attributes. An attribute is a named property of a class that describes the range of values that instances of the property may hold. Each object in a class has the same attributes, but the values of the attributes may be different.

Attribute names within a class must be unique. You can give identical names to two or more attributes only if they exist in different classes.

You can create attributes for the following objects of an OOM:

Class

Interface

You can attach attributes to an Identifier.

48

Page 58
Image 58
Sybase 7.5 manual Defining attributes