.


:




:

































 

 

 

 


UML'-




(UML - UnifiedModelingLanguage)^ "".UML,,.

UML-:Web-.

UML迿,:,񳺿.UML-,,..

UML[2,4,32,57,75]:,,.

- ,.³';.

UML:,,,.

'-.ǿ.

-UML. ,,..

         
 
   
 
 
   

Window
originsize
open0 close() move() display()

(Class)- ',,..,',(.7.5).

.7.5.
Spelling .7.6. - ""~~-- / .7.7. -

(Interface) -(),., .;(),-.,'(.7.6)..,.

.7.8.

(Collaboration) ,,,.,,.;,,.,,'(.7.7).

(Usecase) -,,(Actor)...,'(.7.8).

 
 

EvenManager
suspend()flush()
.7.9.

-,-:',,.,'-,. (Activeclass) ,',(Threads),.,,',.,,ຳ',(.7.9).,,- - .,'-.

overform.java

(Component) -쳭,

.7.10. ӳ.

.7.11.

,+JavaBeans,,,,.,,,,.,'(.7.10). (Node) -(),

,

䳺,','.,.,'(.7.11).

ֳ-,,,,,,-,UML.: ,, (), (), ,,,, ().

(Behavioralthings) UML.䳺:.- .

(Interaction)- ,(Messages)'.䳿,'., , (,)''.,(.7.12).

._ (Statemachine) --

³

,,'
.7.12.
^'

䳿,䳿.

.'
: , (-
I. ) ), 䳿 (,)

().-.7.13.

,',,(.7.13.).

ֳ---,UML.',-,'.

UML.,.- .

(Packages) .,ⳳ,,.,-.7.14. ,,.,,,', - (.7.14).

-,UML., (Frameworks), .

-UML.,-

.

.7.15.

- (Note).

,.,(.7.15).-,UML,.,,,-

.

UML : ,,,.

ֳ'UML.

(Dependency)

. ,쳭
,,-
.7.16.

,.-

,(.7.16).

(Association) -,';'-''.

г (Aggregation). .(,),,,..7.18.

(Generalisation) -"/",'

()
.7.17.
'
().,
(Child)
(Parent).
0...1*

,(.7.17).

__.., (Realization)- -

.7.18.

,"",

.³:-,-.7.19.

,-,-

.

³,(.7.19).

(,,볭),UML.,, (Refinement), (Trace), ().

ijUML -,' (-) ().

ij.ij,,-.,,,.,(),().-.,':,',,,,,,,.

,,',.'-.³.ij,,.

' '."",.ij',,,.

(),.ij..

ij ୺䳿. '';,,,'.ijອ䳿. ij Ⳮ, - ',.ֳ躳,.

(Statechartdiagrams) ,,,䳿.ij,,;',,.

ij䳿- ;.ij䳿;'.

..䳭,,,

,.

.ij.',"".

,UML.,'.

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

LJML,:

, ,;

䳿 (,');

(쳳
);

(
);

().

UML : '(Specifications),(Adornment),(Commondivisions),(Extensibilitymechanisms).

UML-. , .

,,

(),.,,,.UML,UML-迿.UML,,.,UML,.

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

,,,.,.

,.7.20,,,.LJML,-

___.

.7.20.
'-

,,

.,'. -, -.UML-178

,'(.7.21).

UML쳺/'.,,,..',,'-.

 

 

 

Customer Jan:
NameAdressPhone  
:Customer
 
  Elyse

.7.21. '

.7.21Customer(볺)':Jan:('),:Customer('Customer)Elyse(Customer,).

 
 


Unknown

Spellingwizard.dll

1Spelling

.7.22.

.,'.UML,賿(.7.22.),Spellingwizard.dllUnknown1Spelling.

UML쳺/.,,-.

. UML--

..UML,.UML:

-;

-;

-.

(Stereotype) -UML,ⳳ,...7.23Overflow.

(Taggedvalue) UML,..7.23.,EvenQueue.


 

 

 

 

 

    EventQueue{version=3.2author=egb}  
"exception"    
Overflow  
  Add()---.Remove()

{}

.7.23.

(Constraints)- UML,.,,EvenQueue,䳿..7.23,,Add.

,,,--

鳳糿.-:

- ;

- ,,;

- ,䳿;

-
;

- ,
:,,
'.

迿-,,,,,,,,.'',򳿿.

/. (Usecaseview) ,,,.UML,-䳿.

2. (Designview) ,
,.
UML
',-䳿.

3. (Processview) ,
.UML
,
,
,.

J

4. (Implementationview)
,
.UML
,-䳿.

5. (Deploymentview) ,
,.
,-
䳿.

,.ֳ,,䳿.UML :

-(Software
RequirementSpecification,SRS),
,-(
);

- (UseCase) -볭
(
);

- (ClassDiagram)
䳿';
';

- (CollaborationDiagram)
.

. (SoftwareRequirementSpecification,SRS) :

- ;

- ;
;

- 䳿;

- ,
;

- .

,,..,,,[3.2].

,.,,.', , ,泳.

',:

()-
;

-
,;

-XML,;

-,
.

,:

';

,
;

(
);

;


;

,,;

'
;


;

;

;

,,,;

,
;

,XML,
,,,
,;

XML-
,
;


,,
.

ϳ , .--

'(),.:,,-,.

,..,'..7.3.

ϳ..7.24.,,: , includes, , extends. ³ ,,,.,(.7.25).,.,.

7.3.

 

,,- ,',³.ij,
,,- -.,,.
, .,,,.
,.

  ,,,
,.,.
- - -,
- -,.,
XML-.,

-



.7.24.



 

.7.25.

(),.,,...7.26,.

"extend^

\

.7.26. ³""

,,.,,.򳺿,.䳭..7.27.





 

.7.27.ij

, , 򳺿,.,,.,.,.

. ,',.188

.
.,,
.,
.

.
.

³,,.ProductCatalog().

,, (.7.4).

,.,-.,,',.

7.4. ,

 

²
(,),',,,
(,),,,,,,,
(,),,,,,,
,,,,,,,


',.,',,.

',.,,,-.,

189

..,.

,,:Employee(),Manager(),Order(),Orderltem(),ProductCatalog(),Product().

,,., . ,୺.

,Purchaser(UI)(),(,).,,䳺,.

(.7.28),.

Puchaser(UI)

Employee

ProductCatalog

Product

 

DepartmentManager

Order

Orderltem

.7.28.

.',..

Employee,',,,,.

,,',..7.5.

.7.29 ⳿. DepartmentManager,Employee.

-, ..

,().

7.5.

 

-
   
Employee( EmployeelD() Integer
) LoginName(') String
  Password() String
  Department(³) String
  FirstName(') String
  LastName() String
Manager() EmployeelD() Integer
  LoginName(') String
  Password() String
  Department(³) String
  Order() String
  FirstName(') String
  LastName() Long
Order() OrderNumber() Date
Orderltem OrderDate() String
(- Status.(CTaTyc) String
) ProductNumber() Short
  Quantity(ʳ) Decimal
Product() UnitPrice(ֳ) String
  ProductNumber() String
  ProductName()Description String
  () Decimal
  UnitPrice(ֳ) String
  VendorCode()  
ProductCatalog( .  
)    

,.

Puchaser(Ul)

ProductCataloq

 

Employee

Order

Product

 

EmployeelDilnteger

LoginName.String

Departament.String

FirstName:String

LastName.String

OrderNoilntegerOrderDateiDateTime

OrderNumber

ProductNo:StringProductName:String

 

DepartmentManager

ProductNo-.String

Quantity:lnteger

UnitPrice:Real

.7.29. ij⳿,

.7.30.dz ,.

Employee

Order

.7.30.EmployeeOrder

,,EmployeeDepartmentManager,.DepartmentManager᳭,,Employee,..7.31.

Employee

DepartmentManager

.7.31. DepartmentManagerEmployee

:

Employee-Order;

Order-Employee;

ProductCatalog-
Product;

Product-ProductCatalog;

Orderltem-Product;

Product-Orderltem.
̳OrderOrderltem.

,DepartmentManager-Employee,..7.32.

ProductCatalog

Product

 

               
 
   
 
 
     

\/Urderltemh'arf

 

 

 

     
       
    Employee ""jOrder
     
Puchaser(Ul)  
       
1 DepartmentManager  
     

Orderltem

.7.32. ij,

, ອ䳿. .. .

1. '.

2. '.

3. .

4. ,
.

5. '.

䳿1-5,.ӳ..

1.'.

2. '.

3. .

4. ,
.

5.
().

6. '.

7. ,.

..7.33.

,',.: (-194

䳿') ('')..7.34.Purchaser(UI)Loqin()Employee,...

1. ,.

2. ,
,.

3. .

()

^]

[]

[].7.33. ij

,(CategoryList)ProductCatalog.

PuchaserѲ):

Employee:

Loqin

"俿11"""^"UoqTnj.7.34. ij

Purchaser(UI).ProductCatalog.ij,.7.35,Purchaser(Ul)ProductCatalog

.

1,
.

2.
(),.

Puchaser(UP:

ProductCatalog:

.7.35. ij

3. ,.

4. ,
,.

,AddltemOrder.(ProductNO)(Quantity),-(SubTotai).Order,,OrderItem,Orderltem.(OrderlD),,Submit Order Order.ij.7.36.

,,,.𳿳.ϳ,, (.7.37).

CreateOrderltem_AddItem(ProductNO,Quantity)(ProductID,Quantity)^

SubTotai

SubmitOrder

*r-i

 

Orderl

.7.36. ij

Employee

EmployeelD:!integerLoginName:StringDepartament.StringFirstName:StringLastName:String

 

 

 

 

 

 

    Product
ProductCataJog   FroductNo.Stnng
ListProducts()   Category:DiscriptioUnilPriceVendorCc Stringn:String
      Stringde:Slring
Order    
     
OrderNo:IntegerOrderDate.DateTime OrderltemPart  
Addltem()   Orderltem
Removeitem()SubmitOrder() <JV► * ProductNo:StringQuantily:Inteqer
        UmtPrice.Real
           





:


: 2016-11-18; !; : 428 |


:

:

, .
==> ...

1798 - | 1622 -


© 2015-2024 lektsii.org - -

: 0.228 .