ניתוח ועיצוב מערכות תוכנה אביב 2012

43
תתתתת תתתתתת תתתתתת תתתתת תתתת2012 םםםםםם םםםםם םםםםםם םםםםםם1

description

ניתוח ועיצוב מערכות תוכנה אביב 2012. מתיאור מערכת לתרשים מחלקות. A Reminder: What's In Our Modeller's Toolbox?. Class Diagram Class Association Self association Aggregation Composition Dependency Object Diagram Association Qualifiers Association Class Inheritance (Generalization). - PowerPoint PPT Presentation

Transcript of ניתוח ועיצוב מערכות תוכנה אביב 2012

OOAD111 - PS03

2012 1A Reminder: What's In Our Modeller's Toolbox?Class DiagramClassAssociationSelf associationAggregationCompositionDependencyObject DiagramAssociationQualifiersAssociation ClassInheritance (Generalization)2Review of:EnumerationsData TypesAssociation ClassesSelf-Association2A Reminder: What's In Our Modeller's Toolbox?EnumerationsData TypesAssociation ClassesSelf-Association3

, (Link) . - -Visual Paradigm ( ).3A Reminder: What's In Our Modeller's Toolbox?EnumerationsData TypesAssociation ClassesSelf-Association4 - " . :public abstract class Entity{ public Coordinate location;}

public class Coordinate{ int x; int y;} - .

4A Reminder: What's In Our Modeller's Toolbox?EnumerationsData TypesAssociation ClassesSelf-Association5

-Visual Paradigm !Association Class . , ! , .5A Reminder: What's In Our Modeller's Toolbox?EnumerationsData TypesAssociation ClassesSelf-Association6

"" .: , ' (= ).6Modus Operandi: Divide and ConquerRead entire story once.Advance sentence by sentence and model.Read ahead only if you need clarification.Change design whenever needed basing on new data.Iterative work do and fix and do and fix and do andSubmit.7

7 . . , . , . ( ) , , , . , , , . , . " . 8 . . , . , . ( ) , , , . , , , . , . . 9 : ( Association Class)." " . Aggregation?

. . , . , . ( ) , , , . , , , . , . . 10

"" (Appointment). . . ? , . . . , . , . ( ) , , , . , , , . , . . 11

, . ( ) , , , . , , , . , . . 12

: . (, ...) (, ...) .

. . ( ) , , , . , , , . , . . 13

?

( ?) ( ) , , , . , , , . , . . 14

? ! , . . 15

- , . int . " . 16

" ( , )." "" : . 17

: . " . ( ).

( ). ( ). . , . ( Enumerations.)

( ) Refactoring " " .

http://en.wikipedia.org/wiki/Code_refactoringhttp://he.wikipedia.org/wiki/Refactoring :18 '' . . ., ( ). . . , . . , . . . . . : , , , , . . : , , . " , , , , ( ). , . " , , , , ( , ). " , , . " , , ' .1919 '' .

, . .2020 '' .

. -: , , . "" ? ? ? (*..0) ? (*..0)

.21

21 '' .

. , " X Y" .22

22 '', ( ).

! . , -enum . -?23

23 '', ( ).

, : " , , . " , , ' .

.24

24 '', ( ).

, : " , , . " , , ' .

.25

25 '' .

. : . ( ). . , . . ( .)

!26

26 '' . , . . , .27

27 '' . . . . : , , , , . . : , , .

( ). . - "" .28

28 '' " , , , , ( ). , .2929 ''30

30 '' " , , , , ( , ).3131 ''32

, . (Enum ...).32 '' " , , . " , , ' .

! "" - .

: . . . ... .

3333 -Abstract II34

34 -Abstract II35

VP "" .

3536

36 - . . " , , ( ). " . , . ' , . . : , , , . . : , . ( ). . , . . - (/-). . , , , .37 - . .

38

- " , , ( ). " .39

- , . ' , . . : , , , . .

. : ( ), (=) !!!40

- : , . ( ). . , . . - (/-).

- -Business.41

- . , , , .42

. , , , .43