§3.1.(b) Definition
A callout binding maps an abstract role method ("expected method")
to a concrete base method ("provided method").
It may appear within the role class at any place where feature
declarations are allowed. It is denoted by
expected_method_designator -> provided_method_designator;
The effect is that any call to the role method will be forwarded to the
associated base object using the provided base method.
Example code (Callout):
1 |
team class Company { |
2 |
public class Employee playedBy Person { |
3 |
abstract String getIdentification(); |
4 |
|
5 |
} |
6 |
} |