Implementation Model: Vinay Kumar Singh Mca B6
Implementation Model: Vinay Kumar Singh Mca B6
model
1
• Implementation modeling
includes following steps
• Fine-tuning classes.
• Fine-tuning generalizations.
• Realize associations.
• Prepare for testing.
2
Fine-tuning
generalizations
3
TranslationConce TranslationConcept
pt
Languag
Phrase
e Language Phrase
string
name name string
Majorlanguage Minorlanguage
4
Realizing Associations
• Associations are the “glue” of the
class model, providing access paths
between objects.
• Here we must formulate a strategy
for implementing them.
• Either we can choose a global
strategy for implementing all
associations uniformly, or we can
select a particular technique for each
associations. 5
Analyzing Associations
Traversal
Person company
Implementation:
Person Company
Employer
8
Two-way Associations
Many associations are traversed in
both . directions. There are three
approaches to their implementations.
• Implement one-way.
• Implement two-way.
• Implement with an association
object.
9
• Implement two-way
Person Company
employer employees
Set
10
• Implement with an association object
:Person
WorksFor
:Person
:Compan
y
:Person
:Person :Compan
y
:Person
11
Advanced Associations
• The appropriate technique for
implementing advanced associations
are
• Associations classes.
• Ordered associations.
• Sequences.
• Bags.
• Qualified associations.
• N-ary associations.
• Aggregation.
• Composition.
12
Thank
you
13