Abstract
The next stop on your voyage through the Design Patterns galaxy takes you to the Visitor design pattern, another of the design patterns found in the GoF catalog. You will find this design pattern most useful once the maintenance cycle has begun on software components.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsNotes
- 1.
- 2.
Presumably the word extension is a reference to the Java language, where a subclass indicates its relationship to a superclass by naming the superclass in its class definition following the word extends, similar to the way the phrase inheriting from denotes this relationship in ABAP.
- 3.
GoF, p. 331.
- 4.
GoF, p. 334.
- 5.
To facilitate brevity in the UML class diagram, we omitted classes corresponding to insect_infestation_inspector and fire_safety_inspector, which would mimic class water_quality_inspector in that each implements the visitor interface and provides implementations for the methods defined by the visitor interface.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2017 James E. McDonough
About this chapter
Cite this chapter
McDonough, J.E. (2017). Visitor Design Pattern. In: Object-Oriented Design with ABAP. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2838-8_26
Download citation
DOI: https://doi.org/10.1007/978-1-4842-2838-8_26
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-2837-1
Online ISBN: 978-1-4842-2838-8
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books