wiki:PRO_REGISTRY_PARENT_CHILD_R0
Last modified 3 years ago Last modified on 01/07/09 21:46:13

Pages linking to PRO_REGISTRY_PARENT_CHILD_R0:
TASK_INDEX

Ticket Summary Owner Status Type Component Priority Effort Importance
#188 PRO_REGISTRY_PARENT_CHILD_R0 peko closed planned_task PRO_LIB_ENTITIES 3 1 10

Reported by Astea, 4 years ago.

Description

wiki page: PRO_REGISTRY_PARENT_CHILD_R0 - effort: 1d

Analysis_owners

peko

Analysis_reviewers

gogov

Analysis_score

3.5

Design_score

0

Imp._score

0

Test_score

0

Analysis

Overview

The aim of this task is to improve the relation parent<=>child that has been constructed with the aim of the @Own annotation.

Task requirements

  • Misuse detection:
    • a method with an @Own annotation should not return a property containing non-pro object.
  • Multiple same children with a particular parent:
    • same children should be possible to be added in a parent.
    • if one of it is removed from the parent the other should remain in the registry.
  • Unit test for the above scenarios should be provided.

Task result

  • source code.

Implementation idea

  • review the ObjectProperty and the ListProperty classes and add some more things.
  • review the OwnershipRegistry class and fix it to meet the requirements above.
  • write a unit test.

How to demo

  • run the unit tests that have been resulted from the task.

Design

Implementation

(Implementation results should be described and linked here (from the wiki or the repository))

Testing

Comments

(Write comments for this or later revisions here.)