freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

第5講細(xì)化階段與領(lǐng)域模型(編輯修改稿)

2024-08-16 12:21 本頁(yè)面
 

【文章內(nèi)容簡(jiǎn)介】 ) : M o n e y. . .S a l ed a t e: D a t es t a r t T i m e : T i m eg e t T o t a l ( ) : M on e y. . .P a y s f o rU P D o m a i n M o d e lR a w U M L c l a s s d i a g r a mn o t at i on u s e d i n a ne s s e n t i a l m o de lv i s ua l i z i n g r e a l w o r l dc o n c e p t s .U P D e s i g n M o d e lR a w U M L c l a s s d i a g r a mn o t at i on u s e d i n as p e c i f i c a t i o n m o d elv i s ua l i z i n g s o f t w a r ec o m p on e n t s .1 111上海交通大學(xué)計(jì)算機(jī)科學(xué)與工程系 2022/8/17 49 ?與類相關(guān)的術(shù)語(yǔ) ? 概念類 ? 軟件類 ? 設(shè)計(jì)類 ? 實(shí)現(xiàn)類 ? 類 上海交通大學(xué)計(jì)算機(jī)科學(xué)與工程系 2022/8/17 50 降低表示鴻溝 Payment amount Sale date time Paysfor Payment amount: Money getBalance(): Money Sale date: Date startTime: Time getTotal(): Money . . . Paysfor UP Domain Model Stakeholder39。s view of the noteworthy concepts in the domain. UP Design Model The objectoriented developer has taken inspiration from the real world domain in creating software classes. Therefore, the representational gap between how stakeholders conceive the domain, and its representation in software, has been lowered. 1 1 1 1 inspires objects and names in 上海交通大學(xué)計(jì)算機(jī)科學(xué)與工程系 2022/8/17 51 例子 ? NextGen POS初步的領(lǐng)域模型 S t o r eR e g i s t e r S a l eI t e mP a y m e n tS a l e sL i n e I t e mC a s hi e r C u s t om e r M an a g e rP r o d u c tC a t a l o gP r o d u c tS p e c i f i c a ti o n上海交通大學(xué)計(jì)算機(jī)科學(xué)與工程系 2022/8/17 52 領(lǐng)域模型 amp。UP ?初始化階段一般不建議構(gòu)造領(lǐng)域模型 ?領(lǐng)域模型主要是在細(xì)化階段的迭代中構(gòu)建的,此時(shí)我們需要理解重要的概念,并把某些在設(shè)計(jì)中映射為軟件類 上海交通大學(xué)計(jì)算機(jī)科學(xué)與工程系 2022/8/17 53 業(yè)務(wù)對(duì)象模型 ?業(yè)務(wù)對(duì)象模型 描述整個(gè)業(yè)務(wù)的企業(yè)模型,用以支持業(yè)務(wù)過程重組或者再工程 ?領(lǐng)域模型只是業(yè)務(wù)對(duì)象模型的一個(gè)子集 上海交通大學(xué)計(jì)算機(jī)科學(xué)與工程系 2022/8/17 54 G l o s s ar yS o f t w a r eA r c h i t e c t u r e D o c .D o m a i nM od e lR e q u ir e m e n t sP r o je c tM a n a g e m e n tB u s in e s sM o d e lin gD e s ig nS a m pl e U P A r t i f a c t sP a r t i al a r t i f a c ts ,r e f i n e d i n e ac hi te r a t i on .T e s tT e s tP l anS o f t w a r eD e v . P l a n. . .U s e C a s e M o de lt e x tu s ec a s e s: S y s t e mf o o ( x )s y s t e mo p er at i o nc o n t r a c t ss y s t e ms e q u e nc ed i a g r a m st e r m s , c o n c e p t sa t t r i b u t e s ,a s s o c i at i o nss t a t e c h a n ge s i nd o m a i n o b j e c t s ,a t t r i b u t e s ,a s s o c i at i o nse l a b o r a t i o n ofs o m e te r m s i nt h e d o m ai nm od e ls o f t w a r e c l a s s e s i nt h e d o m ai n l a y e r o ft h e d e s i g n ta k ei ns p i r a t i on f r o m th en a m e s , a t t r i bu t e s ,a n d a s s o c i a ti o n s i nt h e d o m ai n m o d e lb a r ( y )u s ec a s ed i a g r a m s**D e s i g n M o d e lE n v ir o n m e n tD e v el o p m e n tC a s e上海交通大學(xué)計(jì)算機(jī)科學(xué)與工程系 連接 :增加關(guān)聯(lián) 上海交通大學(xué)計(jì)算機(jī)科學(xué)與工程系 2022/8/17 56 ?在領(lǐng)域模型中識(shí)別關(guān)聯(lián) ?區(qū)別那些必須知道的關(guān)聯(lián)和僅僅為了理解的關(guān)聯(lián) 上海交通大學(xué)計(jì)算機(jī)科學(xué)與工程系 2022/8/17 57 什么是關(guān)聯(lián) ? ?關(guān)聯(lián)時(shí)類型(更精確地說,是這些類的實(shí)例)之間的關(guān)系,表示有意義和值得關(guān)注的連接 S a l eRe g i s t e rRe c o r d s c u r r e n t1 1a s s o c i a t i o n上海交通大學(xué)計(jì)算機(jī)科學(xué)與工程系 2022/8/17 58 ?世界萬(wàn)物都是相關(guān)的 ?如果我們有 n 個(gè)類,將會(huì)有 n(n1)個(gè)關(guān)聯(lián) ?我們只添加那些 : ? 如果存在需要保持一段時(shí)間的關(guān)系,將這種語(yǔ)義表示為關(guān)聯(lián)(“需要記住”的關(guān)聯(lián)) ? 可以從常見關(guān)聯(lián)列表中派生的關(guān)聯(lián) 上海交通大學(xué)計(jì)算機(jī)科學(xué)與工程系 2022/8/17 59 表示法 Sale Register Recordscurrent ? 1 1 association name multiplicity 閱讀方向箭頭 沒有其他含義,只是表示閱讀關(guān)聯(lián)標(biāo)記的方向 通常省略 上海交通大學(xué)計(jì)算機(jī)科學(xué)與工程系 2022/8/17 60 關(guān)聯(lián)的方向 ? 關(guān)聯(lián)可以是單向的,也可以是雙向的 ? 給定一個(gè)訂單,我們可以找到與該訂單相關(guān)的客戶,相反如果給定一個(gè)客戶,不能夠找到訂單 Order Customer * 1 上海交通大學(xué)計(jì)算機(jī)科學(xué)與工程系 2022/8/17 61 角色 ?關(guān)聯(lián)的每一端稱為一個(gè)角色 對(duì)象類 對(duì)象類 限定符 關(guān)聯(lián) 對(duì)象類 多重性 角色名:類 限定符 角色名:類 多重性 關(guān)聯(lián)名 name Multiplicity expression navigability 上海交通大學(xué)計(jì)算機(jī)科學(xué)與工程系 2022/8/17 62 多重性 ?多重性 Multiplicity 定義了類 A有多少實(shí)例可以和類 B的一個(gè)實(shí)例關(guān)聯(lián) I t emS t or eS t oc k s*m u l t i pl i c i t y o f t h e r o l e1上海交通大學(xué)計(jì)算機(jī)科學(xué)與工程系 2022/8/17 63 zero or more。 many one or more one to 40 exactly 5 T T T T * 1.. * 1..40 5 T 3, 5, 8 exactly 3, 5, or 8 上海交通大學(xué)計(jì)算機(jī)科學(xué)與工程系 2022/8/17 64 ?多重性的指標(biāo)是在特定的時(shí)刻(而不是在某個(gè)時(shí)間跨度內(nèi))有效關(guān)聯(lián)的實(shí)例數(shù)量。 ?如何定義多重性的值 ? Item Store Stocks ? 1 or 0..1 * 上海交通大學(xué)計(jì)算機(jī)科學(xué)與工程系 2022/8/17 65 命名關(guān)聯(lián) S t o r eC o n t a i n sP er s o nA i r l i n eE mp l o y s1 . .*S al eR e g i s t e rC a p t u r e s1 . .*1 . .*P ay me n tP ai d b y1F l i g h tA s s i g n e d t oP l a n e*? A s s i g n e d t o*S up e r v i s e s*11111 11上海交通大學(xué)計(jì)算機(jī)科學(xué)與工程系 2022/8/17 66 ?常見關(guān)聯(lián)表 ? Physical part of ? Logical part of ? Member of ? …… ?高優(yōu)先級(jí)的關(guān)聯(lián) ? A is a physical or logical part of B ? A is physically or logically contained in/on B ? A is recorde
點(diǎn)擊復(fù)制文檔內(nèi)容
范文總結(jié)相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1