home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / object / 3474 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.8 KB  |  44 lines

  1. Newsgroups: comp.object
  2. Path: sparky!uunet!walter!porthos!dancer!haim
  3. From: haim@dancer.uucp (24103-kilov)
  4. Subject: Re: Object-Oriented Methodologies - Class Specifications
  5. Organization: Bellcore, Livingston, NJ
  6. Date: Tue, 8 Sep 92 15:58:34 GMT
  7. Message-ID: <1992Sep8.155834.26665@porthos.cc.bellcore.com>
  8. References: <1992Sep6.003055.2236@tfs.com> <graham.715829976@galois> <1992Sep7.034245.602@tfs.com>
  9. Sender: netnews@porthos.cc.bellcore.com (USENET System Software)
  10. Lines: 32
  11.  
  12. Eric Smith says:
  13.  
  14. The trick is to see that relationships are themselves objects.  For example,
  15. the ways a line and a circle can relate to each other are the line-circle
  16. relationship, which is a subclass of the two-geometric-figure relationship.
  17. Intersections are a feature of geometric figures, and the intersections of
  18. a line and a circle are a feature of the line-circle-relationship subclass
  19. of the two-geometric-figure relationship.
  20. ---
  21.  
  22. Of course! And, moreover, a relationship is defined exactly like any other
  23. class is defined, i.e., by using available operations. Note that these
  24. operations will be jointly owned by more than one object class (in this
  25. example, by a line and a circle...).
  26.  
  27. And an operation is defined by appropriate pre- and postconditions that act
  28. within the context specified by an invariant.
  29.  
  30. This approach is close to the one used in the OSI Managed Relationship 
  31. Draft Standard.
  32.  
  33. We use it for a while in information modeling, and we have a library of
  34. generic relationships used for this purpose (dependencies, compositions,
  35. references, "traditional" (Chen-like) relationships, etc. The framework
  36. of this approach is described in "The Framework" (of course), a Bellcore
  37. publication, and in some papers at conferences like TOOLS '91, TINA '92, etc.
  38.  
  39. Hope this helps.
  40.  
  41. -Haim Kilov
  42. haim@bcr.cc.bellcore.com      or
  43. haim@dancer.cc.bellcore.com
  44.