Changes between Version 52 and Version 53 of PRO_LIB_CORE_TUTORIAL
- Timestamp:
- 07/15/09 19:26:26 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PRO_LIB_CORE_TUTORIAL
v52 v53 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 Own jesus. [[BR]]533 532 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 533 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.