ise-vii-object-oriented modeling and design [10cs71]-notes
TRANSCRIPT
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
1/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 1
BO J GISEDDNAGNILEDOMDETNEIROTCE GNIN
tcejbuS :edoC 01 17SC .I A. Mar sk : 25
keeW/sruoH : 40 axE m uoH r 30:s
latoT oH u sr : 25 maxE 01:skraM 0
P TRA - A
TINU - 1 uoH7 rs
,NOITCUDORTNI GNILEDOM CNOC E ,STP SSALC :GNILEDOM tahW si
tcejbO noitatneirO ? tahW si ;semehtOO?tnempolevedOO ecnedivE rof enlufesu ss f o
OO ;tnempoleved OO gniledom otsih r ledoM.y i gn sa seD i ng uqinhceT e: ;gniledoM
;noitcartsba ehT eerht m ssalC.sledo :gniledoM O tcejb na d salc s ;stpecnoc niL k na d
snoitaicossa ;stpecnoc noitazilareneG dna ;ecnatirehni A elpmas cl ssa ;ledom
Na fonoitagiv c itcarP;sledomssal ac .spitl
TINU - 2 uoH6 rs
DECNAVDA SSALC ,GNILEDOM ETATS DOM E :GNIL decnavdA tcejbo dna
ssalc ;stpecnoc noitaicossA ;sdne N- yra ssa o ;snoitaic ;noitagerggA tcartsbA ;sessalcelpitluM ;ecnatirehni ;atadateM ;noitacifieR tsnoC r ;stnia devireD atad ; ;segakcaP
lacitcarP etatS.spit Mo :gniled ,stnevE ,setatS snoitisnarT dna noC d ;snoiti etatS
aid g aidetatS;smar gra r P;roivahebm a spitlacitc .
TINU - 3 uoH6 rs
DECNAVDA ETATS ,GNILEDOM TNI ER NOITCA DOM E :GNIL vdA a cn ed
tatS e niledoM g: Ne dets tats e aid gra ;sm detseN tats e ;s iS gnal reneg a noitazil ;
nerrucnoC cy; A lpmas e etats ;ledom noitaleR fo ssalc dna ats te ;sledom tcarP i lac .spit
noitcaretnI :gniledoM esU esac ;sledom ecneuqeS ;sledom ivitcA ty .sledom esU esac
tivitcarofstcurtsnoclaicepS;sledomecneuqeslarudecorP;spihsnoitaler y sledom .
TINU - 4 uoH7 rs
SSECORP ,WEIVREVO METSYS ,NOITPECNOC NIAMOD YLANA SIS:
ssecorP :weivrevO tnempoleveD ;segats eD v tnempole efil c cy l .e S metsy :noitpecnoC
gnisiveD a s metsy pecnoc t; itarobalE ng a oc cn ;tpe gniraperP a p melbor tnemetats .
niamoD :sisylanA weivrevO fo ana l ;sisy niamoD ssalc ;ledom niamoD etats ;ledom
;ledomnoitcaretniniamoD I lanaehtgnitaret y sis .
P TRA - B
TINU - 5 uoH7 rs
NOITACILPPA ISYLANA S, METSYS :NGISED noitacilppA anA l :sisynoitacilppA noitcaretni ;ledom noitacilppA alc ss ;ledom noitacilppA etats ;ledom
gniddA .snoitarepo weivrevO fo s metsy sed i ng ; gnitamitsE rofrep m ;ecna gnikaM a
esuer ;nalp gnikaerB a metsys ni ot bus -s sy t ;sme itnedI f gniy nerrucnoc c ;y noitacollA
fo bus - ;smetsys tnemeganaM fo atad ;egarots gnildnaH labolg r ;secruose gnisoohC a
erawtfos lortnoc ;ygetarts gnildnaH adnuob ry ;snoitidnoc gnitteS eht dart e-o f f
;seitiroirp nommoC larutcetihcra styl ;se erutcetihcrA fo ht e MTA sys met sa ht e
lpmaxe e.
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
2/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 2
TINU - 6 uoH7 rs
SSALC ,NGISED NOITATNEMELPMI M ,GNILEDO YCAGEL :SMETSYS
ssalC :ngiseD weivrevO fo ssalc sed i ;ng rB i igd ng ht e ;pag Re gnizila usec gningiseD;sesa ;smhtirogla isruceR ng sdrawnwod , irotcafeR n ;g ngiseD
;noitazimitpo noitacifieR fo b ;roivahe tnemtsujdA fo natirehni c ;e inagrO z gni a ssalc
ed ;ngis TA M lpmaxe e. I noitatnemelpm niledoM g: vO e weivr of melpmi e ;noitatnniF e- gninut ;sessalc eniF - gninut ;snoitazilareneg gnizilaeR ;snoitaicossa Te .gnits:smetsySycageL esreveR ;gnireenigne gnidliuB eht cl ssa edom l ;s gnidliuB ht e
caretni t noi neesreveR;ledometatsehtgnidliuB;ledom g nireeni g nipparW;spit g;ecnanetniaM .
TINU - 7 uoH6 rs
NGISED SNRETTAP :1 tahW si a nrettap dna tahw sekam a ?nrettap P ta t nre
etac g dnrettaP;snrettapneewtebspihsnoitaleR;seiro esc noitacinummoC.noitpir:snrettaP edrawroF r- ;revieceR neilC t- r ehctapsiD -Se evr r; r ehsilbuP - csbuS r ebi r.
TINU - 8 uoH6 rs
NGISED NRETTAP S ,2 :SMOIDI tnemeganaM :snrettaP dnammoC ;rossecorp
weiV dnah l .re :smoidI ;noitcudortnI tahW ac n smoidi edivorp ? smoidI dnast ely ; rehW e C;smoididnifot o lpmaxeretnioPdetnu e.
OOBTXET KS:
1. tcejbO - detneirO gniledoM dna ngiseD htiw LMU leahciM ,ahalBJ sema uabmuR g 2,h dn ,noitidE P ae nosr E cud a 5002,noit .
2. nrettaP -O detneir erawtfoS :erutcetihcrA A metsyS of snrettaP - loV u em 1knarF ,nnamhcsuB enigeR ,reinueM snaH ,trenhoR Pe r et ,dalremmoS eahciM l ,latS
J eliWnho y .6002,snoSdna
ER F OOBECNERE K :S
1. tcejbO - detneirO isylanA s dna ngiseD w hti pA pli oitac ns ydarG hcooB te ,la3 dr cudEnosraeP,noitidE a .7002,noit
2. tcejbO - detneirO sisylanA giseD n ,DamharBnoitatnemelpmIdnasserPseitisrevinU.RhtanraS 002, 9 .
3. snaH,tiklooTLMU - yeliWLnairB,PsungaM,nosskirEkirE - aidnID 5002 .
4. tcejbO - detneirO smetsyS sisylanA dna ngiseD gnisU MU L nomiStenneB t, vetS e aRdnabboRcM y F 2,remra dn rGcMataT,noitidE aw- 2002,lliH .
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
3/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 3
TEEHSXEDNI
:ATRAP gaP e on .
TINU :1 ORTNI D OITCU N, OM D GNILE 4 -31
LC,STPECNOC A SS M NILEDO G:
TINU :2 DA V DECNA ALC SS N ILEDOM G, 32 53
GNILEDOMETATS
TINU :3 DA V DECNA ETATS NILEDOM G, 54 82
OITCARETNI N OM D GNILE
INU T 4: SSECORP OV RE V ,WEI METSYS 83 49
YLANANIAMOD,NOITPECNOC S SI
TRAP B gaP e on .
TINU :5 OITACILPPA N ,SISYLANA S TSY EM 01 0
NGISED
TINU :6 SALC S D G ISE N, IM NOITATNEMELP 01 1 115
YCAGEL,GNILEDOM SMETSYS
SNRETTAPNGISED 1
SNRETTAPNGISED SMOIDI,2
TINU :7
INU T :8
611 621
721 - 541
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
4/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 4
tinU NILEDOM,NOITCUDORTNI:1 G ECNOC P SSALC,ST M NILEDO G:
NOITCUDORTNI
oN et :1
noitnetnI of siht tcejbus tcejbo( etneiro d iledom ng dna d gise n si) ot l rae n h wo ot ppa lytcejbo - atsehtllaotstpecnocdetneiro g wtfosehtfose a cefiltnempoleveder y .elc
oN et :2
tcejbO - detneiro gniledom dna ngised si a yaw fo gnikniht tuoba rp o smelb gnisu
laerdnuoradezinagrosledom stpecnocdlrow . ehT latnemadnuf tcurtsnoc si eht ,tcejbo
bdnaerutcurtsatadhtobsenibmochcihw eha .roiv
?NOITATNEIROTCEJBOSITAHW
:noitinifeD erawtfosezinagroewtahtsnaemOO sa a noitcelloc fo etercsid tcejbo s
roprocnitaht( a hebdnaerutcurtsatadhtobet a roiv ).
carahc(stcepsa t citsire s) ohcaorppaOOnaybderiuqer
I titned y.
cifissalC a .noit
I hn e cnatir e.
loP y .msihprom
ytitnedI snaem taht atad si dezitnauq otni ,etercsid elbahsiugnitsid ne t seiti
ca ll e ejbod c .st
.E g. jborof ce st : cib,retupmoclanosrep y .ctessehcnineeuq,elc
stcejbO nac be etercnoc hcus( sa a elif ni a elif sys met ) ro noc c lautpe s( u hc as
gniludehcs ilop cy ni a m gnissecorpitlu .)SO caE h tcejbo sah sti nwo tnerehni itnedi ty .
etubirttariehtllafinevetcnitsiderastcejboowte.i( raseulav e citnedi a )l .
I nalgnimmargorpn g ejbona,segau c bdecnerefersit y eldnaheuqinua
ifissalC c :noita
issalC f oitaci n snaem taht stcejbo htiw eht emas atad erutcurts tubirtta( e) dna
repo(roivaheb a era)snoit g otnidepuor a c ssal .
.E g . arap g .eceipssehc,rotinom,hpar
ejbohcaE c ebotdiassit a tsnin an ec lcstifo a .ss
giF woleb swohs jbo e stc dna :sessalc E hca ssalc de sebircs a bissop ly fni i etin
se ejbolaudividnifot c .st
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 4
tinU NILEDOM,NOITCUDORTNI:1 G ECNOC P SSALC,ST M NILEDO G:
NOITCUDORTNI
oN et :1
noitnetnI of siht tcejbus tcejbo( etneiro d iledom ng dna d gise n si) ot l rae n h wo ot ppa lytcejbo - atsehtllaotstpecnocdetneiro g wtfosehtfose a cefiltnempoleveder y .elc
oN et :2
tcejbO - detneiro gniledom dna ngised si a yaw fo gnikniht tuoba rp o smelb gnisu
laerdnuoradezinagrosledom stpecnocdlrow . ehT latnemadnuf tcurtsnoc si eht ,tcejbo
bdnaerutcurtsatadhtobsenibmochcihw eha .roiv
?NOITATNEIROTCEJBOSITAHW
:noitinifeD erawtfosezinagroewtahtsnaemOO sa a noitcelloc fo etercsid tcejbo s
roprocnitaht( a hebdnaerutcurtsatadhtobet a roiv ).
carahc(stcepsa t citsire s) ohcaorppaOOnaybderiuqer
I titned y.
cifissalC a .noit
I hn e cnatir e.
loP y .msihprom
ytitnedI snaem taht atad si dezitnauq otni ,etercsid elbahsiugnitsid ne t seiti
ca ll e ejbod c .st
.E g. jborof ce st : cib,retupmoclanosrep y .ctessehcnineeuq,elc
stcejbO nac be etercnoc hcus( sa a elif ni a elif sys met ) ro noc c lautpe s( u hc as
gniludehcs ilop cy ni a m gnissecorpitlu .)SO caE h tcejbo sah sti nwo tnerehni itnedi ty .
etubirttariehtllafinevetcnitsiderastcejboowte.i( raseulav e citnedi a )l .
I nalgnimmargorpn g ejbona,segau c bdecnerefersit y eldnaheuqinua
ifissalC c :noita
issalC f oitaci n snaem taht stcejbo htiw eht emas atad erutcurts tubirtta( e) dna
repo(roivaheb a era)snoit g otnidepuor a c ssal .
.E g . arap g .eceipssehc,rotinom,hpar
ejbohcaE c ebotdiassit a tsnin an ec lcstifo a .ss
giF woleb swohs jbo e stc dna :sessalc E hca ssalc de sebircs a bissop ly fni i etin
se ejbolaudividnifot c .st
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 4
tinU NILEDOM,NOITCUDORTNI:1 G ECNOC P SSALC,ST M NILEDO G:
NOITCUDORTNI
oN et :1
noitnetnI of siht tcejbus tcejbo( etneiro d iledom ng dna d gise n si) ot l rae n h wo ot ppa lytcejbo - atsehtllaotstpecnocdetneiro g wtfosehtfose a cefiltnempoleveder y .elc
oN et :2
tcejbO - detneiro gniledom dna ngised si a yaw fo gnikniht tuoba rp o smelb gnisu
laerdnuoradezinagrosledom stpecnocdlrow . ehT latnemadnuf tcurtsnoc si eht ,tcejbo
bdnaerutcurtsatadhtobsenibmochcihw eha .roiv
?NOITATNEIROTCEJBOSITAHW
:noitinifeD erawtfosezinagroewtahtsnaemOO sa a noitcelloc fo etercsid tcejbo s
roprocnitaht( a hebdnaerutcurtsatadhtobet a roiv ).
carahc(stcepsa t citsire s) ohcaorppaOOnaybderiuqer
I titned y.
cifissalC a .noit
I hn e cnatir e.
loP y .msihprom
ytitnedI snaem taht atad si dezitnauq otni ,etercsid elbahsiugnitsid ne t seiti
ca ll e ejbod c .st
.E g. jborof ce st : cib,retupmoclanosrep y .ctessehcnineeuq,elc
stcejbO nac be etercnoc hcus( sa a elif ni a elif sys met ) ro noc c lautpe s( u hc as
gniludehcs ilop cy ni a m gnissecorpitlu .)SO caE h tcejbo sah sti nwo tnerehni itnedi ty .
etubirttariehtllafinevetcnitsiderastcejboowte.i( raseulav e citnedi a )l .
I nalgnimmargorpn g ejbona,segau c bdecnerefersit y eldnaheuqinua
ifissalC c :noita
issalC f oitaci n snaem taht stcejbo htiw eht emas atad erutcurts tubirtta( e) dna
repo(roivaheb a era)snoit g otnidepuor a c ssal .
.E g . arap g .eceipssehc,rotinom,hpar
ejbohcaE c ebotdiassit a tsnin an ec lcstifo a .ss
giF woleb swohs jbo e stc dna :sessalc E hca ssalc de sebircs a bissop ly fni i etin
se ejbolaudividnifot c .st
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
5/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 5
cnatirehnI e:
tI si eht irahs ng f o setubirtta dna snoitarepo aef( t )seru oma ng salc s se desab no
a lacihcrareih snoitaler h .pi A repus ssalc h sa lareneg fni o noitamr taht bus essalc s
nifer e a dn e robal a et .
.E g . nillorcS g wodniwdexifdnawodniw are .wodniwfosessalcbus
P ylo m :msihpro
msihpromyloP snaem taht eht emas noitarepo may aheb ve tnereffid ly r of
reffid e tn c ssal e .s
roF .g.E evom noitarepo sevaheb tnereffid ly r of a nwap naht rof eht neeuq ni a
hc e ss ga .em
etoN : nA op tare i no si a fsnart/erudecorp o noitamr taht na jbo e tc ep r smrof ro isjbus ec otdet . lacsissalccificepsaybnoitareponafonoitatnemelpminA l ade dohtem .
VEDOOSITAHW ELOPM ?TNE
veD e pol em tn refe sr to eht wtfos are efil cy :elc lanA y ,sis De is gn dna
I tnemelpm a .noit hT e nesse ce of OO mpoleveD e tn is ht e ifitnedi c noita dna
tazinagro i no fo noitacilppa ,stpecnoc rehtar naht rieht lanif neserper t noita ni a
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 5
cnatirehnI e:
tI si eht irahs ng f o setubirtta dna snoitarepo aef( t )seru oma ng salc s se desab no
a lacihcrareih snoitaler h .pi A repus ssalc h sa lareneg fni o noitamr taht bus essalc s
nifer e a dn e robal a et .
.E g . nillorcS g wodniwdexifdnawodniw are .wodniwfosessalcbus
P ylo m :msihpro
msihpromyloP snaem taht eht emas noitarepo may aheb ve tnereffid ly r of
reffid e tn c ssal e .s
roF .g.E evom noitarepo sevaheb tnereffid ly r of a nwap naht rof eht neeuq ni a
hc e ss ga .em
etoN : nA op tare i no si a fsnart/erudecorp o noitamr taht na jbo e tc ep r smrof ro isjbus ec otdet . lacsissalccificepsaybnoitareponafonoitatnemelpminA l ade dohtem .
VEDOOSITAHW ELOPM ?TNE
veD e pol em tn refe sr to eht wtfos are efil cy :elc lanA y ,sis De is gn dna
I tnemelpm a .noit hT e nesse ce of OO mpoleveD e tn is ht e ifitnedi c noita dna
tazinagro i no fo noitacilppa ,stpecnoc rehtar naht rieht lanif neserper t noita ni a
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 5
cnatirehnI e:
tI si eht irahs ng f o setubirtta dna snoitarepo aef( t )seru oma ng salc s se desab no
a lacihcrareih snoitaler h .pi A repus ssalc h sa lareneg fni o noitamr taht bus essalc s
nifer e a dn e robal a et .
.E g . nillorcS g wodniwdexifdnawodniw are .wodniwfosessalcbus
P ylo m :msihpro
msihpromyloP snaem taht eht emas noitarepo may aheb ve tnereffid ly r of
reffid e tn c ssal e .s
roF .g.E evom noitarepo sevaheb tnereffid ly r of a nwap naht rof eht neeuq ni a
hc e ss ga .em
etoN : nA op tare i no si a fsnart/erudecorp o noitamr taht na jbo e tc ep r smrof ro isjbus ec otdet . lacsissalccificepsaybnoitareponafonoitatnemelpminA l ade dohtem .
VEDOOSITAHW ELOPM ?TNE
veD e pol em tn refe sr to eht wtfos are efil cy :elc lanA y ,sis De is gn dna
I tnemelpm a .noit hT e nesse ce of OO mpoleveD e tn is ht e ifitnedi c noita dna
tazinagro i no fo noitacilppa ,stpecnoc rehtar naht rieht lanif neserper t noita ni a
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
6/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 6
gnimmargorp .egaugnal stI a oc n lautpec p ssecor tnednepedni fo gnimmargorp
nal g au g .se OO ed v tnempole si latnemadnuf ly a way f o ikniht ng dna ton a
rgorp a nimm g t ce .euqinh
OO m ygolodohte
gnitneserper OO pecnoc ts. ehT ssecorp stsisnoc of gnidliub a om d le fo na ppa l noitaci
isedgnirudtiotsliatedgniddanehtdna g .n
ehT m segatsgniwollofehtsahygolodohte
metsyS :noitpecnoc erawtfoS ed v tnempole geb i sn htiw ssenisub ana l sy is r o
esu r niviecnocs g nitalumrofdnanoitacilppana g riuqerevitatnet e .stnem
:sisylanA lanaehT y lsuorogirdnaseziniturcsts y morfstnemeriuqerehtsetatser
eht metsys noitpecnoc by gnitcurtsnoc sledom . ehT ana l sisy ledom si a esicnoc ,esicerp sderisedehttahwfonoitcartsba y eblliwtiwohton,odtsummets d .eno
lanaehT y strapowtsahledomsis -
niamoD ledoM - a noitpircsed fo laer lrow d stcejbo etcelfer d htiw in eht
sy mets .
noitacilppA ledoM - a noitpircsed fo strap fo eht noitacilppa s metsy i flest
rataht e .resuehtotelbisiv
.E g. I rekorbkcotsfoesacn a noitacilpp -
edulcniyamstcejboniamoD - noissimmoc&edart,dnob,kcots .
noitacilppA stcejbo thgim lortnoc eht ex noituce fo sedart dna p neser t eht
re stlus .
metsyS giseD n: ehT tnempoleved smaet d sive e a high-l leve ts r ta ge y- ehT
S metsy erutcetihcrA - for gnivlos eht noitacilppa .melborp ehT s metsy sed i reng dluohs
ediced tahw rofrep m cna e ahc r tca e scitsir ot ,ezimitpo esohc a arts t ge y fo at gnikcat ht e
kamdna,melborp e cruoserevitatnet e a coll a snoit .
ssalC giseD n: ehT ssalc rengised sdda iated ls ot eht ana l sisy ledom ni
ecnadrocca htiw the s metsy gised n arts teg .y H si sucof is eht d ata ts r serutcu na d
la g etnemelpmiotdedeensmhtiro ca h c ssal .
Im atnemelp t :noi I tnemelpm e sr rt a talsn e eht c ssal es a dn rela spihsnoit
depoleved gnirud ssalc ngised otni a ralucitrap gnimmargorp al n ,egaug esabatad or
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 6
gnimmargorp .egaugnal stI a oc n lautpec p ssecor tnednepedni fo gnimmargorp
nal g au g .se OO ed v tnempole si latnemadnuf ly a way f o ikniht ng dna ton a
rgorp a nimm g t ce .euqinh
OO m ygolodohte
gnitneserper OO pecnoc ts. ehT ssecorp stsisnoc of gnidliub a om d le fo na ppa l noitaci
isedgnirudtiotsliatedgniddanehtdna g .n
ehT m segatsgniwollofehtsahygolodohte
metsyS :noitpecnoc erawtfoS ed v tnempole geb i sn htiw ssenisub ana l sy is r o
esu r niviecnocs g nitalumrofdnanoitacilppana g riuqerevitatnet e .stnem
:sisylanA lanaehT y lsuorogirdnaseziniturcsts y morfstnemeriuqerehtsetatser
eht metsys noitpecnoc by gnitcurtsnoc sledom . ehT ana l sisy ledom si a esicnoc ,esicerp sderisedehttahwfonoitcartsba y eblliwtiwohton,odtsummets d .eno
lanaehT y strapowtsahledomsis -
niamoD ledoM - a noitpircsed fo laer lrow d stcejbo etcelfer d htiw in eht
sy mets .
noitacilppA ledoM - a noitpircsed fo strap fo eht noitacilppa s metsy i flest
rataht e .resuehtotelbisiv
.E g. I rekorbkcotsfoesacn a noitacilpp -
edulcniyamstcejboniamoD - noissimmoc&edart,dnob,kcots .
noitacilppA stcejbo thgim lortnoc eht ex noituce fo sedart dna p neser t eht
re stlus .
metsyS giseD n: ehT tnempoleved smaet d sive e a high-l leve ts r ta ge y- ehT
S metsy erutcetihcrA - for gnivlos eht noitacilppa .melborp ehT s metsy sed i reng dluohs
ediced tahw rofrep m cna e ahc r tca e scitsir ot ,ezimitpo esohc a arts t ge y fo at gnikcat ht e
kamdna,melborp e cruoserevitatnet e a coll a snoit .
ssalC giseD n: ehT ssalc rengised sdda iated ls ot eht ana l sisy ledom ni
ecnadrocca htiw the s metsy gised n arts teg .y H si sucof is eht d ata ts r serutcu na d
la g etnemelpmiotdedeensmhtiro ca h c ssal .
Im atnemelp t :noi I tnemelpm e sr rt a talsn e eht c ssal es a dn rela spihsnoit
depoleved gnirud ssalc ngised otni a ralucitrap gnimmargorp al n ,egaug esabatad or
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 6
gnimmargorp .egaugnal stI a oc n lautpec p ssecor tnednepedni fo gnimmargorp
nal g au g .se OO ed v tnempole si latnemadnuf ly a way f o ikniht ng dna ton a
rgorp a nimm g t ce .euqinh
OO m ygolodohte
gnitneserper OO pecnoc ts. ehT ssecorp stsisnoc of gnidliub a om d le fo na ppa l noitaci
isedgnirudtiotsliatedgniddanehtdna g .n
ehT m segatsgniwollofehtsahygolodohte
metsyS :noitpecnoc erawtfoS ed v tnempole geb i sn htiw ssenisub ana l sy is r o
esu r niviecnocs g nitalumrofdnanoitacilppana g riuqerevitatnet e .stnem
:sisylanA lanaehT y lsuorogirdnaseziniturcsts y morfstnemeriuqerehtsetatser
eht metsys noitpecnoc by gnitcurtsnoc sledom . ehT ana l sisy ledom si a esicnoc ,esicerp sderisedehttahwfonoitcartsba y eblliwtiwohton,odtsummets d .eno
lanaehT y strapowtsahledomsis -
niamoD ledoM - a noitpircsed fo laer lrow d stcejbo etcelfer d htiw in eht
sy mets .
noitacilppA ledoM - a noitpircsed fo strap fo eht noitacilppa s metsy i flest
rataht e .resuehtotelbisiv
.E g. I rekorbkcotsfoesacn a noitacilpp -
edulcniyamstcejboniamoD - noissimmoc&edart,dnob,kcots .
noitacilppA stcejbo thgim lortnoc eht ex noituce fo sedart dna p neser t eht
re stlus .
metsyS giseD n: ehT tnempoleved smaet d sive e a high-l leve ts r ta ge y- ehT
S metsy erutcetihcrA - for gnivlos eht noitacilppa .melborp ehT s metsy sed i reng dluohs
ediced tahw rofrep m cna e ahc r tca e scitsir ot ,ezimitpo esohc a arts t ge y fo at gnikcat ht e
kamdna,melborp e cruoserevitatnet e a coll a snoit .
ssalC giseD n: ehT ssalc rengised sdda iated ls ot eht ana l sisy ledom ni
ecnadrocca htiw the s metsy gised n arts teg .y H si sucof is eht d ata ts r serutcu na d
la g etnemelpmiotdedeensmhtiro ca h c ssal .
Im atnemelp t :noi I tnemelpm e sr rt a talsn e eht c ssal es a dn rela spihsnoit
depoleved gnirud ssalc ngised otni a ralucitrap gnimmargorp al n ,egaug esabatad or
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
7/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 7
drah w ra e. gniruD lpmi e ,noitatnem ti si tnatropmi ot wollof doog tfos ware igne n iree ng
p car it ec .
erhT e m do e sl
1. ssalC ledoM sehtnistcejboehtrof y mets & .spihsnoitalerrieht
sehtnistcejboehtfoerutcurtscitatsehtsebircsedtI y .spihsnoitalerriehtdnamets
ssalC ledom sniatnoc ssalc margaid s- a hparg esohw sedon era cl sessa na d scra era
nomaspihsnoitaler g eht c ssal e .s
2. atS te m ledo rotsihefilehtrof y stcejbofo .
It sebircsed eht tcepsa s fo na jbo e tc taht hc a gn e vo er ti .em tI seificeps na d
smargaidetatshtiwlortnocstnemelpmi - hparga w sedonesoh scraesohwdnasetatsera
setatsneewtebnoitisnartera bdesuac y .stneve
3. tnI re ac ledoMnoit ejbognomanoitcaretniehtrof c .st
tI sebircsed how eht bo j stce ni eht s metsy co-op etare ot eihca ve aorb d re .stluser
sihT ledom strats htiw esu ac s se taht are neht detarobale htiw ecneuqes dna tca i iv ty
D ai gra sm
sU e c esa tilanoitcnufnosesucof y safo y mets satahwe.i y sresurofseodmets .
ecneuqeS rgaid a sm s swoh eht jbo e tc taht ni t care t dna the ti em s uqe e ecn of ieht r
retni ac snoit .
Ac argaidytivit ms robale a nissecorptnatropmiset g spets .
MEHTOO ES
golonhcetOOedavrepsemehtlareveS y . eraweF
.1 artsbA c noit
noitcartsbA stel uoy cof us no laitnesse stcepsa fo na noitacilppa elihw gnirongi
sliated e.i isucof ng no w tah na tcejbo si dna eod s, erofeb d idice ng woh to tnemelpmi
ti .
I tsomehtst tropmi a dOOrofderiuqerllikstn e tnempolev .
.2 )gnidihnoitamrofni(noitaluspacnE
tI setarapes eht ex anret l stcepsa of an tcejbo taht( are lbissecca e ot ehto r
stcejborehtomorfneddiherataht(sliatednoitatnemelpmilanretniehtmorf)stcejbo )
nE ac lusp a noit stneverp noitrop s of a orp gram morf eb c gnimo os
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 7
drah w ra e. gniruD lpmi e ,noitatnem ti si tnatropmi ot wollof doog tfos ware igne n iree ng
p car it ec .
erhT e m do e sl
1. ssalC ledoM sehtnistcejboehtrof y mets & .spihsnoitalerrieht
sehtnistcejboehtfoerutcurtscitatsehtsebircsedtI y .spihsnoitalerriehtdnamets
ssalC ledom sniatnoc ssalc margaid s- a hparg esohw sedon era cl sessa na d scra era
nomaspihsnoitaler g eht c ssal e .s
2. atS te m ledo rotsihefilehtrof y stcejbofo .
It sebircsed eht tcepsa s fo na jbo e tc taht hc a gn e vo er ti .em tI seificeps na d
smargaidetatshtiwlortnocstnemelpmi - hparga w sedonesoh scraesohwdnasetatsera
setatsneewtebnoitisnartera bdesuac y .stneve
3. tnI re ac ledoMnoit ejbognomanoitcaretniehtrof c .st
tI sebircsed how eht bo j stce ni eht s metsy co-op etare ot eihca ve aorb d re .stluser
sihT ledom strats htiw esu ac s se taht are neht detarobale htiw ecneuqes dna tca i iv ty
D ai gra sm
sU e c esa tilanoitcnufnosesucof y safo y mets satahwe.i y sresurofseodmets .
ecneuqeS rgaid a sm s swoh eht jbo e tc taht ni t care t dna the ti em s uqe e ecn of ieht r
retni ac snoit .
Ac argaidytivit ms robale a nissecorptnatropmiset g spets .
MEHTOO ES
golonhcetOOedavrepsemehtlareveS y . eraweF
.1 artsbA c noit
noitcartsbA stel uoy cof us no laitnesse stcepsa fo na noitacilppa elihw gnirongi
sliated e.i isucof ng no w tah na tcejbo si dna eod s, erofeb d idice ng woh to tnemelpmi
ti .
I tsomehtst tropmi a dOOrofderiuqerllikstn e tnempolev .
.2 )gnidihnoitamrofni(noitaluspacnE
tI setarapes eht ex anret l stcepsa of an tcejbo taht( are lbissecca e ot ehto r
stcejborehtomorfneddiherataht(sliatednoitatnemelpmilanretniehtmorf)stcejbo )
nE ac lusp a noit stneverp noitrop s of a orp gram morf eb c gnimo os
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 7
drah w ra e. gniruD lpmi e ,noitatnem ti si tnatropmi ot wollof doog tfos ware igne n iree ng
p car it ec .
erhT e m do e sl
1. ssalC ledoM sehtnistcejboehtrof y mets & .spihsnoitalerrieht
sehtnistcejboehtfoerutcurtscitatsehtsebircsedtI y .spihsnoitalerriehtdnamets
ssalC ledom sniatnoc ssalc margaid s- a hparg esohw sedon era cl sessa na d scra era
nomaspihsnoitaler g eht c ssal e .s
2. atS te m ledo rotsihefilehtrof y stcejbofo .
It sebircsed eht tcepsa s fo na jbo e tc taht hc a gn e vo er ti .em tI seificeps na d
smargaidetatshtiwlortnocstnemelpmi - hparga w sedonesoh scraesohwdnasetatsera
setatsneewtebnoitisnartera bdesuac y .stneve
3. tnI re ac ledoMnoit ejbognomanoitcaretniehtrof c .st
tI sebircsed how eht bo j stce ni eht s metsy co-op etare ot eihca ve aorb d re .stluser
sihT ledom strats htiw esu ac s se taht are neht detarobale htiw ecneuqes dna tca i iv ty
D ai gra sm
sU e c esa tilanoitcnufnosesucof y safo y mets satahwe.i y sresurofseodmets .
ecneuqeS rgaid a sm s swoh eht jbo e tc taht ni t care t dna the ti em s uqe e ecn of ieht r
retni ac snoit .
Ac argaidytivit ms robale a nissecorptnatropmiset g spets .
MEHTOO ES
golonhcetOOedavrepsemehtlareveS y . eraweF
.1 artsbA c noit
noitcartsbA stel uoy cof us no laitnesse stcepsa fo na noitacilppa elihw gnirongi
sliated e.i isucof ng no w tah na tcejbo si dna eod s, erofeb d idice ng woh to tnemelpmi
ti .
I tsomehtst tropmi a dOOrofderiuqerllikstn e tnempolev .
.2 )gnidihnoitamrofni(noitaluspacnE
tI setarapes eht ex anret l stcepsa of an tcejbo taht( are lbissecca e ot ehto r
stcejborehtomorfneddiherataht(sliatednoitatnemelpmilanretniehtmorf)stcejbo )
nE ac lusp a noit stneverp noitrop s of a orp gram morf eb c gnimo os
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
8/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 8
dretni e nahcllamsatahttnednep g ffeelppirevissamsahe ce st .
.3 oC m roivahebdnaatadgninib
namwohredisnoctondeennoitareponaforellaC y .tsixesnoitatnemelpmi
ecnatirehninoitarepoehtsehctamyhcrareiherutcurtsatadehtmetsysOOnI
hcrareih y if( g .)
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
9/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 9
.4 gnirahS
nirahsedivorpseuqinhcetOO g fidta f ltnere eve .sl
ecnatirehnI fo htob d ata erutcurts dna b roivahe le st bus sessalc erahs oc m nom
.edoc
OO tnempoleved ton ylno stel uoy sh era rofni m noita nihtiw na ,noitacilppa tub
ehtsreffoosla isedgnisuerfotcepsorp g .stcejorperutufnoedocdnasn
Em jbonafoecnesseehtnosisahp ect
OO ed v tnempole secalp a taerg er sisahpme on atad rts u erutc dna a l esse rurtserudecorpnosisahpme c lanoitcnufnahterut - olodohtemnoitisopmoced g sei .
nyS er yg
I titned y, ,noitacifissalc lop y msihprom a dn natirehni ce r ahc a ziretc e OO
nal g au eg .s
hcaE fo eseht stpecnoc nac eb desu ni ,noitalosi tub rehtegot ht ey tnemelpmoc
srehtohcae y .yllacitsigren
NILLEDOM G ISEDASA G EUQINHCETN
etoN : A edom l si na a noitcartsb fo os m gnihte rof the oprup se of nu d idnatsre ng ti
nidliuberofeb g ti .
NILLEDOM G
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 9
.4 gnirahS
nirahsedivorpseuqinhcetOO g fidta f ltnere eve .sl
ecnatirehnI fo htob d ata erutcurts dna b roivahe le st bus sessalc erahs oc m nom
.edoc
OO tnempoleved ton ylno stel uoy sh era rofni m noita nihtiw na ,noitacilppa tub
ehtsreffoosla isedgnisuerfotcepsorp g .stcejorperutufnoedocdnasn
Em jbonafoecnesseehtnosisahp ect
OO ed v tnempole secalp a taerg er sisahpme on atad rts u erutc dna a l esse rurtserudecorpnosisahpme c lanoitcnufnahterut - olodohtemnoitisopmoced g sei .
nyS er yg
I titned y, ,noitacifissalc lop y msihprom a dn natirehni ce r ahc a ziretc e OO
nal g au eg .s
hcaE fo eseht stpecnoc nac eb desu ni ,noitalosi tub rehtegot ht ey tnemelpmoc
srehtohcae y .yllacitsigren
NILLEDOM G ISEDASA G EUQINHCETN
etoN : A edom l si na a noitcartsb fo os m gnihte rof the oprup se of nu d idnatsre ng ti
nidliuberofeb g ti .
NILLEDOM G
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 9
.4 gnirahS
nirahsedivorpseuqinhcetOO g fidta f ltnere eve .sl
ecnatirehnI fo htob d ata erutcurts dna b roivahe le st bus sessalc erahs oc m nom
.edoc
OO tnempoleved ton ylno stel uoy sh era rofni m noita nihtiw na ,noitacilppa tub
ehtsreffoosla isedgnisuerfotcepsorp g .stcejorperutufnoedocdnasn
Em jbonafoecnesseehtnosisahp ect
OO ed v tnempole secalp a taerg er sisahpme on atad rts u erutc dna a l esse rurtserudecorpnosisahpme c lanoitcnufnahterut - olodohtemnoitisopmoced g sei .
nyS er yg
I titned y, ,noitacifissalc lop y msihprom a dn natirehni ce r ahc a ziretc e OO
nal g au eg .s
hcaE fo eseht stpecnoc nac eb desu ni ,noitalosi tub rehtegot ht ey tnemelpmoc
srehtohcae y .yllacitsigren
NILLEDOM G ISEDASA G EUQINHCETN
etoN : A edom l si na a noitcartsb fo os m gnihte rof the oprup se of nu d idnatsre ng ti
nidliuberofeb g ti .
NILLEDOM G
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
10/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 01
niht gs.
gnitseT a lacisyhp ytitne erofeb iub l id ng :ti laveideM tliub elacs edom ls f o
cihtoG slardehtaC ot tset eht secrof no eht .serutcurts sreenignE tset acs le sledom fo
driehtevorpmiotstaobdnasrac,senalpria y .sciman
Co oitacinumm n w hti tsuc o rem s: stcetihcrA dna tcudorp sed i sreng dliub
sledom ot wohs rieht sremotsuc :eton( kcom - spu era noitartsnomed pr stcudo taht
lanretxeehtfoemosetatimi saforoivaheb y .)mets
lausiV i oitaz n: sdraobyrotS fo ,seivom VT swohs dna nemesitrevda ts tel
essretirw e riehtwoh edi a .wolfs
noitcudeR fo ixelpmoc t :y sledoM ecuder pmoc lexity ot dnatsrednu di tcer ly
by nihttnatropmiforebmunllamsatuognitarapes gs .emitatahtiwodot
NOITCARTSBA
noitcartsbA psaniatrecfonoitanimaxeevitcelesehtsi ce fost a orp b .mel
epsaesohtsserppusdnaesoprup c ratahtst e .tnatropminu
EDOMEERHTEHT LS
.1 ssalC ledoM : stneserper eht ,citats ,larutcurts atad stcepsa fo a .metsys
tI sebircsed eht curts t eru fo stcejbo ni a ys s et m- r ieht itnedi t ,y rieht
rieht,stcejborehtootspihsnoitaler a tubirtt e riehtdna,s po era snoit .
laoG ni gnitcurtsnoc lc a ss ledom si ot erutpac esoht stpecnoc f mor eht aer l
ottnatropmieratahtdlrow an a ilpp ac noit .
aidssalC g htsserpxesmar e c .ledomssal
.2 atS et M do el: stneserper eht ,laropmet ,laroivaheb lortnoc stcepsa fo asy .mets
etatS ledom sebircsed esoht stcepsa fo stcejbo recnoc n de htiw emit dna eht
icneuqes ng of snoitarepo stneve taht m kra ahc n seg , setats taht d enife the etnoc xt r of
groehtdna,stneve a zin a onoit f eve tatsdnastn es.
aidetatS g dometatsehtsserpxemar e .l
hcaE tats e margaid ohs ws eht etats dna tneve es q secneu p dettimre ni a s metsy
of r lceno a oss f ejbo c .st
aidetatS g fermar e ehtoehtotr r .sledom
dnasnoitcA istneve n a s idetat agr oemocebma ep ehtnistcejbonosnoitar ssalc
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 01
niht gs.
gnitseT a lacisyhp ytitne erofeb iub l id ng :ti laveideM tliub elacs edom ls f o
cihtoG slardehtaC ot tset eht secrof no eht .serutcurts sreenignE tset acs le sledom fo
driehtevorpmiotstaobdnasrac,senalpria y .sciman
Co oitacinumm n w hti tsuc o rem s: stcetihcrA dna tcudorp sed i sreng dliub
sledom ot wohs rieht sremotsuc :eton( kcom - spu era noitartsnomed pr stcudo taht
lanretxeehtfoemosetatimi saforoivaheb y .)mets
lausiV i oitaz n: sdraobyrotS fo ,seivom VT swohs dna nemesitrevda ts tel
essretirw e riehtwoh edi a .wolfs
noitcudeR fo ixelpmoc t :y sledoM ecuder pmoc lexity ot dnatsrednu di tcer ly
by nihttnatropmiforebmunllamsatuognitarapes gs .emitatahtiwodot
NOITCARTSBA
noitcartsbA psaniatrecfonoitanimaxeevitcelesehtsi ce fost a orp b .mel
epsaesohtsserppusdnaesoprup c ratahtst e .tnatropminu
EDOMEERHTEHT LS
.1 ssalC ledoM : stneserper eht ,citats ,larutcurts atad stcepsa fo a .metsys
tI sebircsed eht curts t eru fo stcejbo ni a ys s et m- r ieht itnedi t ,y rieht
rieht,stcejborehtootspihsnoitaler a tubirtt e riehtdna,s po era snoit .
laoG ni gnitcurtsnoc lc a ss ledom si ot erutpac esoht stpecnoc f mor eht aer l
ottnatropmieratahtdlrow an a ilpp ac noit .
aidssalC g htsserpxesmar e c .ledomssal
.2 atS et M do el: stneserper eht ,laropmet ,laroivaheb lortnoc stcepsa fo asy .mets
etatS ledom sebircsed esoht stcepsa fo stcejbo recnoc n de htiw emit dna eht
icneuqes ng of snoitarepo stneve taht m kra ahc n seg , setats taht d enife the etnoc xt r of
groehtdna,stneve a zin a onoit f eve tatsdnastn es.
aidetatS g dometatsehtsserpxemar e .l
hcaE tats e margaid ohs ws eht etats dna tneve es q secneu p dettimre ni a s metsy
of r lceno a oss f ejbo c .st
aidetatS g fermar e ehtoehtotr r .sledom
dnasnoitcA istneve n a s idetat agr oemocebma ep ehtnistcejbonosnoitar ssalc
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 01
niht gs.
gnitseT a lacisyhp ytitne erofeb iub l id ng :ti laveideM tliub elacs edom ls f o
cihtoG slardehtaC ot tset eht secrof no eht .serutcurts sreenignE tset acs le sledom fo
driehtevorpmiotstaobdnasrac,senalpria y .sciman
Co oitacinumm n w hti tsuc o rem s: stcetihcrA dna tcudorp sed i sreng dliub
sledom ot wohs rieht sremotsuc :eton( kcom - spu era noitartsnomed pr stcudo taht
lanretxeehtfoemosetatimi saforoivaheb y .)mets
lausiV i oitaz n: sdraobyrotS fo ,seivom VT swohs dna nemesitrevda ts tel
essretirw e riehtwoh edi a .wolfs
noitcudeR fo ixelpmoc t :y sledoM ecuder pmoc lexity ot dnatsrednu di tcer ly
by nihttnatropmiforebmunllamsatuognitarapes gs .emitatahtiwodot
NOITCARTSBA
noitcartsbA psaniatrecfonoitanimaxeevitcelesehtsi ce fost a orp b .mel
epsaesohtsserppusdnaesoprup c ratahtst e .tnatropminu
EDOMEERHTEHT LS
.1 ssalC ledoM : stneserper eht ,citats ,larutcurts atad stcepsa fo a .metsys
tI sebircsed eht curts t eru fo stcejbo ni a ys s et m- r ieht itnedi t ,y rieht
rieht,stcejborehtootspihsnoitaler a tubirtt e riehtdna,s po era snoit .
laoG ni gnitcurtsnoc lc a ss ledom si ot erutpac esoht stpecnoc f mor eht aer l
ottnatropmieratahtdlrow an a ilpp ac noit .
aidssalC g htsserpxesmar e c .ledomssal
.2 atS et M do el: stneserper eht ,laropmet ,laroivaheb lortnoc stcepsa fo asy .mets
etatS ledom sebircsed esoht stcepsa fo stcejbo recnoc n de htiw emit dna eht
icneuqes ng of snoitarepo stneve taht m kra ahc n seg , setats taht d enife the etnoc xt r of
groehtdna,stneve a zin a onoit f eve tatsdnastn es.
aidetatS g dometatsehtsserpxemar e .l
hcaE tats e margaid ohs ws eht etats dna tneve es q secneu p dettimre ni a s metsy
of r lceno a oss f ejbo c .st
aidetatS g fermar e ehtoehtotr r .sledom
dnasnoitcA istneve n a s idetat agr oemocebma ep ehtnistcejbonosnoitar ssalc
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
11/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 11
edom l. secnerefeR teb w nee etats smargaid emoceb snoitcaretni ni eht noitcaretni
.ledom
noitcaretnI ledom stneserper eht oballoc r noita fo dni i laudiv jbo e ,stc eht
noitcaretni safostcepsa y mets .
noitcaretnI ledom csed r sebi snoitcaretni neewteb stcejbo woh laudividni
roballocstcejbo a veihcaotet e sehtforoivahebeht y asamets .elohw
ehT etats na d noitcaretni sledom ebircsed effid r tne stcepsa of eb h roiva , dna
y llufroivahebebircsedothtobdeenuo y.
esU ,sesac s ecneuqe smargaid na d ivitca ty id agr sma tnemucod ht e noitcaretni
.ledom
GNILLEDOMSSALC
:etoN A ssalc ledom c serutpa eht citats utcurts re f o a s metsy by ch ara c gniziret eht
stcejbo ni eht s ,metsy eht spihsnoitaler neewteb eht ,stcejbo dna eht att setubir dna
repo a ofsnoit r stcejbofossalchcae .
ECNOCSSALCDNATCEJBO PT
jbO e stc
tcejbo si a ,tpecnoc noitcartsba ro gniht htiw itnedi ty taht sah me gnina rof na
ilppa ca noit .
,htimSeoJ:xE I sofn y napmoCs y .stcejboerawodniwpotdna8467rebmunssecorp,
essalC s
ssalc sebircsed a puorg fo bo j stce htiw the s orpema p seitre ta( t tubir e ,)s ivaheb or
rfosdnik,)snoitarepo( e mesdnaspihsnoital a itn c .s
napmoc,nosreP:xE y sessalcerawodniwdnassecorp, .
:etoN llA stcejbo evah i itned ty dna are .elbahsiugnitsid owT selppa htiw emas ,roloc
epahs dna et x erut era llits laudividni :selppa a nosrep nac tae eno dna neht eht rehto .
ehT mret itnedi ty me na s taht eht stcejbo era dehsiugnitsid by th r ie hni e tner ex ecnetsi
btondna y ehttahtseitreporpevitpircsed y am y evah .
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 11
edom l. secnerefeR teb w nee etats smargaid emoceb snoitcaretni ni eht noitcaretni
.ledom
noitcaretnI ledom stneserper eht oballoc r noita fo dni i laudiv jbo e ,stc eht
noitcaretni safostcepsa y mets .
noitcaretnI ledom csed r sebi snoitcaretni neewteb stcejbo woh laudividni
roballocstcejbo a veihcaotet e sehtforoivahebeht y asamets .elohw
ehT etats na d noitcaretni sledom ebircsed effid r tne stcepsa of eb h roiva , dna
y llufroivahebebircsedothtobdeenuo y.
esU ,sesac s ecneuqe smargaid na d ivitca ty id agr sma tnemucod ht e noitcaretni
.ledom
GNILLEDOMSSALC
:etoN A ssalc ledom c serutpa eht citats utcurts re f o a s metsy by ch ara c gniziret eht
stcejbo ni eht s ,metsy eht spihsnoitaler neewteb eht ,stcejbo dna eht att setubir dna
repo a ofsnoit r stcejbofossalchcae .
ECNOCSSALCDNATCEJBO PT
jbO e stc
tcejbo si a ,tpecnoc noitcartsba ro gniht htiw itnedi ty taht sah me gnina rof na
ilppa ca noit .
,htimSeoJ:xE I sofn y napmoCs y .stcejboerawodniwpotdna8467rebmunssecorp,
essalC s
ssalc sebircsed a puorg fo bo j stce htiw the s orpema p seitre ta( t tubir e ,)s ivaheb or
rfosdnik,)snoitarepo( e mesdnaspihsnoital a itn c .s
napmoc,nosreP:xE y sessalcerawodniwdnassecorp, .
:etoN llA stcejbo evah i itned ty dna are .elbahsiugnitsid owT selppa htiw emas ,roloc
epahs dna et x erut era llits laudividni :selppa a nosrep nac tae eno dna neht eht rehto .
ehT mret itnedi ty me na s taht eht stcejbo era dehsiugnitsid by th r ie hni e tner ex ecnetsi
btondna y ehttahtseitreporpevitpircsed y am y evah .
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 11
edom l. secnerefeR teb w nee etats smargaid emoceb snoitcaretni ni eht noitcaretni
.ledom
noitcaretnI ledom stneserper eht oballoc r noita fo dni i laudiv jbo e ,stc eht
noitcaretni safostcepsa y mets .
noitcaretnI ledom csed r sebi snoitcaretni neewteb stcejbo woh laudividni
roballocstcejbo a veihcaotet e sehtforoivahebeht y asamets .elohw
ehT etats na d noitcaretni sledom ebircsed effid r tne stcepsa of eb h roiva , dna
y llufroivahebebircsedothtobdeenuo y.
esU ,sesac s ecneuqe smargaid na d ivitca ty id agr sma tnemucod ht e noitcaretni
.ledom
GNILLEDOMSSALC
:etoN A ssalc ledom c serutpa eht citats utcurts re f o a s metsy by ch ara c gniziret eht
stcejbo ni eht s ,metsy eht spihsnoitaler neewteb eht ,stcejbo dna eht att setubir dna
repo a ofsnoit r stcejbofossalchcae .
ECNOCSSALCDNATCEJBO PT
jbO e stc
tcejbo si a ,tpecnoc noitcartsba ro gniht htiw itnedi ty taht sah me gnina rof na
ilppa ca noit .
,htimSeoJ:xE I sofn y napmoCs y .stcejboerawodniwpotdna8467rebmunssecorp,
essalC s
ssalc sebircsed a puorg fo bo j stce htiw the s orpema p seitre ta( t tubir e ,)s ivaheb or
rfosdnik,)snoitarepo( e mesdnaspihsnoital a itn c .s
napmoc,nosreP:xE y sessalcerawodniwdnassecorp, .
:etoN llA stcejbo evah i itned ty dna are .elbahsiugnitsid owT selppa htiw emas ,roloc
epahs dna et x erut era llits laudividni :selppa a nosrep nac tae eno dna neht eht rehto .
ehT mret itnedi ty me na s taht eht stcejbo era dehsiugnitsid by th r ie hni e tner ex ecnetsi
btondna y ehttahtseitreporpevitpircsed y am y evah .
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
12/144
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
13/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 31
ulaV e eipasi ec dfo a at .
etubirttA si a deman reporp ty of a ssalc taht ed s sebirc a eulav dleh by hcae tcejbo fo
eht c .ssal
vsassalcotsitcejbO a otsieul a tubirtt e.
Va cO12,htimSeoJ:seul t bo re 46,3891 . .)tcejbonosrepfO(
desusnoitnevnoC (UM :)L
tsiL setubirtta ni eht dn2 tnemtrapmoc fo eht lc a ss ob x. lanoitpO sliated ekil(
tluafed am)eulav y wollof e etubirttahca .
rpnolocA e tehtsedec y islauqena,ep g vtluafedsedecerpn a .eul
wohS etubirtta man e ni raluger ,ecaf tfel la i ng t eh man e ni eht ob x na d esu
ltsrifehtrofesacllams e ett r.
ejbo c snoitnevnocemashtiwsexobt .
oN et : ht;sreifitneditcejbotsiltonoD e .sledomniticilpmieray
.E g.
nA epo rat noi amtahterudecorpronoitcnufasi y brootdeilppaeb y .ssalcanistcejbo
.E g. ,eriH erif dna pay d dnedivi era snoitarepo no ssalC ynapmoC . nepO , ,esolc edih
alpsiderdna y .wodniwssalcnosnoitarepoera
m dohte pmiehtsi l reponafonoitatneme a arofnoit cla ss .
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 31
ulaV e eipasi ec dfo a at .
etubirttA si a deman reporp ty of a ssalc taht ed s sebirc a eulav dleh by hcae tcejbo fo
eht c .ssal
vsassalcotsitcejbO a otsieul a tubirtt e.
Va cO12,htimSeoJ:seul t bo re 46,3891 . .)tcejbonosrepfO(
desusnoitnevnoC (UM :)L
tsiL setubirtta ni eht dn2 tnemtrapmoc fo eht lc a ss ob x. lanoitpO sliated ekil(
tluafed am)eulav y wollof e etubirttahca .
rpnolocA e tehtsedec y islauqena,ep g vtluafedsedecerpn a .eul
wohS etubirtta man e ni raluger ,ecaf tfel la i ng t eh man e ni eht ob x na d esu
ltsrifehtrofesacllams e ett r.
ejbo c snoitnevnocemashtiwsexobt .
oN et : ht;sreifitneditcejbotsiltonoD e .sledomniticilpmieray
.E g.
nA epo rat noi amtahterudecorpronoitcnufasi y brootdeilppaeb y .ssalcanistcejbo
.E g. ,eriH erif dna pay d dnedivi era snoitarepo no ssalC ynapmoC . nepO , ,esolc edih
alpsiderdna y .wodniwssalcnosnoitarepoera
m dohte pmiehtsi l reponafonoitatneme a arofnoit cla ss .
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 31
ulaV e eipasi ec dfo a at .
etubirttA si a deman reporp ty of a ssalc taht ed s sebirc a eulav dleh by hcae tcejbo fo
eht c .ssal
vsassalcotsitcejbO a otsieul a tubirtt e.
Va cO12,htimSeoJ:seul t bo re 46,3891 . .)tcejbonosrepfO(
desusnoitnevnoC (UM :)L
tsiL setubirtta ni eht dn2 tnemtrapmoc fo eht lc a ss ob x. lanoitpO sliated ekil(
tluafed am)eulav y wollof e etubirttahca .
rpnolocA e tehtsedec y islauqena,ep g vtluafedsedecerpn a .eul
wohS etubirtta man e ni raluger ,ecaf tfel la i ng t eh man e ni eht ob x na d esu
ltsrifehtrofesacllams e ett r.
ejbo c snoitnevnocemashtiwsexobt .
oN et : ht;sreifitneditcejbotsiltonoD e .sledomniticilpmieray
.E g.
nA epo rat noi amtahterudecorpronoitcnufasi y brootdeilppaeb y .ssalcanistcejbo
.E g. ,eriH erif dna pay d dnedivi era snoitarepo no ssalC ynapmoC . nepO , ,esolc edih
alpsiderdna y .wodniwssalcnosnoitarepoera
m dohte pmiehtsi l reponafonoitatneme a arofnoit cla ss .
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
14/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 41
.E g. nI ssalc ,elif tnirp is na noitarepo uoy dluoc i tnemelpm tnereffid tem h sdo ot tnirp
.selif
:etoN emaS noitarepo yam ppa ly ot many di tnereff salc s .se hcuS na noitarepo si
lop y .cihprom
niledomswohsg g noitaton .
snoitnevnocLMU used
L .xobssalcfotnemtrapmocdr3nisnoitarepotsi
L erniemannoitarepotsi g ilatfel,ecafralu g tteltsrifrofesacrewolesudnan e .r
lanoitpO sliated ekil tnemugra tsil dna nruter type yam wollof hcae noitarepo
.eman
sisehtneraP esolcne na tnemugra ,tsil sammoc etarapes eht ugra m .stne A noloc
rehtsedecerp e ttlus ype.
:etoN eW od ton tsil snoitarepo rof ,stcejbo esuaceb ht ey od ton av ry oma ng
masfostcejbo e cla .ss
muS m ofnoitatoNfoyra r c ssal es
iF g rammuS: y niledomfo g sessalcrofnoitaton
iF g rofnoitatoN: a ran g reponafotnemu a noit
ssalC :smragiD spihsnoitaleR
Cl sa ses nac er l deta ot cae h rehto orht ugh
di ereff n ert l ta i pihsno s:
De ycnednep
)noitageled(noitaicossA
salC s1
C al ss1
Base
Base
C al ss2
Cl sa s2
s bu
s bu
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 41
.E g. nI ssalc ,elif tnirp is na noitarepo uoy dluoc i tnemelpm tnereffid tem h sdo ot tnirp
.selif
:etoN emaS noitarepo yam ppa ly ot many di tnereff salc s .se hcuS na noitarepo si
lop y .cihprom
niledomswohsg g noitaton .
snoitnevnocLMU used
L .xobssalcfotnemtrapmocdr3nisnoitarepotsi
L erniemannoitarepotsi g ilatfel,ecafralu g tteltsrifrofesacrewolesudnan e .r
lanoitpO sliated ekil tnemugra tsil dna nruter type yam wollof hcae noitarepo
.eman
sisehtneraP esolcne na tnemugra ,tsil sammoc etarapes eht ugra m .stne A noloc
rehtsedecerp e ttlus ype.
:etoN eW od ton tsil snoitarepo rof ,stcejbo esuaceb ht ey od ton av ry oma ng
masfostcejbo e cla .ss
muS m ofnoitatoNfoyra r c ssal es
iF g rammuS: y niledomfo g sessalcrofnoitaton
iF g rofnoitatoN: a ran g reponafotnemu a noit
ssalC :smragiD spihsnoitaleR
Cl sa ses nac er l deta ot cae h rehto orht ugh
di ereff n ert l ta i pihsno s:
De ycnednep
)noitageled(noitaicossA
salC s1
C al ss1
Base
Base
C al ss2
Cl sa s2
s bu
s bu
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 41
.E g. nI ssalc ,elif tnirp is na noitarepo uoy dluoc i tnemelpm tnereffid tem h sdo ot tnirp
.selif
:etoN emaS noitarepo yam ppa ly ot many di tnereff salc s .se hcuS na noitarepo si
lop y .cihprom
niledomswohsg g noitaton .
snoitnevnocLMU used
L .xobssalcfotnemtrapmocdr3nisnoitarepotsi
L erniemannoitarepotsi g ilatfel,ecafralu g tteltsrifrofesacrewolesudnan e .r
lanoitpO sliated ekil tnemugra tsil dna nruter type yam wollof hcae noitarepo
.eman
sisehtneraP esolcne na tnemugra ,tsil sammoc etarapes eht ugra m .stne A noloc
rehtsedecerp e ttlus ype.
:etoN eW od ton tsil snoitarepo rof ,stcejbo esuaceb ht ey od ton av ry oma ng
masfostcejbo e cla .ss
muS m ofnoitatoNfoyra r c ssal es
iF g rammuS: y niledomfo g sessalcrofnoitaton
iF g rofnoitatoN: a ran g reponafotnemu a noit
ssalC :smragiD spihsnoitaleR
Cl sa ses nac er l deta ot cae h rehto orht ugh
di ereff n ert l ta i pihsno s:
De ycnednep
)noitageled(noitaicossA
salC s1
C al ss1
Base
Base
C al ss2
Cl sa s2
s bu
s bu
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
15/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 51
cnatirehni(noitazilareneG e)
fretni(noitazilaeR ace )s
)1 :ycnednepeD A sesU pihsnoitaleR
epeD n ed ncies o cc u sr when one obje tc dep dne s on ano ht er
fi uoy egnahc eno s'tcejbo ,ecafretni uoy
need to hc ange ht e depend ne t obje tc
worra stniop morf tnedneped ot dedeen
stcejbo
Car R d ae derxobekuJ
CD oC ll ce noit
noS g eS l rotce
NIL K ECNOCNOITAICOSSADNA P ST
etoN : skniL na d cossa i snoita era eht m snae f ro gnihsilbatse r noitale s spih gnoma
ejbo c dnast c ssal e .s
snoitaicossadnaskniL
knil hpasi y rolacis c nomanoitcennoclautpecno g ejbo c .st
.E g . J mSeo i ht W skro F ro napmoCxelpmiS y.
stcejbofotsila,sitaht .
aicossa t noi .
oitaicossa n si a noitpircsed fo a puorg of sknil htiw nommoc erutcurts a dn
snommoc e scitnam .
.E g . nosrepa W ro k roFs napmoca y.
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 51
cnatirehni(noitazilareneG e)
fretni(noitazilaeR ace )s
)1 :ycnednepeD A sesU pihsnoitaleR
epeD n ed ncies o cc u sr when one obje tc dep dne s on ano ht er
fi uoy egnahc eno s'tcejbo ,ecafretni uoy
need to hc ange ht e depend ne t obje tc
worra stniop morf tnedneped ot dedeen
stcejbo
Car R d ae derxobekuJ
CD oC ll ce noit
noS g eS l rotce
NIL K ECNOCNOITAICOSSADNA P ST
etoN : skniL na d cossa i snoita era eht m snae f ro gnihsilbatse r noitale s spih gnoma
ejbo c dnast c ssal e .s
snoitaicossadnaskniL
knil hpasi y rolacis c nomanoitcennoclautpecno g ejbo c .st
.E g . J mSeo i ht W skro F ro napmoCxelpmiS y.
stcejbofotsila,sitaht .
aicossa t noi .
oitaicossa n si a noitpircsed fo a puorg of sknil htiw nommoc erutcurts a dn
snommoc e scitnam .
.E g . nosrepa W ro k roFs napmoca y.
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 51
cnatirehni(noitazilareneG e)
fretni(noitazilaeR ace )s
)1 :ycnednepeD A sesU pihsnoitaleR
epeD n ed ncies o cc u sr when one obje tc dep dne s on ano ht er
fi uoy egnahc eno s'tcejbo ,ecafretni uoy
need to hc ange ht e depend ne t obje tc
worra stniop morf tnedneped ot dedeen
stcejbo
Car R d ae derxobekuJ
CD oC ll ce noit
noS g eS l rotce
NIL K ECNOCNOITAICOSSADNA P ST
etoN : skniL na d cossa i snoita era eht m snae f ro gnihsilbatse r noitale s spih gnoma
ejbo c dnast c ssal e .s
snoitaicossadnaskniL
knil hpasi y rolacis c nomanoitcennoclautpecno g ejbo c .st
.E g . J mSeo i ht W skro F ro napmoCxelpmiS y.
stcejbofotsila,sitaht .
aicossa t noi .
oitaicossa n si a noitpircsed fo a puorg of sknil htiw nommoc erutcurts a dn
snommoc e scitnam .
.E g . nosrepa W ro k roFs napmoca y.
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
16/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 61
itnetopfotesasebircsed a jbol ce .st
- ot - edom(noitaicossaynam l anifarof n )noitacilppalaic .
desusnoitnevnoC (UM :)L
amenila;stcejboneewtebenilasikniL y esenillarevesfotsisnoc g .stnem
I dnusiti,emanehtsahknilehtf e .denilr
bdetonedoslasidnasessalcdetalerstcennocnoitaicossA y a nil e.
dnaknilwohS a icoss a nnoit a .scilatinisem
oN te:
noitaicossA eman si ,lanoitpo fi eht ledom si .suougibmanu iugibmA ty sesira
hw e snoitaicossaelpitlumsahledoman a nom g emas c ssal e .s
srepoleveD netfo tnemelpmi snoitaicossa ni gnimmargorp al ng au seg sa
secnerefer morf eno bo j tce ot .rehtona A efer r ecne si na etubirtta ni eno tcejbo taht
otsrefer a ehton r ejbo c .t
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 61
itnetopfotesasebircsed a jbol ce .st
- ot - edom(noitaicossaynam l anifarof n )noitacilppalaic .
desusnoitnevnoC (UM :)L
amenila;stcejboneewtebenilasikniL y esenillarevesfotsisnoc g .stnem
I dnusiti,emanehtsahknilehtf e .denilr
bdetonedoslasidnasessalcdetalerstcennocnoitaicossA y a nil e.
dnaknilwohS a icoss a nnoit a .scilatinisem
oN te:
noitaicossA eman si ,lanoitpo fi eht ledom si .suougibmanu iugibmA ty sesira
hw e snoitaicossaelpitlumsahledoman a nom g emas c ssal e .s
srepoleveD netfo tnemelpmi snoitaicossa ni gnimmargorp al ng au seg sa
secnerefer morf eno bo j tce ot .rehtona A efer r ecne si na etubirtta ni eno tcejbo taht
otsrefer a ehton r ejbo c .t
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 61
itnetopfotesasebircsed a jbol ce .st
- ot - edom(noitaicossaynam l anifarof n )noitacilppalaic .
desusnoitnevnoC (UM :)L
amenila;stcejboneewtebenilasikniL y esenillarevesfotsisnoc g .stnem
I dnusiti,emanehtsahknilehtf e .denilr
bdetonedoslasidnasessalcdetalerstcennocnoitaicossA y a nil e.
dnaknilwohS a icoss a nnoit a .scilatinisem
oN te:
noitaicossA eman si ,lanoitpo fi eht ledom si .suougibmanu iugibmA ty sesira
hw e snoitaicossaelpitlumsahledoman a nom g emas c ssal e .s
srepoleveD netfo tnemelpmi snoitaicossa ni gnimmargorp al ng au seg sa
secnerefer morf eno bo j tce ot .rehtona A efer r ecne si na etubirtta ni eno tcejbo taht
otsrefer a ehton r ejbo c .t
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
17/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 71
ilpitluM c yti
lpitluM i ytic seificeps eht rebmun fo secnatsni fo eno ssalc taht may etaler ot a
elgnis ecnatsni of na as detaicos ssalc . icilpitluM ty sniartsnoc eht mun b re fo etaler d
ejbo c .st
vnocLMU e :snoitn
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 71
ilpitluM c yti
lpitluM i ytic seificeps eht rebmun fo secnatsni fo eno ssalc taht may etaler ot a
elgnis ecnatsni of na as detaicos ssalc . icilpitluM ty sniartsnoc eht mun b re fo etaler d
ejbo c .st
vnocLMU e :snoitn
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 71
ilpitluM c yti
lpitluM i ytic seificeps eht rebmun fo secnatsni fo eno ssalc taht may etaler ot a
elgnis ecnatsni of na as detaicos ssalc . icilpitluM ty sniartsnoc eht mun b re fo etaler d
ejbo c .st
vnocLMU e :snoitn
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
18/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 81
MU L ticilpitlumstsilylticilpxesmargaid y .senilnoitaicossafosdneehtta
MU L ticilpitlumseificeps y sahcus,lavretninahtiw
1 yltcaxe( .)eno
1 .. eno( ro .)erom
3 .. 5 erht( e evisulcni,evifot ).
* ( ,ynam e.i .)eromroorez
yltcaxe eno
ma ynz( e or or more)
lanoitpoz( e or or one)
laciremun lypS e ific ed
m( to n, viculcni e)
gnireffOesruoC
- ot - ticilpitlumynam y ifwoleB. g setartsullieru
eno - ot - eno m ilpitlu c yti .
- ro - ilpitlumeno city.
Note :1 svnoitaicossA L .kni
Cl sa s
Cl sa s
Class
ssalC
0..*
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 81
MU L ticilpitlumstsilylticilpxesmargaid y .senilnoitaicossafosdneehtta
MU L ticilpitlumseificeps y sahcus,lavretninahtiw
1 yltcaxe( .)eno
1 .. eno( ro .)erom
3 .. 5 erht( e evisulcni,evifot ).
* ( ,ynam e.i .)eromroorez
yltcaxe eno
ma ynz( e or or more)
lanoitpoz( e or or one)
laciremun lypS e ific ed
m( to n, viculcni e)
gnireffOesruoC
- ot - ticilpitlumynam y ifwoleB. g setartsullieru
eno - ot - eno m ilpitlu c yti .
- ro - ilpitlumeno city.
Note :1 svnoitaicossA L .kni
Cl sa s
Cl sa s
Class
ssalC
0..*
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 81
MU L ticilpitlumstsilylticilpxesmargaid y .senilnoitaicossafosdneehtta
MU L ticilpitlumseificeps y sahcus,lavretninahtiw
1 yltcaxe( .)eno
1 .. eno( ro .)erom
3 .. 5 erht( e evisulcni,evifot ).
* ( ,ynam e.i .)eromroorez
yltcaxe eno
ma ynz( e or or more)
lanoitpoz( e or or one)
laciremun lypS e ific ed
m( to n, viculcni e)
gnireffOesruoC
- ot - ticilpitlumynam y ifwoleB. g setartsullieru
eno - ot - eno m ilpitlu c yti .
- ro - ilpitlumeno city.
Note :1 svnoitaicossA L .kni
Cl sa s
Cl sa s
Class
ssalC
0..*
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
19/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 91
yticilpitluM fo snoitaicossA
ynaM - ot -one
Bank has man Ay TM ,s TA M nk ows only 1 b na k
enO - ot - ynam
I vn ento yr has ma yn ti e sm , ti e sm onk w 1 vni e tn o yr
noitaicossA cilpitluM i yt
A tea hc er tea hc es 1 to 3 co sru es jbus( ect )s
Ea hc co sru e si ta hgu t yb o yln o en tea hc er.
A st du ent can ta ek be ewt en 1 to 5 co sru e .s
A co esru can have 01 to 003 st du ent .s
Teacher
stnedutS
1 .. 5
Takes
01 ..3 00
1..31 T sehcae
noitaicossA - lpitluM i ytic
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
20/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 02
oN te :2 ticilpitluM y tilanidraCsv y.
ticilpitluM y .noitcellocafoezisehtnotniartsnocasi
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 02
oN te :2 ticilpitluM y tilanidraCsv y.
ticilpitluM y .noitcellocafoezisehtnotniartsnocasi
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 02
oN te :2 ticilpitluM y tilanidraCsv y.
ticilpitluM y .noitcellocafoezisehtnotniartsnocasi
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
21/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 12
tilanidraC y llautcaeratahtstnemelefotnuocasi y noitcellocani .
roferehT e ticilpitlum, y rtsnocasi a notni tilanidrac y.
etoN :3 ehT taretil u er netfo sebircsed icilpitlum ty sa ieb ng o ne ro am ny,
llarenegeromtub y ennonehtfotesbusasiti g srebmunevita .
noitaicossA e andn mes
-to-
nam y sdneowtsahnoitaicossa
na dne htiw a yticilpitlum fo eno
na dne htiw a yticilpitlum fo ynam
uoY nac ton no ly ssa i ng a icilpitlum ty ot na as noitaicos ,dne tub uoy nac evig ti a
eman a ws e .ll
olpmenasinosrepA y napmocottcepserhtiwee y.
napmocA y nosrepaottcepserhtiwreyolpmenasi .
oN te :1 rasemandnenoitaicossA e noitpo al.
etoN :2 noitaicossA dne seman era assecen ry r of snoitaicossa neewteb owt stcejbo
fo eht as me cl .ssa hT ey nac osla hsiugnitsid um l elpit snoitaicossa teb w nee a ap ir fo
essalc s.
.E g. hcae id r otce ry sah ex tca ly one su er ohw is na o renw na d am ny us sre hw o are
dezirohtua ot esu eht id r otce r .y nehW ht e er si no ly a is n elg ssa o noitaic eb t neew a iap r
fo tcnitsid salc s ,se eht seman of eht cl essa s netfo su ,eciff dna you may timo
icossa a noit e ndn a sem .
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 12
tilanidraC y llautcaeratahtstnemelefotnuocasi y noitcellocani .
roferehT e ticilpitlum, y rtsnocasi a notni tilanidrac y.
etoN :3 ehT taretil u er netfo sebircsed icilpitlum ty sa ieb ng o ne ro am ny,
llarenegeromtub y ennonehtfotesbusasiti g srebmunevita .
noitaicossA e andn mes
-to-
nam y sdneowtsahnoitaicossa
na dne htiw a yticilpitlum fo eno
na dne htiw a yticilpitlum fo ynam
uoY nac ton no ly ssa i ng a icilpitlum ty ot na as noitaicos ,dne tub uoy nac evig ti a
eman a ws e .ll
olpmenasinosrepA y napmocottcepserhtiwee y.
napmocA y nosrepaottcepserhtiwreyolpmenasi .
oN te :1 rasemandnenoitaicossA e noitpo al.
etoN :2 noitaicossA dne seman era assecen ry r of snoitaicossa neewteb owt stcejbo
fo eht as me cl .ssa hT ey nac osla hsiugnitsid um l elpit snoitaicossa teb w nee a ap ir fo
essalc s.
.E g. hcae id r otce ry sah ex tca ly one su er ohw is na o renw na d am ny us sre hw o are
dezirohtua ot esu eht id r otce r .y nehW ht e er si no ly a is n elg ssa o noitaic eb t neew a iap r
fo tcnitsid salc s ,se eht seman of eht cl essa s netfo su ,eciff dna you may timo
icossa a noit e ndn a sem .
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 12
tilanidraC y llautcaeratahtstnemelefotnuocasi y noitcellocani .
roferehT e ticilpitlum, y rtsnocasi a notni tilanidrac y.
etoN :3 ehT taretil u er netfo sebircsed icilpitlum ty sa ieb ng o ne ro am ny,
llarenegeromtub y ennonehtfotesbusasiti g srebmunevita .
noitaicossA e andn mes
-to-
nam y sdneowtsahnoitaicossa
na dne htiw a yticilpitlum fo eno
na dne htiw a yticilpitlum fo ynam
uoY nac ton no ly ssa i ng a icilpitlum ty ot na as noitaicos ,dne tub uoy nac evig ti a
eman a ws e .ll
olpmenasinosrepA y napmocottcepserhtiwee y.
napmocA y nosrepaottcepserhtiwreyolpmenasi .
oN te :1 rasemandnenoitaicossA e noitpo al.
etoN :2 noitaicossA dne seman era assecen ry r of snoitaicossa neewteb owt stcejbo
fo eht as me cl .ssa hT ey nac osla hsiugnitsid um l elpit snoitaicossa teb w nee a ap ir fo
essalc s.
.E g. hcae id r otce ry sah ex tca ly one su er ohw is na o renw na d am ny us sre hw o are
dezirohtua ot esu eht id r otce r .y nehW ht e er si no ly a is n elg ssa o noitaic eb t neew a iap r
fo tcnitsid salc s ,se eht seman of eht cl essa s netfo su ,eciff dna you may timo
icossa a noit e ndn a sem .
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
22/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 22
:3etoN dnenoitaicossA telseman uoy inu fy elpitlum secnerefer ot ht e salcemas s.
nehW gnitcurtsnoc ssalc smargaid uoy dluohs ylreporp esu ssa o noitaic ne d seman dna
rapesaecudortniton a ferhcaerofssalcet e ifwolebsaecner g .swohs
,semitemoS eht stcejbo no a ynam .redroticilpxenaevahdnenoitaicossa
.E g. noitatskroW neercs gniniatnoc a rebmun fo ippalrevo ng .swodniw hcaE wodniw
neercsano srucco ta tsom ticilpxeevahswodniwehT.ecno redro os no ly poteht tsom
nataelbisiveraswodniw y ercsehtnotniop e .n
gniredrO si na tnerehni trap fo ssa o .noitaic uoY nac etacidni na ro d dere tes of
bstcejbo y gnitirw }deredro{ txen ot eht etairporppa noitaicossa .dne
:giF gniredro semitemos srucco rof am ny icilpitlum ty
neuqeSdnasgaB ec s
ta otsom n knile of r a pa ori f ejbo c .st
elpitlum li skn rof a riap of stcejbo by an gnitaton na
ab{htiwdnenoitaicossa g s{ro} e uq e cn e}.
gab asi c cilpudhtiwstnemelefonoitcello ate wollas ed.
neuqes ec cilpudhtiwstnemelefonoitcellocderedronasi a set a dewoll .
elpmaxE :
amyrarenitina:gif y os,stropriaelpitlumtisiv y tondna}ecneuqes{esudluohsuo
dro{ ere }d
:etoN }deredro{ dna }ecneuqes{ itatonna o sn era ,emas ex tpec taht eht tsrif
rehtoehtdnasetacilpudswollasid a .mehtswoll
noitaicossA c ssal es
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 22
:3etoN dnenoitaicossA telseman uoy inu fy elpitlum secnerefer ot ht e salcemas s.
nehW gnitcurtsnoc ssalc smargaid uoy dluohs ylreporp esu ssa o noitaic ne d seman dna
rapesaecudortniton a ferhcaerofssalcet e ifwolebsaecner g .swohs
,semitemoS eht stcejbo no a ynam .redroticilpxenaevahdnenoitaicossa
.E g. noitatskroW neercs gniniatnoc a rebmun fo ippalrevo ng .swodniw hcaE wodniw
neercsano srucco ta tsom ticilpxeevahswodniwehT.ecno redro os no ly poteht tsom
nataelbisiveraswodniw y ercsehtnotniop e .n
gniredrO si na tnerehni trap fo ssa o .noitaic uoY nac etacidni na ro d dere tes of
bstcejbo y gnitirw }deredro{ txen ot eht etairporppa noitaicossa .dne
:giF gniredro semitemos srucco rof am ny icilpitlum ty
neuqeSdnasgaB ec s
ta otsom n knile of r a pa ori f ejbo c .st
elpitlum li skn rof a riap of stcejbo by an gnitaton na
ab{htiwdnenoitaicossa g s{ro} e uq e cn e}.
gab asi c cilpudhtiwstnemelefonoitcello ate wollas ed.
neuqes ec cilpudhtiwstnemelefonoitcellocderedronasi a set a dewoll .
elpmaxE :
amyrarenitina:gif y os,stropriaelpitlumtisiv y tondna}ecneuqes{esudluohsuo
dro{ ere }d
:etoN }deredro{ dna }ecneuqes{ itatonna o sn era ,emas ex tpec taht eht tsrif
rehtoehtdnasetacilpudswollasid a .mehtswoll
noitaicossA c ssal es
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 22
:3etoN dnenoitaicossA telseman uoy inu fy elpitlum secnerefer ot ht e salcemas s.
nehW gnitcurtsnoc ssalc smargaid uoy dluohs ylreporp esu ssa o noitaic ne d seman dna
rapesaecudortniton a ferhcaerofssalcet e ifwolebsaecner g .swohs
,semitemoS eht stcejbo no a ynam .redroticilpxenaevahdnenoitaicossa
.E g. noitatskroW neercs gniniatnoc a rebmun fo ippalrevo ng .swodniw hcaE wodniw
neercsano srucco ta tsom ticilpxeevahswodniwehT.ecno redro os no ly poteht tsom
nataelbisiveraswodniw y ercsehtnotniop e .n
gniredrO si na tnerehni trap fo ssa o .noitaic uoY nac etacidni na ro d dere tes of
bstcejbo y gnitirw }deredro{ txen ot eht etairporppa noitaicossa .dne
:giF gniredro semitemos srucco rof am ny icilpitlum ty
neuqeSdnasgaB ec s
ta otsom n knile of r a pa ori f ejbo c .st
elpitlum li skn rof a riap of stcejbo by an gnitaton na
ab{htiwdnenoitaicossa g s{ro} e uq e cn e}.
gab asi c cilpudhtiwstnemelefonoitcello ate wollas ed.
neuqes ec cilpudhtiwstnemelefonoitcellocderedronasi a set a dewoll .
elpmaxE :
amyrarenitina:gif y os,stropriaelpitlumtisiv y tondna}ecneuqes{esudluohsuo
dro{ ere }d
:etoN }deredro{ dna }ecneuqes{ itatonna o sn era ,emas ex tpec taht eht tsrif
rehtoehtdnasetacilpudswollasid a .mehtswoll
noitaicossA c ssal es
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
23/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 32
noitaicossa c ssal icossanasi a sitahtnoit a aosl c .ssal
kiL e eht sknil fo na sa s ,noitaico eht natsni c se of na taicossa i no ssalc de evir itnedi ty
natsnimorf c .sessalctneutitsnocehtfose
kiL e a ,ssalc na ssa o noitaic ssalc nac h eva birtta u set dna op tare i sno dna p etapicitra in
icossa a .snoit
LMU noitaton rof noitaicossa ssalc si a box dehcatta ot eht noitaicossa by a
dehsad enil .
:etoN setubirttA rof taicossa i no ssalc bakatsimnu ly oleb ng ot eht knil dna tonnac
eb bircsa e tcejborehtieotd . treporptniojasinoissimrePssecca,erugifevobaehtnI y fo
rehtieotdehcattaebtonnacresudnaeliF f nisoltuohtiwenolaresuroeli g .noitamrofni
setubirtta rof owt no e- ot - ynam .spihsnoitaler hcaE pe nosr
gnikrow rof a apmoc ny seviecer a alas ry dna h sa boj eltit . ehT ssob setaulave eht
foecnamrofrep eac krowh er. msetubirttA a enorofruccooslay - ot - snoitaicossaeno .
etoN :1 Fi erug ohs ws woh i t s elbissop ot of ld ta t setubir of r no e- ot -o en dna one-
ot - ynam snoitaicossa ni to eht salc s etisoppo a eno dne . sihT si ton p sso i elb rof
nam y- ot - nam y .snoitaicossa
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 32
noitaicossa c ssal icossanasi a sitahtnoit a aosl c .ssal
kiL e eht sknil fo na sa s ,noitaico eht natsni c se of na taicossa i no ssalc de evir itnedi ty
natsnimorf c .sessalctneutitsnocehtfose
kiL e a ,ssalc na ssa o noitaic ssalc nac h eva birtta u set dna op tare i sno dna p etapicitra in
icossa a .snoit
LMU noitaton rof noitaicossa ssalc si a box dehcatta ot eht noitaicossa by a
dehsad enil .
:etoN setubirttA rof taicossa i no ssalc bakatsimnu ly oleb ng ot eht knil dna tonnac
eb bircsa e tcejborehtieotd . treporptniojasinoissimrePssecca,erugifevobaehtnI y fo
rehtieotdehcattaebtonnacresudnaeliF f nisoltuohtiwenolaresuroeli g .noitamrofni
setubirtta rof owt no e- ot - ynam .spihsnoitaler hcaE pe nosr
gnikrow rof a apmoc ny seviecer a alas ry dna h sa boj eltit . ehT ssob setaulave eht
foecnamrofrep eac krowh er. msetubirttA a enorofruccooslay - ot - snoitaicossaeno .
etoN :1 Fi erug ohs ws woh i t s elbissop ot of ld ta t setubir of r no e- ot -o en dna one-
ot - ynam snoitaicossa ni to eht salc s etisoppo a eno dne . sihT si ton p sso i elb rof
nam y- ot - nam y .snoitaicossa
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 32
noitaicossa c ssal icossanasi a sitahtnoit a aosl c .ssal
kiL e eht sknil fo na sa s ,noitaico eht natsni c se of na taicossa i no ssalc de evir itnedi ty
natsnimorf c .sessalctneutitsnocehtfose
kiL e a ,ssalc na ssa o noitaic ssalc nac h eva birtta u set dna op tare i sno dna p etapicitra in
icossa a .snoit
LMU noitaton rof noitaicossa ssalc si a box dehcatta ot eht noitaicossa by a
dehsad enil .
:etoN setubirttA rof taicossa i no ssalc bakatsimnu ly oleb ng ot eht knil dna tonnac
eb bircsa e tcejborehtieotd . treporptniojasinoissimrePssecca,erugifevobaehtnI y fo
rehtieotdehcattaebtonnacresudnaeliF f nisoltuohtiwenolaresuroeli g .noitamrofni
setubirtta rof owt no e- ot - ynam .spihsnoitaler hcaE pe nosr
gnikrow rof a apmoc ny seviecer a alas ry dna h sa boj eltit . ehT ssob setaulave eht
foecnamrofrep eac krowh er. msetubirttA a enorofruccooslay - ot - snoitaicossaeno .
etoN :1 Fi erug ohs ws woh i t s elbissop ot of ld ta t setubir of r no e- ot -o en dna one-
ot - ynam snoitaicossa ni to eht salc s etisoppo a eno dne . sihT si ton p sso i elb rof
nam y- ot - nam y .snoitaicossa
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
24/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 42
sA a ,elur uoy dluohs not dlof hcus setubirtta otni a cl ssa be esuac eht mu pitl l ici ty of
amnoitaicossaeht y nahc g .e
oN te :2 nA nitapicitrapssalcnoitaicossa g icossanani a .noit
oN te :3 ranidrosvssalcnoitaicossA y ssalc .
:ge
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 42
sA a ,elur uoy dluohs not dlof hcus setubirtta otni a cl ssa be esuac eht mu pitl l ici ty of
amnoitaicossaeht y nahc g .e
oN te :2 nA nitapicitrapssalcnoitaicossa g icossanani a .noit
oN te :3 ranidrosvssalcnoitaicossA y ssalc .
:ge
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 42
sA a ,elur uoy dluohs not dlof hcus setubirtta otni a cl ssa be esuac eht mu pitl l ici ty of
amnoitaicossaeht y nahc g .e
oN te :2 nA nitapicitrapssalcnoitaicossa g icossanani a .noit
oN te :3 ranidrosvssalcnoitaicossA y ssalc .
:ge
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
25/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 52
ilauQ f snoitaicossadei
deifilauQ noitaicossA si na noitaicossa ni hcihw na etubirtta dellac eht
ilauq f rei setaugibmasid eht stcejbo rof a am ny noitaicossa sdne . tI si elbissop ot
enorofsreifilauqenifed - ot - nam y ynamdna - ot - nam y .snoitaicossa
morf ynam ot eno .
xE :1 reifilauq rof snoitaicossa htiw eno ot am ny icilpitlum t .y A knab civres es
elpitlum .stnuocca nA tnuocca sgnoleb ot elgnis .knab nihtiW eht txetnoc fo a ,knab
eht tnuoccA rebmuN sp seifice a euqinu nuocca t. k naB dna a tnuocc era ,sessalc dna
tnuoccA rebmuN si a q .reifilau noitacifilauQ secuder evitceffe icilpitlum ty of iht s
noitaicossa enomorf - ot - nam y enoot - ot - .eno
giF : noitacifilauq in sesaerc ht e noisicerp fo a .ledom :eton( ho vew e ,r htob a er
acce lbatp e)
xE :2 a kcots egnahcxe stsil ynam einapmoc s. ,revewoH ti stsil no ly o en apmoc ny
htiw a nevig cit k re s .lobmy A apmoc ny am eby detsil no am ny ts ock ex ahc n ,seg
lbissop y stnereffidrednu y .slobm
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 52
ilauQ f snoitaicossadei
deifilauQ noitaicossA si na noitaicossa ni hcihw na etubirtta dellac eht
ilauq f rei setaugibmasid eht stcejbo rof a am ny noitaicossa sdne . tI si elbissop ot
enorofsreifilauqenifed - ot - nam y ynamdna - ot - nam y .snoitaicossa
morf ynam ot eno .
xE :1 reifilauq rof snoitaicossa htiw eno ot am ny icilpitlum t .y A knab civres es
elpitlum .stnuocca nA tnuocca sgnoleb ot elgnis .knab nihtiW eht txetnoc fo a ,knab
eht tnuoccA rebmuN sp seifice a euqinu nuocca t. k naB dna a tnuocc era ,sessalc dna
tnuoccA rebmuN si a q .reifilau noitacifilauQ secuder evitceffe icilpitlum ty of iht s
noitaicossa enomorf - ot - nam y enoot - ot - .eno
giF : noitacifilauq in sesaerc ht e noisicerp fo a .ledom :eton( ho vew e ,r htob a er
acce lbatp e)
xE :2 a kcots egnahcxe stsil ynam einapmoc s. ,revewoH ti stsil no ly o en apmoc ny
htiw a nevig cit k re s .lobmy A apmoc ny am eby detsil no am ny ts ock ex ahc n ,seg
lbissop y stnereffidrednu y .slobm
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 52
ilauQ f snoitaicossadei
deifilauQ noitaicossA si na noitaicossa ni hcihw na etubirtta dellac eht
ilauq f rei setaugibmasid eht stcejbo rof a am ny noitaicossa sdne . tI si elbissop ot
enorofsreifilauqenifed - ot - nam y ynamdna - ot - nam y .snoitaicossa
morf ynam ot eno .
xE :1 reifilauq rof snoitaicossa htiw eno ot am ny icilpitlum t .y A knab civres es
elpitlum .stnuocca nA tnuocca sgnoleb ot elgnis .knab nihtiW eht txetnoc fo a ,knab
eht tnuoccA rebmuN sp seifice a euqinu nuocca t. k naB dna a tnuocc era ,sessalc dna
tnuoccA rebmuN si a q .reifilau noitacifilauQ secuder evitceffe icilpitlum ty of iht s
noitaicossa enomorf - ot - nam y enoot - ot - .eno
giF : noitacifilauq in sesaerc ht e noisicerp fo a .ledom :eton( ho vew e ,r htob a er
acce lbatp e)
xE :2 a kcots egnahcxe stsil ynam einapmoc s. ,revewoH ti stsil no ly o en apmoc ny
htiw a nevig cit k re s .lobmy A apmoc ny am eby detsil no am ny ts ock ex ahc n ,seg
lbissop y stnereffidrednu y .slobm
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
26/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 62
Eg :3 ilauQ f dei A oss c itai on
ge :4
ECNATIREHNIDNANOITAZILARENEG
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 62
Eg :3 ilauQ f dei A oss c itai on
ge :4
ECNATIREHNIDNANOITAZILARENEG
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 62
Eg :3 ilauQ f dei A oss c itai on
ge :4
ECNATIREHNIDNANOITAZILARENEG
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
27/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 72
noitazilareneG si the pihsnoitaler teb w nee a ssalc eht( )ssalcrepus dna eno or
erom snoitairav fo eht cl ssa eht( .)sessalcbus noitazilareneG sezinagro sessalc by ieht r
nirutcurts,secnereffiddnaseitiralimis g .stcejbofonoitpircsedeht
, po era snoit dna ssa co ;snoitai eht
sessalcbus dda cificeps ,setubirtta snoitarepo dna snoitaicossa . hcaE ssalcbus si dias ot
hni re ti feht ae rut e repusstifos c .ssal
m velelpitlu e sl fo g zilarene a .noit
gfoselpmaxeswohs)egapgni e ren a .noitazil
F a(gi ) axE m tnempiuqerofnoitazilarenegfoelp .
stirehnitcejbohcaE velhcaetassalcenomorfserutaef e fol eg ren a zil a .noit
unoitnevnocLMU se :d
esU egral wolloh rra o daehw ot etoned tazilareneg i .no ehT daehworra niop ts ot
epus rc .ssal
F )b(gi ifcihpargrofecnatirehni g .seru
gehtottxennettirwdrowehT e noitazilaren nienil tilanoisnemide.i(margaideht y asi)
noitazilareneg tes eman . A eneg r noitazila tes eman si na emune r deta at ubirt te taht
hcihwsetacidni nafotcepsa tcejbo is gnieb detcartsba by a pa r alucitr eg ner .noitazila It
lanoitposi .
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 72
noitazilareneG si the pihsnoitaler teb w nee a ssalc eht( )ssalcrepus dna eno or
erom snoitairav fo eht cl ssa eht( .)sessalcbus noitazilareneG sezinagro sessalc by ieht r
nirutcurts,secnereffiddnaseitiralimis g .stcejbofonoitpircsedeht
, po era snoit dna ssa co ;snoitai eht
sessalcbus dda cificeps ,setubirtta snoitarepo dna snoitaicossa . hcaE ssalcbus si dias ot
hni re ti feht ae rut e repusstifos c .ssal
m velelpitlu e sl fo g zilarene a .noit
gfoselpmaxeswohs)egapgni e ren a .noitazil
F a(gi ) axE m tnempiuqerofnoitazilarenegfoelp .
stirehnitcejbohcaE velhcaetassalcenomorfserutaef e fol eg ren a zil a .noit
unoitnevnocLMU se :d
esU egral wolloh rra o daehw ot etoned tazilareneg i .no ehT daehworra niop ts ot
epus rc .ssal
F )b(gi ifcihpargrofecnatirehni g .seru
gehtottxennettirwdrowehT e noitazilaren nienil tilanoisnemide.i(margaideht y asi)
noitazilareneg tes eman . A eneg r noitazila tes eman si na emune r deta at ubirt te taht
hcihwsetacidni nafotcepsa tcejbo is gnieb detcartsba by a pa r alucitr eg ner .noitazila It
lanoitposi .
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 72
noitazilareneG si the pihsnoitaler teb w nee a ssalc eht( )ssalcrepus dna eno or
erom snoitairav fo eht cl ssa eht( .)sessalcbus noitazilareneG sezinagro sessalc by ieht r
nirutcurts,secnereffiddnaseitiralimis g .stcejbofonoitpircsedeht
, po era snoit dna ssa co ;snoitai eht
sessalcbus dda cificeps ,setubirtta snoitarepo dna snoitaicossa . hcaE ssalcbus si dias ot
hni re ti feht ae rut e repusstifos c .ssal
m velelpitlu e sl fo g zilarene a .noit
gfoselpmaxeswohs)egapgni e ren a .noitazil
F a(gi ) axE m tnempiuqerofnoitazilarenegfoelp .
stirehnitcejbohcaE velhcaetassalcenomorfserutaef e fol eg ren a zil a .noit
unoitnevnocLMU se :d
esU egral wolloh rra o daehw ot etoned tazilareneg i .no ehT daehworra niop ts ot
epus rc .ssal
F )b(gi ifcihpargrofecnatirehni g .seru
gehtottxennettirwdrowehT e noitazilaren nienil tilanoisnemide.i(margaideht y asi)
noitazilareneg tes eman . A eneg r noitazila tes eman si na emune r deta at ubirt te taht
hcihwsetacidni nafotcepsa tcejbo is gnieb detcartsba by a pa r alucitr eg ner .noitazila It
lanoitposi .
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
28/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 82
F (gi a)
F )b(gi
vom e , eles ct , ,etator dna yalpsid era snoitarepo taht lla sessalcbus tirehni .
sca el enootseilppa - owtdnalanoisnemid - iflanoisnemid g seru .
llif seilppa ylno owtot - iflanoisnemid g ru es.
sU e ilarenegfo z :noita Ge hnoitazilaren a rhts ee rup p seso
1. oT troppus p romylo hp :msi uoY nac llac an noitarepo ta ht e epus r ssalc l ,leve
dna eht OO al ng au eg reilpmoc lacitamotua ly sevloser t eh llac ot eht dohtem taht
hctam e hts e .ssalcstcejbognillac
2. oT erutcurts eht noitpircsed of :stcejbo e.i ot emarf a at x ono my dna
ejbognizinagro c htfosisabehtnost e ffiddnaseitiralimisri ere cn es.3. oT elbane esuer fo :edoc esueR si erom evitcudorp ht an detaeper ly gnitirw
doc e fr r csmo a .hct
:etoN ehT smret eg n ,noitazilare noitazilaiceps dna ecnatirehni lla er f re ot tcepsa s
of seht a ediem a.
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 82
F (gi a)
F )b(gi
vom e , eles ct , ,etator dna yalpsid era snoitarepo taht lla sessalcbus tirehni .
sca el enootseilppa - owtdnalanoisnemid - iflanoisnemid g seru .
llif seilppa ylno owtot - iflanoisnemid g ru es.
sU e ilarenegfo z :noita Ge hnoitazilaren a rhts ee rup p seso
1. oT troppus p romylo hp :msi uoY nac llac an noitarepo ta ht e epus r ssalc l ,leve
dna eht OO al ng au eg reilpmoc lacitamotua ly sevloser t eh llac ot eht dohtem taht
hctam e hts e .ssalcstcejbognillac
2. oT erutcurts eht noitpircsed of :stcejbo e.i ot emarf a at x ono my dna
ejbognizinagro c htfosisabehtnost e ffiddnaseitiralimisri ere cn es.3. oT elbane esuer fo :edoc esueR si erom evitcudorp ht an detaeper ly gnitirw
doc e fr r csmo a .hct
:etoN ehT smret eg n ,noitazilare noitazilaiceps dna ecnatirehni lla er f re ot tcepsa s
of seht a ediem a.
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 82
F (gi a)
F )b(gi
vom e , eles ct , ,etator dna yalpsid era snoitarepo taht lla sessalcbus tirehni .
sca el enootseilppa - owtdnalanoisnemid - iflanoisnemid g seru .
llif seilppa ylno owtot - iflanoisnemid g ru es.
sU e ilarenegfo z :noita Ge hnoitazilaren a rhts ee rup p seso
1. oT troppus p romylo hp :msi uoY nac llac an noitarepo ta ht e epus r ssalc l ,leve
dna eht OO al ng au eg reilpmoc lacitamotua ly sevloser t eh llac ot eht dohtem taht
hctam e hts e .ssalcstcejbognillac
2. oT erutcurts eht noitpircsed of :stcejbo e.i ot emarf a at x ono my dna
ejbognizinagro c htfosisabehtnost e ffiddnaseitiralimisri ere cn es.3. oT elbane esuer fo :edoc esueR si erom evitcudorp ht an detaeper ly gnitirw
doc e fr r csmo a .hct
:etoN ehT smret eg n ,noitazilare noitazilaiceps dna ecnatirehni lla er f re ot tcepsa s
of seht a ediem a.
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
29/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 92
evO r rutaefgnidir es
man e. ehT ov idirre ng erutaef ssalcbus( f )erutae senifer dna r secalpe eht neddirrevo
fssalcrepus(erutaef ae rut e .)
ficepsoT y ssalcbusnosdnepedtahtroivaheb .
onoitacificepsehtnethgitoT f a fea r ut e.
mrofrepevorpmioT a .ecn
rp( e apsuoiv g )e eac busfaelh c ssal e hs a vod err ddi en alpsid y f e ruta e.
:etoN uoY may edirrevo dohtem s dna de af tlu seulav of .setubirtta uoY dluohs
revoreven r isehtedi g fafomrofro,erutan ae rut e.
MASA P LEDOMSSALCEL
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 92
evO r rutaefgnidir es
man e. ehT ov idirre ng erutaef ssalcbus( f )erutae senifer dna r secalpe eht neddirrevo
fssalcrepus(erutaef ae rut e .)
ficepsoT y ssalcbusnosdnepedtahtroivaheb .
onoitacificepsehtnethgitoT f a fea r ut e.
mrofrepevorpmioT a .ecn
rp( e apsuoiv g )e eac busfaelh c ssal e hs a vod err ddi en alpsid y f e ruta e.
:etoN uoY may edirrevo dohtem s dna de af tlu seulav of .setubirtta uoY dluohs
revoreven r isehtedi g fafomrofro,erutan ae rut e.
MASA P LEDOMSSALCEL
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 92
evO r rutaefgnidir es
man e. ehT ov idirre ng erutaef ssalcbus( f )erutae senifer dna r secalpe eht neddirrevo
fssalcrepus(erutaef ae rut e .)
ficepsoT y ssalcbusnosdnepedtahtroivaheb .
onoitacificepsehtnethgitoT f a fea r ut e.
mrofrepevorpmioT a .ecn
rp( e apsuoiv g )e eac busfaelh c ssal e hs a vod err ddi en alpsid y f e ruta e.
:etoN uoY may edirrevo dohtem s dna de af tlu seulav of .setubirtta uoY dluohs
revoreven r isehtedi g fafomrofro,erutan ae rut e.
MASA P LEDOMSSALCEL
-
7/22/2019 Ise-Vii-object-Oriented Modeling and Design [10cs71]-Notes
30/144
gningiseDdnagniledoMdetneirOtcejbO 17SC01
ESIfotpeD TIBJS, 03
SLEDOMSSALCFONOITAGIVAN
ssa sledom era lufesu rof erom naht tsuj atad .erutcurts nI ,ralucitrap noitagivan
fo salc s ledom stel uoy sserpxe niatrec roivaheb . ,eromrehtruF noitagivan ex sesicre a
hcihw,noissimodnaswalfneddihsrevocnudnaledomssalc y rnehtnacuo epa .ri
setaroproc a gnal u ega taht nac be desu rof van i ,noitag eht jbo ect
tsnoc r O(egaugnaltnia C .)L
rofstcurtsnocLCO evart r gnis c ssal m do e sl
1. Attr tubi e :s vetubirttanaottcejbonamorfesrevartnacuoY a eul .
Sy bdewolloftcejboecruos:xatn y emanetubirttanehtdnatod .
cmumixam.tnuoccAdraCtiderCa:xE er tid
2. :snoitarepO Y uo nac osla ekovni an epo r noita f ro na bo j tce or loc el tc i no ofejbo c st . S :xatny ecruos tcejbo ro bo j tce ,noitcelloc dewollof by tod and neht ht e
noitarepo dewollof by sisehtnerap eve n fi ti h sa on stnemugra . LCO sah sp aice l
snoitarepo taht etarepo on eritne snoitcelloc sa( o desopp ot gnitarepo on hcae tcejbo ni
a lloc e tc i .)no S ny tax r of noitcelloc noitarepo :si ecruos bo j tce noitcelloc dewollof by
->, dewollof yb repoeht a noit .
3. elpmiS oitaicossa n :s toD noitaton si osla desu ot esrevart na noitaicossa ot a
tegrat .dne tegraT dne maybe detacidni by na sa s noitaico dne ,eman ro lc a ss eman ( fi
tiugibmaonsiereht y .)
ifrefer:xE g aptxenni ge .
sserddAgniliaM.remotsuCa sdleiy a tes fo sesserdda rof a remotsuc (
rateht g sahdnete ynam )yticilpitlum .
sserddAgniliaM.tnuoccAdraCtiderCa sdleiy a elgnis (sserdda eht egrat t
dne sah yticilpitlum fo eno ).
4. deifilauQ :snoitaicossa ehT noisserpxe derCa i nemetatS.tnuoccAdraCt t 03[
rebmevoN ]9991 sdnif eht tnemetats rof a tiderc drac tnuocca htiw eht tnemetats etad
of voN e ebm r sehT.9991 y stekcarbnieulavreifilauqehtesolcneotsixatn .