UML dependency and association
-
Hi, I have been trying to understand the differnce between these two concepts, however I am still a bit confused. if I have this interface Interface IArticleFactory { IArticle Create(Parameter p) } What is the relationship beetween IArticle and IArticleFactory? Dependency, Association or none. What is the relationship beetween Parameter P and IArticleFactory? Dependency, Association or none. (some people show no relation at interface level) Again Class ArticleFactory : IArticleFactory { IArticle Create(Parameter p) { return IArticle = new Article(p); } } What is the relationship beetween IArticle and ArticleFactory? Dependency, Association or none. What is the relationship beetween Article and ArticleFactory? Dependency, Association or none. What is the relationship beetween Parameter P and ArticleFactory? Dependency, Association or none. Thanks Pierpaolo