Jump to content

Exclusive relationship (programming)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Sandstein (talk | contribs) at 20:06, 4 November 2008 (Wikipedia:Articles for deletion/Exclusive relationship closed as no consensus). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computing, an exclusive relationship is a type of Relationship in computer data base design.

In Relational Database Design, in some cases the existence of one kind of relationship type precludes the existence of another. Entities within an entity type A may be related by a relationship type R to an entity in entity type B or entity type C but not both. The relationship types are said to be mutually exclusive. Usually both relationship types will have the same name.

Example

A Data (Entity A) could be Sent (Relationship Name) to a Monitor (Entity B) or a Printer(Entity C) to be shown. In this case the relationship between the Monitor and Printer at one side and Data at the other side is an Exclusive Relationship. Of course it is assumed that Data could be sent to only on of the targets at a time, not to both.

     --- Sent_To ---> Monitor
 Data 
     --- Sent_To ---> Printer

References

  • Jan L. Harrington, Relational Database Design Clearly Explained, Morgan Kaufmann, 2002, ISBN 1558608206, pages 354-355