






















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!























Structural Modeling: Core Elements
(cont’d)
Reference: OMG tutorial on UML by Cris Kobryn
association a relationship between two or more classifiers that involves connections among their instances.
aggregation A special form of association that specifies a whole-part relationship between the aggregate (whole) and the component part. generalization a taxonomic relationship between a more general and a more specific element.
dependency a relationship between two modeling elements, in which a change to one modeling element (the independent element) will affect the other modeling element (the dependent element).
Structural Modeling: Core Relationships
Reference: OMG tutorial on UML by Cris Kobryn
Interfaces: Longhand Notation
+create() +login(UserName, Passwd) +find(StoreId) +getPOStotals(POSid) +updateStoreTotals(Id,Sales) +get(Item)
-storeId: Integer -POSlist: List
Store
POSterminal
POSterminalHome
<
StoreHome
POSterminal
+getPOStotals(POSid) +updateStoreTotals(Id,Sales) +get(Item)
<
Reference: OMG tutorial on UML by Cris Kobryn
Person
Manages
Job Company
boss
worker
employer employee
Job
Account
Person
Corporation
{X or}
salary
Reference: OMG tutorial on UML by Cris Kobryn
Shape
Polygon Ellipse Spline
Shape
Polygon Ellipse Spline
Shared Target Style
Separate Target Style
... ...
Reference: OMG tutorial on UML by Cris Kobryn
«friend»
ClassA ClassB
ClassC
«instantiate»
«call»
ClassD
operationZ()
«friend»
ClassD ClassE
«refine» ClassC combines two logical classes
Reference: OMG tutorial on UML by Cris Kobryn
Structural Modeling: Core Elements
(cont’d)
Reference: OMG tutorial on UML by Cris Kobryn
association a relationship between two or more classifiers that involves connections among their instances.
aggregation A special form of association that specifies a whole-part relationship between the aggregate (whole) and the component part. generalization a taxonomic relationship between a more general and a more specific element.
dependency a relationship between two modeling elements, in which a change to one modeling element (the independent element) will affect the other modeling element (the dependent element).
Structural Modeling: Core Relationships
Reference: OMG tutorial on UML by Cris Kobryn