| <<< Abstract adapter | Index | Implementing mementos >>> |
The design pattern provides ability to restore (rollback) an object to its previous state.
An object of class Item has considerable hidden state information.
We want to remember checkpoint state, modify the state, then (possibly) restore the state to the checkpoint state.
Minimal impact on the original Item class interface is preferred!
| <<< Abstract adapter | Index | Implementing mementos >>> |