File talk:Factory Method UML class diagram.svg

出典:ウィキメディア・コモンズ (Wikimedia Commons)
ナビゲーションに移動 検索に移動

UML Comments

The two dependencies should be drawn with dashed lines.

The dependency name "creates" is OK, but it might be better to show the standard UML stereotype <<create>>, defined as follows:

"A usage dependency denoting that the client classifier creates instances of the supplier classifier."

Also, there is <<instantiate>>, which may be more exact:

"A usage dependency among classifiers indicating that operations on the client create instances of the supplier."

Thank you for your advisement. I have modified the diagram. Is it OK?
By the way, please add your signature using --~~~~ when you comment.--Trashtoy 15:40, 8 February 2007 (UTC)[返信]