Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Role Definition
Message
De
10/03/1999 13:37:18
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Role Definition
Divers
Thread ID:
00195986
Message ID:
00195986
Vues:
40
Have an interesting situation. I have a table of entities that relate to one another in several different ways. One entity may be the parent of another and a child of another. One entity may be related to several different entities.

I resolved this by creating a role table which defines the role in a particular relationship. Another table, a join table, contains key values from the two related entities and a key to the role table.

Unlike most data relationships where the relational role is implicit in the structure of the application, I have to get explicit. Due to confidentiality, I can't get into further details, but I was wondering:

How would this sort of situation be defined in an OOAD Analysis Model? I sort of went directly to the Implementation Model without abstract definition.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform