Underline of use: CH16 P154
The child use inherits the behavior and meaning of the parent!
The child can increase or cover the behavior of the parent!
The child can appear any position in the parent situation (the father and son have a specific example).
Individual understanding: polymorphism.
?
The relationship between the use (include): CH16 P154
Extract public behavior.
Indicates that the basic condition is displayed in a certain location in which it inside it is displayed.
The inclusive use will exist from not isolated, only as part of some of the larger basic conditions containing it. For example, verifying the user's use, it does not make sense, it is just public behavior extracted from other basic conditions (user login).
Use the relationship to put public behavior in the included condition, avoid repeating the unified event stream.
The relationship is essentially an example of a commission.
example:
Main event stream: Get and check the order number. Include (Verify users). ......
Individual understanding: combination.
?
Extendation of the use (extend): CH16 P155
Divide variants.
Indicates that the basic condition is again implicitly combined with another capacity of another.
The basic condition can be existing alone, but in the extended point, its behavior can be extended by another capacity.
The extension relationship is used to model a part of the use of the user being considered by the user as an optional system behavior.
can:
Separate optional behavior from a must-act;
Describe a sub-event stream having only a special condition;
For a certain sorting point, the flow modeling is controlled by displaying interactions with the participant.
One can have multiple extensions, and one extension can occur multiple times.
example:
Main event stream: include (Verify users), mobile phone user's order item, (set priority), ...
Personal understanding: template method.
?
?