Back to list
Views:   2.2K
Replies:  0

Abstract Factory UML representation

Shouldn't the arrow from Client to AbstractFactory be a dotted line in diagram ?

the only place where client uses abstractfactory is in the following code. so it should be a weak-dependency, and thereby a dotted line seems to more right

 public Client(AbstractFactory factory)


      _abstractProductB = factory.CreateProductB();

      _abstractProductA = factory.CreateProductA();


Kiran Indukuri, Oct 15, 2014
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.