Development AntiPattern: The Blob - Refactoring
Final Step:Remove all transient associations, replacing them as appropriate with type specifiers to attributes and operations arguments
Notes:
The final step is to remove all transient associations, replacing them as appropriate with type specifiers to attributes and operations arguments.
In our example, a check_out_item or a search_for_item would be a transient process, and could be moved into a separate transient class with local attributes that establish the specific location or search criteria for a specific instance of a check-out or search. This process is shown.