." 3ntroduction and 18er8ie% .". 3ntroduction T6is doc($ent is #re#ared as a #art o% t6e #roject re#ort %or t6e Object Oriented Modeling and Design <OOMD= co(rse' It describes t6e entire design #6ase o% o(r #roject >Wedding Planner S5ste$? (sing (ni%ied $odeling lang(age' It co4ers t6e t@o $ain o#erations o% a 6otel i'e' Order /ood and Roo$ boo8ing' In t6e %irst case it describes 6o@ t6e s5ste$ @o(ld be6a4e @6en a c(sto$er orders %ood in t6e 6otel' In t6e second case it describes t6e s5ste$ %lo@ @6en a c(sto$er en7(ires abo(t roo$ a4ailabilit5 or (ses t6e internet to en7(ire and boo8 a roo$ in t6e 6otel' 3ntroduction to UML T6e !ni%ied Modeling Lang(age <!ML= is t6e ind(str5Astandard lang(age %or s#eci%5ing 4is(ali-ing constr(cting and doc($enting t6e arti%acts o% so%t@are s5ste$s' !ML si$#li%ies t6e co$#leB #rocess o% so%t@are design $a8ing a Cbl(e#rintC %or constr(ction and is no@ t6e standard notation %or so%t@are arc6itect(re' !ML #ro4ides bot6 t6e str(ct(ral 4ie@s and be6a4ioral 4ie@s o% t6e s5ste$' A set o% diagra$s @it6 di%%erent gra#6ical ele$ents is t6e core #art as @ell as t6e $ost eB#ressi4e #resentation in !ML' T6e !ML incl(des nine 8inds o% diagra$s %or t6e sa8e o% gras# t6e $ost re#resentati4e as#ects o% t6e design o% ele4ator s5ste$ in t6is #a#er onl5 %ollo@ing !ML diagra$s are (sed and anal5-edD Use Case diagram s6o@s a set o% (se cases and actors <a s#ecial 8ind o% class= and t6eir relations6i#s' !se case diagra$s address t6e static (se case 4ie@ o% a s5ste$ t6ese diagra$s are i$#ortant in organi-ing and $odeling t6e be6a4iors o% a s5ste$' !se case diagra$s are 6el#%(l in t6ree areas' Deter$ining %eat(res <re7(ire$ents=' Ne@ (se cases o%ten generate ne@ re7(ire$ents as t6e s5ste$ is anal5-ed and t6e design ta8es s6a#e' &o$$(nicating @it6 clients' T6eir notational si$#licit5 $a8es (se case diagra$s a good @a5 %or de4elo#ers to co$$(nicate @it6 clients' Generating test cases' T6e collection o% scenarios %or a (se case $a5 s(ggest a s(ite o% test cases %or t6ose scenarios' Class diagram s6o@s a set o% classes inter%aces and collaborations and t6eir relations6i#s' &lass diagra$s are t6e $ost co$$on diagra$s (sed in $odeling objectAoriented s5ste$s' &lass diagra$s address t6e static design 4ie@ o% a s5ste$' Se9uence diagram is an interaction diagra$' Interaction diagra$s address t6e d5na$ic 4ie@ o% a s5ste$ besides se7(ence diagra$ t6e ot6er interaction diagra$ in !ML is t6e &ollaboration diagra$' Se7(ence diagra$ e$#6asi-es t6e ti$e ordering o% $essages bet@een objects in t6e s5ste$ @6ile collaboration diagra$ e$#6asi-es t6e str(ct(ral organi-ation o% t6e objects t6at send and recei4e $essages' Se7(ence diagra$s and collaboration diagra$s are iso$or#6ic and can be trans%or$ed %ro$ one into t6e ot6er' Since eit6er o% t6e$ contrib(tes to t6e sa$e eBtend o% (nderstanding o% o(r s5ste$ @6ile se7(ence diagra$s gi4e $ore ideas o% ti$e @6ic6 is essential %or real ti$e s5ste$s onl5 t6e se7(ence diagra$s are gi4en in t6is re#ort' State c!art diagram s6o@s a state $ac6ine consisting o% states transitions e4ents and acti4ities' State c6art diagra$s address t6e d5na$ic 4ie@ o% a s5ste$' State c6art diagra$s are es#eciall5 i$#ortant in $odeling t6e be6a4ior o% an inter%ace class or collaboration and * RGIT M!M"AI De#art$ent o% M&A Object Oriented Modeling and Design WEDDING PLANNER SYSTEM
e$#6asi-e t6e e4entAordered be6a4ior o% an object @6ic6 is es#eciall5 (se%(l in $odeling reacti4e s5ste$s' Acti8ity diagram is a s#ecial 8ind o% State c6art diagra$ s6o@ing t6e %lo@ %ro$ acti4it5 to acti4it5 @it6in a s5ste$' Component diagram s!o%s t6e organi-ations and de#endencies a$ong a set o% co$#onentsE and De#lo5$ent diagra$ s6o@ing t6e con%ig(ration o% r(nAti$e #rocessing nodes and t6e co$#onents t6at li4e on t6e$' '" Scope of Wor* '". Audience T6e intended (sers are t6e tec6nical leaders and t6e de4elo#ers res#onsible %or i$#le$enting t6e Wedding Planner S5ste$' '"' 1rgani:ation T6is doc($ent describes t6e Wedding Planner S5ste$ in ter$s o% s5ste$ re7(ire$ent eBec(ti4e s($$ar5 and anal5sis and design diagra$s' T6e sco#e o% t6is #roject @or8 is to dra@ and describe t6e !ML diagra$s %or t6e a##lication >Wedding Planner S5ste$?' T6e 4ario(s !ML diagra$s @6ic6 @o(ld be co4ered in t6is #roject areD 1' !ML !se &ase Diagra$' ,' !ML Acti4it5 Diagra$' *' !ML &lass Diagra$' +' !ML Object diagra$' .' !ML Se7(ence Diagra$' 0' !ML &ollaboration Diagra$' 1' !ML State &6art Diagra$' 2' !ML &o$#onent Diagra$' 3' !ML De#lo5$ent Diagra$'
+ RGIT M!M"AI De#art$ent o% M&A Object Oriented Modeling and Design WEDDING PLANNER SYSTEM
-" System Re9uirement Specification T6e %ollo@ing s(bsections describe t6e Wedding Planner S5ste$ re7(ire$ent is ter$s o% #roble$ state$ents and %easibilit5 st(dies' Pro0lem Statement T6e Wedding #lanner s5ste$ %acilitates t6e (ser to 4ie@ boo8 t6e ser4ices en7(ire abo(t t6e ser4ices c6ec8 a4ailabilit5 o% ser4ices re7(ired to cond(ct a @edding' T6e $ajor %(nctionalit5 o% s5ste$ is to allo@ t6e (ser to boo8 and cancels t6e ser4ices as #er (ser re7(ire$ents' It also #ro4ides t6e sta%% to $odi%5 eBisting ser4ices or to introd(ce ne@ ser4ices' T6e 4ario(s o#tions 6el# t6e (sers to na4igate t6ro(g6 t6e s5ste$ in a 4er5 e%%icient @a5 t6(s ta8ing care o% e4er5 detail $entioned b5 6i$ or 6er'
Major %eat(res #ro4ided b5 t6e s5ste$ areD Ser4ice En7(ir5 T6e s5ste$ allo@s t6e (ser or $e$ber to #er%or$ ser4ice en7(ir5 incl(ding ser4ice boo8ing ser4ice a4ailabilit5 stat(s ser4ice details etc' !ser Registration It allo@s t6e (ser to register in order to be a $e$ber o% t6e @ebsite' !ser is t6en granted #ri4ileges to boo8 or cancels ser4ices' "oo8 ser4ices T6e s5ste$ allo@s t6e $e$ber to boo8 t6e ser4ices #ro4ided on t6e @ebsite as #er 6isF6er re7(ire$ents' T6e $e$ber is #ro$#t to enter t6e c(sto$er Id details and ser4ice 6e @ants to boo8' T6e $e$ber t6en recei4es t6e con%ir$ation t6at t6e ser4ice is boo8ed' Ser4ice &ancellation T6e %(nctionalit5 is (sed b5 t6e $e$ber to cancel an eBisting ser4ice 6e boo8ed $ade b5 t6e $e$ber earlier' Pa5$ent Mode T6e s5ste$ allo@s t6e (ser to $a8e #a5$ent %or t6e ser4ices in 4ario(s con4enient @a5s' T6e (ser can $a8e eit6er a cas6 or credit #a5$ent' Assumptions T6e ass($#tions %or t6e Wedding Planner S5ste$ A##lication are as %ollo@sD 1' S(%%icient 6ard@are and so%t@are ca#abilities s6o(ld be t6ere in t6e ser4er t6at @ill 6ost t6is a##lication' ,' T6e a(t6entication s5ste$ is #ro4ided b5 a t6ird #art5 co$#onent @6ic6 @o(ld be integrated @it6 t6e Wedding Planner s5ste$' *' &onnecti4it5 bet@een t6e client $ac6ines and t6e ser4er @o(ld be in #lace' . RGIT M!M"AI De#art$ent o% M&A Object Oriented Modeling and Design WEDDING PLANNER SYSTEM
/ig(re *'1 Data Flo% Diagram for 1nline Wedding Planner System 0 RGIT M!M"AI De#art$ent o% M&A &(sto$er W2DD346 PLA442R S7S/2M Sta%% Object Oriented Modeling and Design WEDDING PLANNER SYSTEM
" UML Diagrams for Wedding Planner System Use case diagram T6e !se &ase diagra$ $odels t6e (serGs eB#ectation %or (sing t6e s5ste$' T6e #eo#le and s5ste$s t6at interact @it6 t6e s5ste$ are called t6e actors' T6e %eat(res o% t6e s5ste$ t6at t6e actors (se are called t6e (se cases' So$e (se cases interact @it6 ot6er (se cases' !se case is a @a5 to ca#t(re s5ste$ %(nctionalit5 and re7(ire$ent in !ML' T6e (se case diagra$s consists o% na$ed #ieces o% %(nctionalit5<!se cases= t6e #ersons or t6e t6ings in4o8ing t6e %(nctionalit5<Actors= and #ossibl5 t6e ele$ents res#onsible %or i$#le$enting t6e (se cases<S(bjects=' T6e goal o% t6e (se case is to identi%5 all t6e %eat(res t6at t6e (sers o% t6e s5ste$ eB#ects t6e s5ste$ to s(##ort b(t it does not re4eal an5 details abo(t t6e i$#le$entations o% t6ese %eat(res' !se case diagra$s de#ictD 1' !se cases' A (se case describes a se7(ence o% actions t6at #ro4ide so$et6ing o% $eas(rable 4al(e to an actor and is dra@n as a 6ori-ontal elli#se' ,' Actors' An actor is a #erson organi-ation or eBternal s5ste$ t6at #la5s a role in one or $ore interactions @it6 5o(r s5ste$' Actors are dra@n as stic8 %ig(res' *' Associations' Associations bet@een actors and (se cases are indicated in (se case diagra$s b5 solid lines' An association eBists @6ene4er an actor is in4ol4ed @it6 an interaction described b5 a (se case' Associations are $odeled as lines connecting (se cases and actors to one anot6er @it6 an o#tional arro@6ead on one end o% t6e line' T6e arro@6ead is o%ten (sed to indicating t6e direction o% t6e initial in4ocation o% t6e relations6i# or to indicate t6e #ri$ar5 actor @it6in t6e (se case' +' S5ste$ bo(ndar5 boBes <o#tional=' We can dra@ a rectangle aro(nd t6e (se cases called t6e s5ste$ bo(ndar5 boB to indicate t6e sco#e o% 5o(r s5ste$' An5t6ing @it6in t6e boB re#resents %(nctionalit5 t6at is in sco#e and an5t6ing o(tside t6e boB is not' .' Pac8ages <o#tional=' Pac8ages are !ML constr(cts t6at enable 5o( to organi-e $odel ele$ents <s(c6 as (se cases= into gro(#s' Pac8ages are de#icted as %ile %olders and can be (sed on an5 o% t6e !ML diagra$s incl(ding bot6 (se case diagra$s and class diagra$s' !se case diagra$s are 4al(able beca(seD T6e5 identi%5 t6e (serGs eB#ectation o% t6e s5ste$' T6e5 identi%5 t6e s#eci%ic %eat(res o% t6e s5ste$' Identi%5 s6ared be6a4ior a$ong s5ste$ %eat(res' Pro4ide a si$#le and eas5 @a5 to 4is(ali-e t6e re7(ire$ents' 1 RGIT M!M"AI De#art$ent o% M&A Object Oriented Modeling and Design WEDDING PLANNER SYSTEM
". Use case diagram for Wedding Planner System To :eri%5 Onsite #a5$ent Gi4e re%(nd Sta%% !ser Login HH(sesII To Register "oo8 9all "oo8 caterer select In4ite &ard "oo8 /lorist and Decorator "oo8 con4e5ance Select "and Select 4ideo and #6otogra#6er &ard #a5$ent To cancel order HHEBtendsII &(sto$er /ig(re +'1 2 RGIT M!M"AI De#art$ent o% M&A Object Oriented Modeling and Design WEDDING PLANNER SYSTEM
".". Use Case Description T6ere are %o(rteen (se cases in t6is (se case diagra$ as #er t6e online order %ood re7(ire$ent as s6o@n in t6e %ig(re abo4eD User Login$ It allo@s t6e eBisting (ser to login' /o ;erify$ It 4eri%ies t6e (ser login against t6e #ass@ord' /o Register$ It allo@s a ne@ (ser to register @it6 t6e s5ste$' #oo* ,all$ It allo@s t6e (ser to select %ro$ t6e o#tions o% AcFNonAAc 6alls' #oo* Caterer$ 9ere t6e (ser can select t6e caterer as @ell t6e %ood $en( o#tions' Select 3n8ite Card$ It allo@s t6e (ser to c6oose %ro$ gi4en design te$#lates o% an in4itation card' #oo* Florist and Decorator$ It gi4es t6e (ser an o#tion to select t6e decoration t6e$e' #oo* Con8eyance$ !ser can boo8 con4e5ance $ode and select t6e ser4ice' Select #and$ !ser can select t6e band' Select ;ideo and P!otograp!er$ !sers can 4ie@ sa$#les o% 4ario(s #6oto #arlors and select t6e ser4ices' Card Payment$ !ser can #a5 t6ro(g6 credit card'< 1nsite Payment$ !ser can do t6e #a5$ent on t6e @ebsite itsel%' /o CancelD !ser can cancel t6e order be%ore t6e d(e date' 6i8e Refund$ I% t6e cancellation is done @it6in t6e sti#(lated ti$e t6en t6e re%(nd is done' T6e actors ta8ing #art in t6e (se cases areD &(sto$erD T6e #erson<s= "oo8ing t6e Ser4ices Sta%%D T6e #erson<s= #ro4iding ser4ices to t6e &(sto$er' "."' US2 CAS2 /A#L2$ !se case ID 1 !se case na$e !ser Login Actor Online c(sto$er PreAcondition Login into t6e cart PostAcondition Add or select ser4ices /lo@ o% e4ents 3 RGIT M!M"AI De#art$ent o% M&A Object Oriented Modeling and Design WEDDING PLANNER SYSTEM
!se case ID , !se case na$e To Register Actor Online c(sto$er PreAcondition Register as a $e$ber PostAcondition Add or select ser4ices /lo@ o% e4ents !se case ID * !se case na$e &ard Pa5$ent Actor Online c(sto$er Sta%% PreAcondition Ser4ices in t6e cart PostAcondition Add or select #a5$ent $ode /lo@ o% e4ents !se case ID + !se case na$e Onsite Pa5$ent Actor Online c(sto$er Sta%% PreAcondition Ser4ices in t6e cart PostAcondition Add or select #a5$ent $ode /lo@ o% e4ents !se case ID . !se case na$e "oo8 Ser4ices Actor Online c(sto$er Sta%% PreAcondition Ser4ices in t6e cart PostAcondition Add or select ser4ices /lo@ o% e4ents 1; RGIT M!M"AI De#art$ent o% M&A Object Oriented Modeling and Design WEDDING PLANNER SYSTEM
!se case ID 0 !se case na$e &ancel Order Actor Online c(sto$er Sta%% PreAcondition Ser4ices in t6e cart :eri%5 t6e d(e date PostAcondition &ancellation o% order /lo@ o% e4ents "' Acti8ity Diagram Acti4it5 diagra$ $odels t6e logic %ro$ @or8%lo@ to (se cases to $et6ods' It borro@s $ost o% t6e notations %ro$ t6e %lo@c6art b(t 6as added t6e conce#t o% conc(rrenc5 to s(##ort $an5 $odern a##lications' T6e arro@ traces t6e %lo@ %ro$ beginning to end t6ro(g6 decision and loo#s @6ile identi%5ing eac6 logic ste#s in t6e #rocess' Acti4it5 $odeling %oc(ses on t6e eBec(tion and %lo@ o% t6e s5ste$ rat6er t6an 6o@ it is i$#le$ented' T6e5 are a##licable to an5 t5#e o% be6a4ioral $odeling' Acti4it5 diagra$s ca#t(res acti4ities t6at are $ade (# o% s$aller actions' W6en (sed %or so%t@are $odeling acti4ities t5#icall5 re#resents a be6a4ior in4o8ed as a res(lt o% a $et6od call' Acti4it5 diagra$s are t5#icall5 (sed %or b(siness #rocess $odeling %or $odeling t6e logic ca#t(red b5 a single (se case or (sage scenario or %or $odeling t6e detailed logic o% a b(siness r(le' Alt6o(g6 !ML acti4it5 diagra$s co(ld #otentiall5 $odel t6e internal logic o% a co$#leB o#eration it @o(ld be %ar better to si$#l5 re@rite t6e o#eration so t6at it is si$#le eno(g6 t6at 5o( donGt re7(ire an acti4it5 diagra$' In $an5 @a5s !ML acti4it5 diagra$s are t6e objectAoriented e7(i4alent o% %lo@ c6arts and data %lo@ diagra$s <D/Ds= %ro$ str(ct(red de4elo#$ent' T6e easiest @a5 to 4is(ali-e an Acti4it5 diagra$ is to t6in8 o% a %lo@c6art o% a code' T6e %lo@c6art is (sed to de#ict t6e b(siness logic %lo@ and t6e e4ents t6at ca(se decisions and actions in t6e code to ta8e #lace' Acti4it5 diagra$s re#resent t6e b(siness and o#erational @or8%lo@s o% a s5ste$' An Acti4it5 diagra$ is a d5na$ic diagra$ t6at s6o@s t6e acti4it5 and t6e e4ent t6at ca(ses t6e object to be in t6e #artic(lar state' So @6at is t6e i$#ortance o% an Acti4it5 diagra$ as o##osed to a State diagra$J A State diagra$ s6o@s t6e di%%erent states an object is in d(ring t6e li%ec5cle o% its eBistence in t6e s5ste$ and t6e transitions in t6e states o% t6e objects' T6ese transitions de#ict t6e acti4ities ca(sing t6ese transitions s6o@n b5 arro@s' An Acti4it5 diagra$ tal8s $ore abo(t t6ese transitions and acti4ities ca(sing t6e c6anges in t6e object states' Acti4it5 diagra$s are (se%(l beca(seD 1' T6e5 re#resent t6e logic re7(ired to i$#le$ent s5ste$ be6a4iors' ,' T6e5 are si$#le eno(g6 to learn 7(ic8l5' *' Re#resents t6e logic at an5 le4el t6e design needs %ro$ s5ste$ @or8%lo@ to indi4id(al $et6od i$#le$entation' 11 RGIT M!M"AI De#art$ent o% M&A Object Oriented Modeling and Design WEDDING PLANNER SYSTEM
"'". Acti8ity diagram for Wedding Planner System /ig(re +', 1, RGIT M!M"AI De#art$ent o% M&A Object Oriented Modeling and Design WEDDING PLANNER SYSTEM
"- Class Diagram &lass diagra$ one o% t6e $ost co$$onl5 (sed diagra$s in objectAoriented s5ste$ $odels t6e static design 4ie@ %or a s5ste$' T6e static 4ie@ $ainl5 s(##orts t6e %(nctional re7(ire$ents o% a s5ste$ K t6e ser4ices t6e s5ste$ s6o(ld #ro4ide to t6e end (sers' We @ill see %ro$ o(r #ractical eB#erience t6at lots o% %(n co$es o(t @6en $odeling o(t s5ste$ @it6 class diagra$s' A class diagra$ s6o@s a set o% classes inter%aces and collaborations and t6eir relations6i#s' &lass diagra$s in4ol4e global s5ste$ descri#tion s(c6 as t6e s5ste$ arc6itect(re and detail as#ects s(c6 as t6e attrib(tes and o#erations @it6in a class as @ell' T6e $ost co$$on contents o% a class diagra$ areD 1' &lasses ,' Inter%aces *' &ollaborations +' De#endenc5 generali-ation and association relations6i#s .' Notes and constraints T6e class diagra$ $odels t6e de%inition o% reso(rces o% t6e s5ste$' T6e class diagra$ is t6e so(rce %or code generation and t6e target %or re4erse engineering' A class diagra$ is 4al(able beca(seD 1' It de%ines t6e essential reso(rces o% a s5ste$' ,' It de%ines t6e str(ct(re and be6a4ior o% t6e s5ste$' *' It s6o@s t6e association aggregation de#endenc5 in6eritance and relations6i#' +' It s6o@s t6e $(lti#licit5 and na4igation indicators' "-". 3D24/3F7 CLASS2S US34F 41U4 P,RAS2 APPR1AC, T6e #roble$ state$ent %or Online Wedding Planner S5ste$ is as %ollo@s Wedding #lanner is a @ebsite @6ere c(sto$er gets an o##ort(nit5 to select ser4ices t6at are re7(ired %or $a8ing 6is @edding a grand s(ccess' /irstl5 t6e c(sto$er 4isits t6e @ebsite and loo8s %or ser4ices t6at are #ro4ided b5 @edding #lanner s5ste$ s(c6 as 6all caterer in4itation card %lorist and decoration band 4ideo and #6otogra#65 and con4e5ance' T6e c(sto$er can boo8 t6ese ser4ices and also 6as a %acilit5 to cancel an5 o% t6ese ser4ices i% re7(ired' A%ter boo8ing 6eFs6e $a8es #a5$ent eit6er t6ro(g6 credit card or cas6' T6e online @edding #lanner s5ste$ also 6as sta%% t6at $anages s5nc6roni-ation bet@een ser4ices (#dates $odi%ies and adds ne@ ser4ices to t6e ser4er' /ro$ t6e gi4en #roble$ state$ent @e indenti%ied t6e no(ns as %ollo@s Wedding #lanner Sta%% &(sto$er Ser4ices Website 9all &aterer /lorist Decorator 1* RGIT M!M"AI De#art$ent o% M&A Object Oriented Modeling and Design WEDDING PLANNER SYSTEM
"-"' Class Diagram for Wedding Planner System /ig(re +'*', 1. RGIT M!M"AI De#art$ent o% M&A Object Oriented Modeling and Design WEDDING PLANNER SYSTEM
" 3nteraction Diagrams Interaction diagra$s describe t6e co$$(nication bet@een objects to acco$#lis6 so$e tas8 s(c6 as #lacing an order' In !ML t6e t@o t5#es o% interaction diagra$s are se7(ence diagra$ and collaboration diagra$' T6ese diagra$s $odel t6e d5na$ic as#ects o% t6e s5ste$' "". Se9uence Diagrams Se7(ence diagra$ is one 8ind o% interaction diagra$s @6ic6 s6o@s an interaction a$ong a set o% objects and t6eir relations6i#s' T6e #(r#ose o% t6e Se7(ence diagra$ is to doc($ent t6e se7(ence o% $essages a$ong objects in a ti$e based 4ie@' T6e sco#e o% a t5#ical se7(ence diagra$ incl(des all t6e $essage interactions %or a single (se case' T6e se7(ence diagra$ is (sed #ri$aril5 to s6o@ t6e interactions bet@een objects in t6e se7(ential order t6at t6ose interactions occ(r' M(c6 li8e t6e class diagra$ de4elo#ers t5#icall5 t6in8 se7(ence diagra$s @ere $eant eBcl(si4el5 %or t6e$' 9o@e4er an organi-ationPs b(siness sta%% can %ind se7(ence diagra$s (se%(l to co$$(nicate 6o@ t6e b(siness c(rrentl5 @or8s b5 s6o@ing 6o@ 4ario(s b(siness objects interact' "esides doc($enting an organi-ationPs c(rrent a%%airs a b(sinessAle4el se7(ence diagra$ can be (sed as a re7(ire$ents doc($ent to co$$(nicate re7(ire$ents %or a %(t(re s5ste$ i$#le$entation' D(ring t6e re7(ire$ents #6ase o% a #roject anal5sts can ta8e (se cases to t6e neBt le4el b5 #ro4iding a $ore %or$al le4el o% re%ine$ent' W6en t6at occ(rs (se cases are o%ten re%ined into one or $ore se7(ence diagra$s' Se7(ence Diagra$s are 4al(able beca(seD 1' T6e5 6a4e a narro@ %oc(s t6at 6el#s (s to see t6e s#eci%ic 7(estions co$$ands and data co$$(nicated d(ring t6e eBec(tion o% a s#eci%ic tas8' ,' T6e5 eB#licitl5 identi%5 t6e co$$(nication re7(ired to %(l%ill an interaction' T6e5 6el# (s to identi%5 t6e inter%aces re7(ired b5 t6e classes' *' T6e5 identi%5 t6e objects t6at ta8e #art in t6e interaction' T6e5 6el# (s to 4alidate t6e %eat(res o% a class' +' T6e5 identi%5 t6e data #assed as #art o% t6e interaction' 10 RGIT M!M"AI De#art$ent o% M&A Object Oriented Modeling and Design WEDDING PLANNER SYSTEM
"".". Se9uence Diagram for Registration /ig(re +'+'1 ""."' Se9uence Diagram for caterer 0oo*ing
11 RGIT M!M"AI De#art$ent o% M&A Object Oriented Modeling and Design WEDDING PLANNER SYSTEM
/ig(re +'+', ""."- Se9uence diagram for Decorator #oo*ing /ig(re +'+'* ""." Se9uence diagram for ,all #oo*ing 12 RGIT M!M"AI De#art$ent o% M&A Object Oriented Modeling and Design WEDDING PLANNER SYSTEM
/ig(re +'+'+ ""."+ Se9uence diagram for 3n8itation card #oo*ing /ig(re +'+'. ""."= Se9uence diagram for Cancellation 13 RGIT M!M"AI De#art$ent o% M&A Object Oriented Modeling and Design WEDDING PLANNER SYSTEM
/ig(re +'+'0 ""."> Se9uence diagram for ;ideo and p!otograp!y 0oo*ing /ig(re +'+'1 ""."( Se9uence diagram for Con8eyance ,; RGIT M!M"AI De#art$ent o% M&A Object Oriented Modeling and Design WEDDING PLANNER SYSTEM
/ig(re +'+'2 ""."? Se9uence diagram for Card Payment ,1 RGIT M!M"AI De#art$ent o% M&A Object Oriented Modeling and Design WEDDING PLANNER SYSTEM
/ig(re +'+'3 ""' Colla0oration Diagrams &ollaboration diagra$ is 4er5 si$ilar to a Se7(ence diagra$ in t6e #(r#ose it ac6ie4esE in ot6er @ords it s6o@s t6e d5na$ic interaction o% t6e objects in a s5ste$' A disting(is6ing %eat(re o% a &ollaboration diagra$ is t6at it s6o@s t6e objects and t6eir association @it6 ot6er objects in t6e s5ste$ a#art %ro$ 6o@ t6e5 interact @it6 eac6 ot6er' T6e association bet@een objects is not re#resented in a Se7(ence diagra$' A &ollaboration diagra$ is easil5 re#resented b5 $odeling objects in a s5ste$ and re#resenting t6e associations bet@een t6e objects as lin8s' T6e interaction bet@een t6e objects is denoted b5 arro@s' To identi%5 t6e se7(ence o% in4ocation o% t6ese objects a n($ber is #laced neBt to eac6 o% t6ese arro@s' &ollaboration diagra$s are 4al(able beca(seD 1' S6o@s t6e str(ct(ral re7(ire$ent %or co$#leting a tas8' T6e5 identi%5 t6e objects t6at #artici#ate in an interaction' ,' S6o@s t6e inter%ace re7(ire$ent %or a #artic(lar class' *' Identi%5 t6e data t6at is #assed as a #art o% t6e interaction' 2lements of a Colla0oration diagram A &ollaboration diagra$ consists o% t6e %ollo@ing ele$entsD Ele$ent and its descri#tion S5$bol ObjectD T6e objects interacting @it6 eac6 ot6er in t6e s5ste$' De#icted b5 a rectangle @it6 t6e na$e o% t6e object in it #receded b5 a colon and (nderlined' RelationFAssociationD A lin8 connecting t6e associated objects' Q(ali%iers can be #laced on eit6er end o% t6e association to de#ict cardinalit5' MessagesD An arro@ #ointing %ro$ t6e co$$encing object to t6e destination object s6o@s t6e interaction ,, RGIT M!M"AI De#art$ent o% M&A Object Oriented Modeling and Design WEDDING PLANNER SYSTEM
bet@een t6e objects' T6e n($ber re#resents t6e orderFse7(ence o% t6is interaction' ""'". Colla0oration diagram for #and #oo*ing /ig(re +'+'1; ""'"' Colla0oration diagram for Cancellation /ig(re +'+'11 ,* RGIT M!M"AI De#art$ent o% M&A Object Oriented Modeling and Design WEDDING PLANNER SYSTEM
""'"- Colla0oration diagram for Caterer #oo*ing /ig(re +'+'1, ""'" Colla0oration diagram for Decorator #oo*ing /ig(re +'+'1*
,+ RGIT M!M"AI De#art$ent o% M&A Object Oriented Modeling and Design WEDDING PLANNER SYSTEM
""'"+ Colla0oration diagram for ,all 0oo*ing /ig(re +'+'1+ ""'"= Colla0oration diagram for 3n8itation card 0oo*ing /ig(re +'+'1. ""'"> Colla0oration diagram for Login ,. RGIT M!M"AI De#art$ent o% M&A Object Oriented Modeling and Design WEDDING PLANNER SYSTEM
/ig(re +'+'10 ""'"( Colla0oration diagram for Payment /ig(re +'+'11 ""'"? Colla0oration diagram for Register ,0 RGIT M!M"AI De#art$ent o% M&A Object Oriented Modeling and Design WEDDING PLANNER SYSTEM
/ig(re +'+'12 ""'".@ Colla0oration diagram for ;ideo and p!otograp!y 0oo*ing /ig(re +'+'13 ""'".. Colla0oration diagram for Con8eyance /ig(re +'+',; ,1 RGIT M!M"AI De#art$ent o% M&A Object Oriented Modeling and Design WEDDING PLANNER SYSTEM
+'+','1, Colla0oration diagram for Card Payment /ig(re +'+',1 "+ State /ransition Diagrams T6e state transition diagra$ re#resents a single object' It s6o@s 6o@ eBternal %actors ca(se c6anges in t6e object o4er its li%eti$e' It ca#t(res t6e be6a4ior o% a so%t@are s5ste$' T6e5 #ro4ide an eBcellent @a5 o% $odeling co$$(nications t6at occ(rs @it6 eBternal entities 4ia a #rotocol or e4ent' State diagra$s are (sed to gi4e an abstract descri#tion o% t6e be6a4ior o% a s5ste$' T6is be6a4ior is anal5-ed and re#resented in series o% e4ents t6at co(ld occ(r in one or $ore #ossible states' 9ereb5 Ceac6 diagra$ (s(all5 re#resents objects o% a single class and trac8s t6e di%%erent states o% its objects t6ro(g6 t6e s5ste$C' T6e %ollo@ing are t6e basic notational ele$ents t6at can be (sed to $a8e (# a diagra$D 1' /illed circle #ointing to t6e initial state ,' 9ollo@ circle containing a s$aller %illed circle indicating t6e %inal state <i% an5= *' Ro(nded rectangle denoting a state' To# o% t6e rectangle contains a na$e o% t6e state' &an contain a 6ori-ontal line in t6e $iddle belo@ @6ic6 t6e acti4ities t6at are done in t6at state are indicated +' Arro@ denoting transition' .' T6ic8 6ori-ontal line @it6 eit6er BI1 lines entering and 1 line lea4ing or 1 line entering and BI1 lines lea4ing' T6ese denote joinF%or8 res#ecti4el5' State Transition diagra$s are 4al(able beca(seD 1' Identi%5 t6e s#eci%ic res#onses o% an object to e4er5t6ing t6at can 6a##en to t6e object' ,' Identi%ies @6at e4ents an object @ill and @ill not res#ond' *' :alidate t6e data needed to de%ine t6e state o% t6e object and t6e attrib(tes a%%ected b5 t6e c6ange' +' 9el#s in %inding t6e internal e%%ects o% be6a4ior t6at can not be seen (sing interaction based diagra$s' ,2 RGIT M!M"AI De#art$ent o% M&A Register :ie@ Ser4ices Signin :ie@ Detailed In%or$ation O% Ser4ices :ie@ 9all In%or$ation Select 9all Add 9all To &art Select &aterer Add &aterer To &art :ie@ card La5o(t Select &ard La5o(t In#(ts TeBt To "e Printed On &ard :ie@ &aterer In%or$ation /inalise &ard Add &ard To &art :ie@ Wor8 O% :ario(sDecorator Select a Decorator Add Decorator To &art :ie@ "and In%or$ation Select "and Add "and To T6e &art :ie@ Sa$#le O% :ario(s P6oto Parlo(rs Select P6oto Parlo(r Add P6oto Parlo(r To &art :ie@ "oo8ing Details Select a Ser4ice to be &anceled &ancel Ser4ice /inalise Ser4ices Re4isits /or Adding More Ser4ices To &art Ma8e Pa5$ent :ie@ Ot6er Ser4ices Signo(t :ie@ co4e5ance Add con4e5ance to cart Select &on4e5ance Object Oriented Modeling and Design WEDDING PLANNER SYSTEM
"+". State /ransition diagram for Wedding Planner System /ig(re +'. ,3 RGIT M!M"AI De#art$ent o% M&A Object Oriented Modeling and Design WEDDING PLANNER SYSTEM
"= Component Diagrams T6e co$#onent diagra$ re#resents #ieces o% so%t@are in t6e i$#le$entation en4iron$ent' It $odels t6e i$#le$entation 4ie@ o% t6e so%t@are' We can (se co$#onent to re#resent so(rce code RML or an5 #iece o% so%t@are' W6en (sing large so%t@are s5ste$ it is co$$on to brea8 t6e so%t@are in to $anageable s(bs5ste$s' In !ML co$#onent classi%ier re#resents t6is' A co$#onent is a re#laceable eBec(table #iece o% larger s5ste$ @6ose i$#le$entation details are 6idden' T6e %(nctionalit5 #ro4ided b5 a co$#onent is s#eci%ied b5 a set o% #ro4ided inter%aces t6at t6e co$#onent reali-es' In addition to #ro4iding inter%aces a co$#onent $a5 re7(ire inter%aces in order to #er%or$' T6ese are called re7(ired inter%aces' &o$#onents are designed to be re(sed' &o$#onent diagra$ are 4al(able beca(se t6e5D 1' Model t6e real so%t@are in t6e i$#le$entation en4iron$ent' ,' T6e5 bring %or@ard con%ig(ration iss(es t6ro(g6 t6e de#endenc5 relations6i#s' *' T6e5 #ro4ide an acc(rate #ict(re o% eBisting s5ste$s #rior to $a8ing c6anges or en6ance$ents' "=". Component Diagram for Wedding Planner System Web "ro@ser HHG!III Wedding Planner S5ste$ HHIN/RASTR!&T!REII MY SQL /ig(re +'0 *; RGIT M!M"AI De#art$ent o% M&A &lient &o$#(ter Ser4er Database 9TTP T&PFIP MD"& T&PFIP Web "ro@ser Ser4er catalog MY SQL Ma4a A##let Ma4a ser4er Object Oriented Modeling and Design WEDDING PLANNER SYSTEM
"> Deployment Diagram T6e de#lo5$ent diagra$ $odels t6e 6ard@are o% t6e i$#le$enting en4iron$ent' Eac6 node on a de#lo5$ent diagra$ t5#icall5 re#resents t6e t5#e o% 6ard@are s(c6 as dis8 dri4e a client P& a ser4er or a #rocessor' A node $a5 also re#resent a 6($an being or organi-ational (nit' Nodes are li8e classes' T6e5 re#resent a t5#e o% de4ice not a s#eci%ic de4ice and t6e %eat(res o% eac6 de4ice' Li8e classes t6e5 are related (sing association t6at eB#lains 6o@ t6e nodes $a5 be connected' De#lo5$ent diagra$s $odels t6e $a##ing o% so%t@are #ieces o% a s5ste$ to t6e 6ard@are t6at is going to eBec(te it' So%t@are ele$ents are t5#icall5 $ani%ested (sing arti%acts and are $a##ed to t6e 6ard@are called nodes' De#lo5$ent diagra$s are 4al(able beca(seD 1' T6e5 $odel t6e 6ard@are #lat%or$ %or a s5ste$' ,' Identi%5 6ard@are ca#abilities t6at a%%ects #er%or$ance #lanning and so%t@are con%ig(ration' ">". Deployment Diagram for Wedding Planner