File:Common usage of the factory method pattern.PNG

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Common_usage_of_the_factory_method_pattern.PNG(434 × 299 pixels, file size: 9 KB, MIME type: image/png)

Summary

Description
English: This UML diagram depicts what is explained in the Factory method pattern, common usage section, as I think that this section is not easily comprehendable by readers unfamiliar with programming. It shows an example for the factory method pattern that is used in test-driven development. The test uses the TestFoo instead of Foo, and creates instead of a Dangerous object only a fake object called FakeDangerous that does not hamper the test.
Date
Source Own work
Author Sae1962

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

22 May 2012

image/png

39ea921a41ad93005b93b0026b30eb98819a286b

9,273 byte

299 pixel

434 pixel

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current12:27, 22 May 2012Thumbnail for version as of 12:27, 22 May 2012434 × 299 (9 KB)Sae1962
The following pages on the English Wikipedia use this file (pages on other projects are not listed):

Metadata