Objectives 2-Object Oriented Analysis And Design-Lecture Slides, Slides of Object Oriented Analysis and Design

Concepts like action state, acctivity diagram, class diagram, constructiing and object, generalization, interaction diagram, software degin, state diagram use case diagram are main topics. Implemtentation are done using Unified Modelling Languae. This lecture includes: Class, Icon, Defines, Followed, Steps, Core, Elements, Structural, Modeling, Syntax, Description, Construct

Typology: Slides

2011/2012

Uploaded on 08/12/2012

dhanvant
dhanvant 🇮🇳

4.9

(9)

89 documents

1 / 30

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
The class icon
Defines
Persistent system state
System behavior
The class icon has
Name
Attributes
Operations
It’s a rectangle divided
into three
compartments.
docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e

Partial preview of the text

Download Objectives 2-Object Oriented Analysis And Design-Lecture Slides and more Slides Object Oriented Analysis and Design in PDF only on Docsity!

The class icon

 Defines

 Persistent system state

 System behavior

 The class icon has

 Name

 Attributes

 Operations

 It’s a rectangle divided

into three

compartments.

Steps followed

 Draw class symbol in the editor and

name it

 List the class attributes

 List the class operations/methods

 Make the links and associations

 Give notations

Structural Modeling: Core Elements

(cont’d)

Construct Description Syntax

constraint¹ a semantic condition or restriction. {constraint}

¹ An extension mechanism useful for specifying structural elements.

Reference: OMG tutorial on UML by Cris Kobryn

Construct Description Syntax

association a relationship between two or more classifiers that involves connections among their instances.

aggregation A special form of association that specifies a whole-part relationship between the aggregate (whole) and the component part. generalization a taxonomic relationship between a more general and a more specific element.

dependency a relationship between two modeling elements, in which a change to one modeling element (the independent element) will affect the other modeling element (the dependent element).

Structural Modeling: Core Relationships

Reference: OMG tutorial on UML by Cris Kobryn

Interfaces: Longhand Notation

Fig. 3-29, UML Notation Guide

+create() +login(UserName, Passwd) +find(StoreId) +getPOStotals(POSid) +updateStoreTotals(Id,Sales) +get(Item)

-storeId: Integer -POSlist: List

Store

POSterminal

POSterminalHome

<>

StoreHome

POSterminal

+getPOStotals(POSid) +updateStoreTotals(Id,Sales) +get(Item)

<> Store

Reference: OMG tutorial on UML by Cris Kobryn

Associations

Fig. 3-40, UML Notation Guide

Person

Manages

Job Company

boss

worker

employer employee

Job

Account

Person

Corporation

{X or}

salary

Reference: OMG tutorial on UML by Cris Kobryn

Generalization

Fig. 3-47, UML Notation Guide

Shape

Polygon Ellipse Spline

Shape

Polygon Ellipse Spline

Shared Target Style

Separate Target Style

... ...

Reference: OMG tutorial on UML by Cris Kobryn

Dependencies

Fig. 3-50, UML Notation Guide

«friend»

ClassA ClassB

ClassC

«instantiate»

«call»

ClassD

operationZ()

«friend»

ClassD ClassE

«refine» ClassC combines two logical classes

Reference: OMG tutorial on UML by Cris Kobryn

Example tools

 Argo UML

 http://argouml.tigris.org

 Object Domain

 http://www.objectdomain.com/domain/eva

luationIntro.html

 Rational Rose

 www.rational.com

 Microsoft Visio

The class icon

 Defines

 Persistent system state

 System behavior

 The class icon has

 Name

 Attributes

 Operations

 It’s a rectangle divided

into three

compartments.

Steps followed

 Draw class symbol in the editor and

name it

 List the class attributes

 List the class operations/methods

 Make the links and associations

 Give notations

Structural Modeling: Core Elements

(cont’d)

Construct Description Syntax

constraint¹ a semantic condition or restriction. {constraint}

¹ An extension mechanism useful for specifying structural elements.

Reference: OMG tutorial on UML by Cris Kobryn

Construct Description Syntax

association a relationship between two or more classifiers that involves connections among their instances.

aggregation A special form of association that specifies a whole-part relationship between the aggregate (whole) and the component part. generalization a taxonomic relationship between a more general and a more specific element.

dependency a relationship between two modeling elements, in which a change to one modeling element (the independent element) will affect the other modeling element (the dependent element).

Structural Modeling: Core Relationships

Reference: OMG tutorial on UML by Cris Kobryn