For nested types, I am setting the containing class to be the container entity of the nested class. I am trying to create a Tree View for my Moose entities. So, I have
Namespace
   Namespace
   Class
       Method ....
(Just to see my results are correct...)

Earlier I was using downcast to change container entity into a Namespace. That allowed me to navigate from a parent namespace to a child namespace using Namespace.getChildScope(). However, Container entity does not allow me to perform this navigation as the only thing available with ContainerEntity is belongsTo. My question is: Why cannot we ascertain the containing elements of a ContainerEntity?
you mean the conainED elements of an container?
Because you were talking of navigating from a parent namespace to a child ...

in containerEntity you have 'types' that gives you its childs
thanx in advanace,

Usman

_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev