| COMP 310 
		 Fall 2011
 | Lec04: UML Diagrams | 
	
		|          | 
New Lab Times
	- 
	
		Mon. 12:35 PM - 1:50 PM 
- 
	
	
	Tue. 9:25 AM - 10:40 AM 
Lab will be 
held in the Computer Lab in OEDK (Oshman 
Engineering Design Kitchen), which is located just off the North Parking 
Lot.
We will continue with our walkthrough from last lecture on 
building GUI's in lab today and tomorrow.
The HW01 due date has been moved back to Friday.
 
	- Boxes
		- Classes
			- Name, fields and methods
				- Concrete (regular type) vs abstract (italic type)
- Chevrons sometimes used to denote interfaces.
- Sometimes the "role" in which the class plays in the design 
				will be also be noted.
 
- Accessibility:  public (+), private (-), package (nothing)
 
- Comments/Notes  (dog-eared)
 
- Lines:
		- Solid arrowheads -- generalization
			- solid line: inheritance
- dotted line:implementation
 
- Open arrowheads
			- solid line:  association ("has-a")  -- composition (with 
			solid diamond end)  or aggregation (with open diamond end) or unspecified (no diamond 
			end).   Java is always aggregation.
- dotted line:   dependency ("instantiates", "uses", 
			etc)
 
 
Use Green UML to help you concentrate on the design of your system, 
its structure and behaviors, rather than on the Java syntax.
© 2011 by Stephen Wong and Scott Rixner