Unified Modeling Language Reference Manual, The, Second Edition
by James Rumbaugh, Ivar Jacobson, Grady Booch
class
The descriptor for a set of objects that share the same attributes, operations, methods, relationships, and behavior. A class represents a concept within the system being modeled. Depending on the kind of model, the concept may be real-world (for an analysis model), or it may also contain algorithmic and computer implementation concepts (for a design model). A classifier is a generalization of class that includes other class-like elements, such as data type, actor, and component.
Semantics
A class is the named description of both the data structure and the behavior of a set of objects. A class is used to declare variables. An object that is the value of a variable must have a class that is compatible with the declared class of the variable—that ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access