Memento

This is a UML class diagram example for the Mememo design pattern.

Purpose

Allows for capturing and externalizing an object's internal state so that it can be restored later, all without violating encapsulation.

Use When

  • The internal state of an object must be saved and restored at a later time.
  • Internal state cannot be exposed by interfaces without exposing implementation.
  • Encapsulation boundaries must be preserved.
Import into your Project

Posted by: Ricardo Poole

Turn every software project into a successful one.

Try Visual Paradigm for Free! Or learn more about our features.

0 0 vote
Article Rating
guest
0 Comments
Inline Feedbacks
View all comments