« Back to University of Namur & University of Stockholm Project

Is it possible to check if an instance is inside another instance on an ADO

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Is it possible to check if an instance is inside another instance on an ADOscript level ?

RE: Is it possible to check if an instance is inside another instance on an
Answer
4/11/14 12:36 PM as a reply to Anonymous.
This is possible through an implicit relation called "Is inside" that is provided at platform level. The prerequesite is that the container class is inherited from "__D_aggregation__". The "Is inside" relation auto-connects objects that are inherited as instances from any class (inherited from "__D_construct__") with the respective container. This can be validated using e.g. AQL queries.