Ed Leafe wrote: > On Jul 11, 2008, at 4:17 PM, Paul McNett wrote: > >> dBizobj doesn't have a Children property, but instead a getChildren() >> method that returns the list of child bizobjs. >> >> I propose adding a Children property and deprecating getChildren(), >> which would make dBizobj consistent with the rest of Dabo container >> objects in this regard. > > No strong feelings either way, but I can't think of any situation > where I would need to iterate or otherwise reference a bizobj's child > objects. In fact, I don't think we need it at all. It's only > referenced once in all of Dabo; most other references use the private > __children attribute. The idea is that the children are not meant to > be addressed by the outside world. > > Do you have a need to address bizobj children outside of the bizobj?
I was helping someone off-list, and wanted to make sure that the parent biz was showing the correct child. I think it could help mostly in an educational way, by exposing the list of children in a read-only property. Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
