ISQS7338--DCD

S le a s le l et m a s in i e t e dt t e im ae im lin

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ae im lin I e s: S le L et m1. ] et m a s in I e [ . * o r lin I e s: S le L et m1. ] { r ee } et m a s in I e [ . * od r d .. . .. . .. . T owy t s o a w as o h w c lle t nat ib t o cio t r ue S le a S le L et m a s in I e t e Dt T e im: ae im .. . Figure 16.4 1. .* .. . lin I e s et m { r ee , L t . . od r d is} . n t et a a a s c t ne dc no t n llya o oic h t n s o iaio n a pio a ls h v apo et sr gs c a { r ee , L t a e r p ry t in u h s od r d is} 4) Add method names —from interaction diagrams —model class & interaction diagrams in parallel :Rg t r e ise : Sle a m e am t c s Tn ee ) a Py e ( ah e d r d k n m e am t c s Tn ee ) a Py e ( ah e d r d k n m s g si in r cio e a e n t at n s e d ga sin ic t o ea n ia r m d a p r t s e io in h c s d ga s t e las ia r m Rg t r e ise .. . m e am t … a Py e ( ) k n .. . Sle a 1 c re t a ur n l Se .. . m e am t( ) a Py e … k n .. . c se las s id n ie in h et d t e if in r cio t at n e d ga sae ia r m r dc r d t e elae in h c s d ga s las i r m a Parameters, return types optional? —readability vs. code generation Method body pseudo-code also optional Rr e g ie s t «h m e» td o / so e si lngO / e-d a c aa K p c o pcge uor e d f i ui s p veIm y u o t t (,t) b i ned l i de i q c r { P te tn c a . t o D tn ru s i d= lgP te i (; o D o s co ru s o) dc cr i pe t gd c i ae c r i pd sm e (st; a anm q l. k I d y eet e ) Le c i , } . . . ea nl( d) S e eImy ne ,t tt (q ei r d) m w) ae l( kS ea Ne m y taer) aa ns n d k m hd ee P ( Te c e 5) Add associations and navigability —Navigability implies visibility of attribute does What attributes ProductCatalog implicitly contain? How does navigability clarify this design? 6) Adding dependency relationships l Indicates that one element has knowledge of another element l I.e., a change in specification of one thing may affect another thing that uses it, but not necessarily the reverse l A dashed directed line l Typically non-attribute visibility between classes What does dependency add to this DCD? t e a h sp r m e v i ilt t a h Sle a aa e r i...
View Full Document

Ask a homework question - tutors are online