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 ...

Get Unified Modeling Language Reference Manual, The, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.