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?
thanx in advanace,
Usman