Professional Documents
Culture Documents
ICT117 Week03 OO and UML S
ICT117 Week03 OO and UML S
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 3rd Edition
Copyright 2009 John Wiley & Sons, Inc. All rights reserved.
What is an object?
Something identifiable Something with attributes Something able to do things (behaviour) And has meaning to people in its context
17 March, 2011
ICT117 Systems Analysis & Design, Semester 2, 2010 Includes John Wiley& Sons Inc material
3. 2
The Information System that is an abstraction of the business can be composed of interacting objects
17 March, 2011 ICT117 Systems Analysis & Design, Semester 2, 2010 Includes John Wiley& Sons Inc material 3. 3
Characteristics of objects
Objects can be classified on the basis of similarities
17 March, 2011
ICT117 Systems Analysis & Design, Semester 1, 2011 Includes John Wiley& Sons Inc material
3. 4
Characteristics of objects
Similarly classified objects may be further specialised (or generalised)
17 March, 2011
ICT117 Systems Analysis & Design, Semester 1, 2011 Includes John Wiley& Sons Inc material
3. 5
Abstraction
A class is an abstraction of the objects that it describes A class is NOT a collection of all objects A class is a TEMPLATE that applies to all its objects
CLOCK: Tells time of day Has two hands Has numerals Circular display format
17 March, 2011 ICT117 Systems Analysis & Design, Semester 1, 2011 Includes John Wiley& Sons Inc material 3. 6
Inheritance
Generalisation and specialisation represent an inheritance hierarchy
Living Thing
Animal
Vegetable
Mammal
Fish
17 March, 2011
ICT117 Systems Analysis & Design, Semester 1, 2011 Includes John Wiley& Sons Inc material
3. 7
Polymorphism
Means (literally) one thing that has many forms or shapes In Object-Orientation it applies to inheritance hierarchies. It means: a classs particular inherited behaviour being changeable depending on the identity of the sub-class
17 March, 2011
ICT117 Systems Analysis & Design, Semester 1, 2011 Includes John Wiley& Sons Inc material
3. 8
Polymorphism
The class Animal will have a behaviour Move that is inherited by its sub-classes. When Mammal receives a message to Move, it will walk, but Fish receiving the same message will swim
Animal
Mammal
17 March, 2011 ICT117 Systems Analysis & Design, Semester 1, 2011 Includes John Wiley& Sons Inc material
Fish
3. 9
Encapsulation
To put something inside something else (hiding something) The concept that we dont need to know how something is done just that it is done. In Object terms we can know the name of a behaviour in order to execute it, but we dont know how it is executed.
17 March, 2011
ICT117 Systems Analysis & Design, Semester 1, 2011 Includes John Wiley& Sons Inc material
3. 10
Encapsulation
17 March, 2011
ICT117 Systems Analysis & Design, Semester 1, 2011 Includes John Wiley& Sons Inc material
3. 11
Software objects
The business objects that we identify in the Problem Domain can become: Software objects in the Solution Domain
Software that is identifiable (named modules) Software that has attributes (data structures) Software that has behaviour (executes logical sequences)
Summary
The Unified Process is a two-dimensional systems development process described with a set of phases and workflows The Unified Modeling Language, or UML, is a standard set of diagramming techniques
17 March, 2011
ICT117 Systems Analysis & Design, Semester 2, 2010 Includes John Wiley& Sons Inc material
20
OOSAD
Use case driven Architecture centric Iterative and incremental
17 March, 2011
ICT117 Systems Analysis & Design, Semester 2, 2010 Includes John Wiley& Sons Inc material
3. 21
17 March, 2011
ICT117 Systems Analysis & Design, Semester 2, 2010 Includes John Wiley& Sons Inc material
24
17 March, 2011
ICT117 Systems Analysis & Design, Semester 2, 2010 Includes John Wiley& Sons Inc material
25
Engineering Workflows
Business modeling Requirements (gathering) Analysis Design Implementation Testing Deployment
17 March, 2011 ICT117 Systems Analysis & Design, Semester 2, 2010 Includes John Wiley& Sons Inc material 26
Supporting Workflows
Project management Configuration and change management Environment Operations and support* Infrastructure management*
Next week
Requirements determination (finding out what is required to be done)
17 March, 2011
ICT117 Systems Analysis & Design, Semester 2, 2010 Includes John Wiley& Sons Inc material
28