O'Reilly logo

Unified Modeling Language Reference Manual, The, Second Edition by Grady Booch, Ivar Jacobson, James Rumbaugh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

attribute

An attribute is the description of a named element of a specified type in a class; each object of the class separately holds a value of the type.

Semantics

An attribute is a named element within a classifier that describes the values that instances of the classifier may hold. Every instance of the classifier or one of its descendants has a slot holding a value of the given type. All the slots are distinct and independent of each other (except for class-scope attributes, which are described later). As execution proceeds, the value held by a slot within an instance may be replaced by a different value of the type, provided the attribute is changeable.

A classifier forms a namespace for its attributes. Also included in the namespace are ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required