| COMP 310 
		 Fall 2012
 | Lec04: UML Diagrams | 
	
		|          | 
Do 
you need to 'scream yet?  If so, then you need to go to the Engineering/RCEL Ice 
Cream Social!   If not, you 
really 
need to go!   
TODAY (Mon. 8/27/12)  3:30 - 5:00 PM in front of 
Ryon Lab  
Be there, aloha!
 
We will continue with our walkthrough from last lecture on 
building GUI's in lab this week.
 
	- 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 UML Lab to help you concentrate on the design of your system, 
its structure and behaviors, rather than on the Java syntax.
© 2012 by Stephen Wong