Fundamentals of Object-Oriented Design in UML

类别:软件工程 点击:0 评论:0 推荐:
Wonderful book,with no other words to evaluated it.
Materials in first and second parts of this book is not so good ,but part 3,from Chapter8 to Chapter 16 is excellent than other books I have seen.Some issues will be writen down in details and share with you.
1.difference between Components-Composite and Consituent.
There is only vital difference between them that can distinguish them clearly.That is
Components are isomerous,but Consituent are not.

Let's take a class as an example.
Components-Composite:A classic class is made of some students,management systems,ect.
Consituent:Each students is a  member of a class.

So ,the difference is obvious.Students and management totally “isomerous”,they have isomerous studcture,characters,presentation and so on.By contrast, sutudents of a class may be male or female,in different age,but they are so similar to each other.Generally,we can design only one class for it.

本文地址:http://com.8s8s.com/it/it34257.htm