Академический Документы
Профессиональный Документы
Культура Документы
Schedule
• Feb. 27th
– 13:00 Scope and Goal
– 14:30 Basic Concepts on Representing the World
Outline of (object, class, association, …)
• Feb. 28th
UML and Unified Process – 13:00 Basic Concepts on Interaction
(message passing, operation, method,
polymorphism)
– 14:30 Basic Concepts on Reuse
Koichiro OCHIMIZU (super class, class inheritance, interface
inheritance)
School of Information Science • March 1st
– 13:00 Introduction to Java Programming
JAIST – 14:30 Outline of UML and Unified Process
h1 a1
possibility
state-of-
hunger
Analysis/Design/Programming
eat()
public class hungry-
hungry apple person {
person
state of volume int state-of-hunger
hunger
satisfy
eaten
void eat ()
state-of-
hunger
Iterative and Incremental
eat hunger
a2 } eat()
h2
public class apple {
:hungry person :apple int volume
volume
OOA OOD/OOP
void eaten ()
eaten()
}
The world view:We can
represent the domain
volume
Domain Model Program
simply by “A set of objects
and their interaction) eaten() Definition of Construction of
Definition of static structure
and dynamic behavior
Program the problem the solution
Reproduction of the
Domain in the main
memory
Relationship UML1.5
between
Methods and UML • Very popular now and help us make and analyze:
– Use-case Diagrams for defining functional requirements
– Collaboration Diagrams for finding analysis classes
Method 1 Method 2 Method 3 – Class Diagrams for designing the static structure
– Sequence Diagrams for defining objects interaction
– State Diagrams for defining the behavior of each object
Description
– Deployment Diagrams for allocating objects to machines
– Component Diagrams for packaging
UML
UML&UP outline 1
Koichiro Ochimizu, JAIST
Relationships between
The Views in UML views and diagrams in UML
• Use-Case View
– Use-Case Diagram
• Logical View
Component Logical – Class Diagram, Object Diagram
View View – State Diagram, Sequence Diagram, Collaboration Diagram,
Activity Diagram
Use-Case • Concurrency View
View – State Diagram, Sequence Diagram, Collaboration Diagram,
Activity Diagram
Deployment Concurrency
– Component Diagram,, Deployment Diagram
View View
• Deployment View
– Deployment Diagram
• Component View
H.E. Eriksson and M. Penker, “UML Toolkit” John Wiley & Sons, Inc.
– Component Diagram
Use Case Description Analysis of inside of the system Use Case Description Analysis Classes
Event Sequences between actors and Event Sequences between actors and the System
the system
Collaboration Collaboration
UML&UP outline 2
Koichiro Ochimizu, JAIST
Class Diagram (Analysis Class + Design Class) Final Step of Modeling (Definition of Static Structure
and Dynamic Behavior)
Actor Actor
Use Case
Actor
Withdraw Money Bank Customer Withdraw Money
Use case are also used as “placeholders” for nonfuctional requirements Dispenser Cashier Withdrawal Account
Interface
I. Jacobson, G.Booch, J.Rumbaugh,”The Unified Software Development Process”, I. Jacobson, G.Booch, J.Rumbaugh,”The Unified Software Development Process”,
Addison Wesley, 1999. Addison Wesley, 1999.
UML&UP outline 3
Koichiro Ochimizu, JAIST
G.Booch, J.Rumbaugh, I. Jacobson , ”The Unified Modeling Language User I. Jacobson, G.Booch, J.Rumbaugh,”The Unified Software Development Process”,
Guide”, Addison Wesley, 1999. Addison Wesley, 1999.
UML&UP outline 4
Koichiro Ochimizu, JAIST
UML&UP outline 5
Koichiro Ochimizu, JAIST
UML&UP outline 6