Unified Modeling Language Reference Manual, The, Second Edition
by James Rumbaugh, Ivar Jacobson, Grady Booch
direct class
The class that most completely describes an object.
See also class, generalization, inheritance, multiple classification, multiple inheritance.
Semantics
An object may be an instance of many classes—if it is an instance of a class, then it is also an instance of the ancestors of the class. The direct class is the most specific description of an object, the one that most completely describes it. An object is a direct instance of its direct class and an indirect instance of the ancestors of the direct class. An object is not an instance of any descendants of the direct class (by definition).
If multiple classification is allowed in a system, no single direct class may completely describe an object. The object may be the combined direct ...
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