| 1 | [[BackLinksMenu]] |
| 2 | |
| 3 | [[TicketQuery(summary=PRO_REGISTRY_PARENT_CHILD_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|)]] |
| 4 | |
| 5 | = Analysis = |
| 6 | |
| 7 | == Overview == |
| 8 | |
| 9 | The aim of this task is to improve the relation parent<=>child that has been constructed with the aim of the @Own annotation. |
| 10 | |
| 11 | == Task requirements == |
| 12 | |
| 13 | * Misuse detection: |
| 14 | * a method with an @Own annotation should not return a property containing non-pro object. |
| 15 | * Multiple same children with a particular parent: |
| 16 | * same children should be possible to be added in a parent. |
| 17 | * if one of it is removed from the parent the other should remain in the registry. |
| 18 | * Unit test for the above scenarios should be provided. |
| 19 | |
| 20 | == Task result == |
| 21 | * source code. |
| 22 | |
| 23 | == Implementation idea == |
| 24 | * review the !ObjectProperty and the !ListProperty classes and add some more things. |
| 25 | * review the !OwnershipRegistry class and fix it to meet the requirements above. |
| 26 | * write a unit test. |
| 27 | |
| 28 | == Related == |
| 29 | * [wiki:CORE_ADDITIONS_R0] |
| 30 | |
| 31 | == How to demo == |
| 32 | * run the unit tests that have been resulted from the task. |
| 33 | |
| 34 | = Design = |
| 35 | |
| 36 | = Implementation = |
| 37 | ^(Implementation results should be described and linked here (from the wiki or the repository))^ |
| 38 | |
| 39 | = Testing = |
| 40 | |
| 41 | = Comments = |
| 42 | ^(Write comments for this or later revisions here.) |