This page last changed on Apr 29, 2007 by scytacki.

View Entries

  • otObjectClass
  • otViewClass
  • otAuthorEntry
  • otReportEntry

the otAuthorEntry and otReportEntry are optional references to other view entries.

If one class wants to implement all 3 functions, it should make 2 inner classes one for each of the functions. And then make 2 more view entries pointing to these classes.

Alternative approachs

One way to implement the 3 functions in one class is to add 2 new interfaces: OTAuthorView and OTReportView. And the interfaces would have a getAuthorComponent and getReportComponent. This would make it easy to implement, but:

  • if one classes does this and the author wants to reference one of these alternative functions directly there would need to be a special referencing mechanism invented.
Document generated by Confluence on Jan 27, 2014 16:52