Detects
model object
s that have been removed from their
containing resource
and/or their
containing object
and turns them as well as all their directly and indirectly contained objects into proxies. This
offers the following benefits:
- After removal of an
model object
from its container, all other model object
s that
are still referencing the removed model object
will know that the latter is no longer available but
can still figure out its type and URI
.
- If a new
model object
with the same type as the removed one is added to the same container again
later on, the proxies which the other model object
s are still referencing will be resolved as usual
and therefore get automatically replaced by the newly added model object
.
- In big models, this approach can yield significant advantages in terms of performance because it helps avoiding
full deletions of
model object
s involving expensive searches for their cross-references and those of
all their directly and indirectly contained objects. It does all the same not lead to references pointing at
"floating" model object
s, i.e., model object
s that are not directly or indirectly
contained in a resource.