//return all the instantiations
for(int i=0; i< children.length;i++){
if (children[i] instanceof EntityInstElement) {
//do not add recursive children
EntityInstElement e = (EntityInstElement)children[i];
if(e.GetEntityName().toUpperCase().equals(arch.GetEntityName().toUpperCase())==false){
childInstantiations.add(e);
}
}
if (children[i] instanceof ComponentInstElement) {
//do not add recursive children