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

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.