Software Engineering KB

Home

❯

05 Software Design and Architecture

❯

01 Design Patterns

❯

01 Concept

❯

Memento

Memento

Feb 10, 20261 min read

  • design-patterns
  • behavioral
  • memento

Memento

← Back to Behavioral Patterns

Capture and restore object state (undo/redo). Without violating encapsulation, capture and externalize an object’s internal state so that the object can be restored to this state later.

Key Properties

  • Originator and Caretaker
  • State Snapshot
  • Encapsulation Preservation

Related

  • Command (undo via command history)
  • Prototype (related state copying)

design-patterns behavioral memento


Graph View

  • Memento
  • Key Properties
  • Related

Backlinks

  • Behavioral Patterns
  • Command
  • Prototype
  • Undo and Redo

Created with Quartz v4.5.2 © 2026

  • GitHub