MOF2I 2.0 MAILINGLIST Avatar
  1. OMG Issue

MOF2I2 — RefCCMBaseObject and RefBaseObject

  • Key: MOF2I2-30
  • Legacy Issue Number: 9160
  • Status: closed  
  • Source: Fraunhofer FOKUS ( Michael Soden)
  • Summary:

    RefCCMBaseObject and RefBaseObject should contain a ref_get_label() operation.
    Source:
    Michael Soden, soden@ikv.de
    Summary:
    Unfortunately the MOF2.0 Core like MOF1.4 fails explicitly model a property as the label of an instance of a class. It provides the isID flag but this cannot always be used to display class instances reflectively. For example, when modeling a "Library", a "Book" would have a "bookID" and "title". While the "bookID" may be flagged with isID=true, this may not be user friendly for a reflective client displaying a book.
    Therefore I suggest the introduction of a ref_label() operation in the RefCCMBaseObject and RefBaseObject interfaces as well as a standard optional Tag whose value should denote the property to use as a label. The modeler can attach such a tag to a class so that the ref_label() method can be implemented accordingly in the class' derived interface.

  • Reported: MOF2I 2.0b1 — Tue, 15 Nov 2005 05:00 GMT
  • Disposition: Resolved — MOF2I 2.0
  • Disposition Summary:

    closed no chage

  • Updated: Fri, 6 Mar 2015 20:52 GMT