Table 3.
The effects of deletions and replacements on nested objects.
If the parent is: | And the child is: | The result is: |
---|---|---|
Deleted | Deleted | Both the parent and child are removed from the model. Any references to either object are invalid and must be removed. |
Deleted | Replaced | Both the parent and child are removed from the model. Any references to the child object are now considered to refer to its replacement object. Any references to the parent object are invalid and must be removed. |
Replaced | Deleted | Both the parent and child are removed from the model. Any references to the parent object are now considered to refer to its replacement object. Any references to the child object are invalid and must be removed. |
Replaced | Replaced | Both the parent and child are removed from the model. References to the parent object are now considered to refer to the parent’s replacement, and any references to the child object are now considered to refer to the child’s replacement. |