what you need to know about uml not much but you need to know something

10
What you need to know about UML Not much but you need to know something

Upload: shon-pope

Post on 13-Dec-2015

216 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: What you need to know about UML Not much but you need to know something

What you need to know about UML

Not much but you need to know something

Page 2: What you need to know about UML Not much but you need to know something

Go To The Argo UML Editor(it’s in the links sections of Sakai)

CLICK HERE

Page 3: What you need to know about UML Not much but you need to know something

UML

• Stands for Unified Modeling Language• Has notations for a great variety of diagrams• But we will only discuss two in this class:– Class Diagrams– Sequence Diagrams

Page 4: What you need to know about UML Not much but you need to know something

Most Important Point

The purpose of a diagram is not to be an complete description of the system. The purpose of a diagram is to explain how some part of the system works.

Therefore:1. Know what you are trying to convey2. Leave off irrelevant details

Page 5: What you need to know about UML Not much but you need to know something

A Class

Person

String nameint heightDBObject cacheData

+ getUniqueID(): void- loadDBCacheData(): DBObject

Every variable and method should not usually be depicted.

Page 6: What you need to know about UML Not much but you need to know something

Representing a VariablePerson

String nameint heightDBObject cacheData

+ getUniqueID(): void- loadDBCacheData(): DBObject

Person

String nameint height

+ getUniqueID(): void- loadDBCacheData(): DBObject

DBObjectString DBname

- loadDBCacheData(): DBObject

Page 7: What you need to know about UML Not much but you need to know something

B has 1 to any number of A objects

Page 8: What you need to know about UML Not much but you need to know something
Page 9: What you need to know about UML Not much but you need to know something

Sequence Diagram

Page 10: What you need to know about UML Not much but you need to know something