Changes between Version 51 and Version 52 of PRO_LIB_CORE_TUTORIAL
- Timestamp:
- 07/15/09 19:25:24 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PRO_LIB_CORE_TUTORIAL
v51 v52 530 530 * Sets the parent() Property of the Person hold by the jesus() Property, to the concrete Meddle instance. 531 531 * And also makes sure that other Meddles cannot "own" the same jesus(). [[BR]] 532 These two things actually mean that that ''each Meddle has its oooown... peeeersonal... jeeesus''. [[BR]]532 These two things actually mean that that each Meddle has its Own jesus. [[BR]] 533 533 Another thing to mention it is not mandatory to manually declare ParentProperties in @Owned ProObjects if you don't want to use the parent link but guarantee that the ProObjects is @Owned only by one parent. Currently the ProLib doesn't work like that though it will be fixed very soon because this should be true.[[BR]] 534 534 Also note that though ProLib automatically sets the ParentProperties with correct values, it happens at a later stage, after the creation of the ProObject instance, so if you use the ParentProperty inside the ProObject's constructor, for instance, PArentProperty will still be null. And this is normal! You should have this in mind and write code which takes into consideration both cases and acts adequately.