Professional Documents
Culture Documents
• Modeling.
• Unified modeling language.
– Class diagram.
– Use case diagram.
– Interaction diagrams.
• Sequence diagram.
• Collaboration diagram.
– Statechart diagram.
– Activity diagram.
– Implementation diagrams.
• Component diagram.
• Deployment diagram.
length: meter
fuelCapacity: Gal lift ()
doors: int break ()
Person BankAccount
Person
marriedTo
BankAccount Person
Company
WorksFor
salary
GradeBook
grade
exam
lab
Object-Oriented Systems Development Bahrami ? Irwin/ McGraw-Hill
Aggregation
1 consistOf *
Te a m Player
class
BoeingAirplane
Support
represent
ative
Object-Oriented Systems Development Bahrami ? Irwin/ McGraw-Hill
Actor Notations
• The three representations of an actor
are equivalent.
• Interaction diagrams:
– Sequence diagrams
– Collaboration diagrams
• Statechart diagrams
• Activity diagrams
OffHook
DialTone
Dial Number
RingTone
OffHooke
OnHook
1: OffHooke
2: DialTone 3: Dial Number
Exchange
4: RingTone
Receiver
5: OffHook
6: OnHook
Talk
Exchange
2.2: RingTone
Receiver
3.1: OffHook
4.1: OnHook
Talk
State
Dialing
digit(n)
Substates
Object-Oriented Systems Development Bahrami ? Irwin/ McGraw-Hill
Complex Transition
i j
A B
k l
Index
documents
Make electronic
file
Complete
Request
Calculate data
Pay provision
for
construction insutroance
mortgag
agent
e
Draw up insurance
policy
Prepare incoming
documents
Make electronic
file Index documents
Complete
request
Draw up insurance
policy
Access Update
UI
Node 1: AdminServer
Access Update
Node 2: John PC
UI
Year
se mester *
* *
Class Student
class student
GradeBook
grade
exam
lab
Customer
Business Model
Clients
Bank
Account
Checkin Saving
g
Person Department
{subset}
1 ManagerOf 1
Company
Person employee employer
Represents
an incorporated
Static models & entity
revision levels
released yesterday
NumberOfCopy NumberOfCopy
makeCopy makeCopy
Copy
Copy
NumberOfCopy
makeCopy
Generalization Association
1
Association Role