O'Reilly logo

Object-Oriented Design with ABAP: A Practical Approach by James E. McDonough

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© James E. McDonough 2017

James E. McDonough, Object-Oriented Design with ABAP, 10.1007/978-1-4842-2838-8_25

25. Memento Design Pattern

James E. McDonough

(1)Pennington, New Jersey, USA

The next stop on our voyage through the Design Patterns galaxy takes us to the Memento design pattern , another of the design patterns found in the GoF catalog. We will find this design pattern useful when we need to be able to reset the internal state of an object to some previous setting.

We will explore the Memento design pattern through an example where resetting attributes of a class to some previous values might become necessary during the normal use of an application.

Chess Anyone?

Computer chess games are available via chess game applications that can be ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required