The Momento offers a 'narrow' interface towards the Caretaker and a 'wide' interface towards the Orginator. This means the Momento has a so called 'role-interface'. The clients are only dependent on functionality they need. This ensures restriction on the manipulation of the Momento.
The Momento offers a 'narrow' interface towards the Caretaker and a 'wide' interface towards the Orginator. This means the Momento has a so called 'role-interface'. The clients are only dependent on functionality they need. This ensures restriction on the manipulation of the Momento.