Thursday, February 8, 2007

2/8 - More UML (use cases, conceptual, state chart diagrams, sequence diagrams



aggregation - an association in which an object is part of a whole

composition - a strong association in which the parts can belong to only one whole


visibility and scope

a constraint is a condition that every implementation of the design must satisfy

sequence diagram
+ class and object diagram are static model views
+ interaction diagrams are dynamic; they describe how objects collaborate
+ a sequence diagram is an interaction diagram that details how operations are carried out, i.e. what messages are being sent and in what sequence

state chart diagram
+ shows the possible sates of the object and the conditions that cause a transition from a state to another



the beauty of OOP - you design for the interface of a class, NOT an implementation

ask questions of your client; "what do you want in this situation?"



***********************photos of diagrams from lecture notes














No comments: