Object Oriented Analysis and Design
Object Oriented Analysis and Design
vehicle
car
ford
Motor vehicle
Customer Soup
Order
Relational model
The relational model has the simplest, most uniform structure. The
columns of each table are attributes that define the data or value domain for entries in
that column. The rows of each table are tuples representing individual data objects
being stored. Primary key is the unique key.
Borrow books
uses
uses
Get interlibrary loan
Member
Return books
clerk
Read books news paper
Use case
Actors.
Member is also example for an actor. Member can perform many use
case example of an library
In a System:
A use case must help the actor to perform a task that has identifiable
value
Transaction:
Borrow books:
A member requests a book that the book does not have the library but
the book is located at another library and ordered through interlibrary
loan.
Return books:
A member submits his or her library card to the clerk, who checks the
borrower’s record.
Extends Association:
one use case that is similar to another use case but does a bit more
specialized.
For eg, in the library example borrow books and get an interlibrary loan both
are similar use cases
Uses Association:
It occurs when you are describing your use case and notice that some of
them have sub flows in common.
1. For each actor, find the tasks and functions that the actor should be able to
perform
3.Describe the use cases briefly by applying terms in which the user is familiar
Its broken into two packages. They are borrow books, Do research
2. Explain about identifying approaches.
All plurals are changed to singular, the nouns are listed, and the listed divided
into three categories
Relevant classes
Fuzzy classes
Irrelevant classes
Redundant classes
Adjectives classes
Attribute classes
Irrelevant classes
Redundant classes:
If more than one word is being used to describe the same idea, select the one
that is the meaningful in the context system.
Adjectives classes
An adjective can suggest a different kind of object, different use of the same
object
Attribute classes
Tentative objects that are used only as values be defined as attributes and not as
a class.
Irrelevant classes
Each class must have a purpose and every class should be clearly defined as
necessary.
Review Attributes
Example:ATM System
Concept class
Events class
Organization class
People class
Places class
Concept Class
Example:
Events Class
Associated with things remembered are attributes such as who, when, where,
how, or why.
Example:
Organization Class
Example:
People Class:
The people class represents the different roles users play in interacting with the
application
Example:
Employee, client, teacher, and manager are examples of people.
Places Class:
Context:
Places are physical locations that the system must keep information about.
Example:
Example:
Assign responsibilities
Identify Collaborators
Identify
classes and
Responsibility
Identify Assign
collaboration Responsibility
Classes are identified and grouped by common attributes, which also provides
candidates for super classes.
Corollary 4
Corollary 1
Axiom 1
Corollary 2
Corollary 3
Axiom 2
Corollary 6 Corollary 5
4. Discuss about designing view layer classes
a. Two-major aspects
i. Input-responding to user interaction
1. The user interface designed to translate an action by the
user, such as clicking on a button or selecting from a menu,
into an appropriate response.
ii. Output- displaying or printing business objects
1. This layer must paint the best picture possible of the
business objects for the user.
b. Four major activities
i. Macro level UI design process – used for identifying view layer
objects.
1. The main objective of the macro process is to identify
classes that interact with human actors by analyzing to use
cases developed in the analysis phase.
ii. Micro level UI design process –
1. Designing the view layer objects by applying design axioms
and corollaries.
2. Prototyping the view layer interface.
iii. Testing usability and user satisfaction
iv. Refining and iterating the design
advantage – utilizing use cases in identifying and designing view layer objects.
UI design rules:
Object-oriented design
Prototyping
Incremental testing