Unified Modeling Language Reference Manual, The, Second Edition
by James Rumbaugh, Ivar Jacobson, Grady Booch
polymorphic
Indicates an operation whose implementation (a method or state machine triggered by a call event) may be supplied by a descendant class. An operation that is not polymorphic is a leaf operation.
See also abstract operation, generalization, inheritance, method.
Semantics
If an operation is polymorphic, then a method may be supplied for it in a descendant class (whether or not a method has already been supplied in the original class). Otherwise, a method must be available for the operation in the class declaring the operation, and the method cannot be overridden in a descendant class. A method is available if it is declared by a class or inherited from an ancestor. An abstract operation must be polymorphic (because it has no 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