if (rel != null && rel.groupby == null && rel.accessor != null) return (IPathElement) nmgr.getNode (this, name, rel);
if (rel != null && rel.groupby == null && rel.accessor != null) { if (rel.otherType != null && rel.otherType.isRelational ()) return (IPathElement) nmgr.getNode (this, name, rel); else return (IPathElement) getNode (name, false); }
    public IPathElement getChildElement (String name) {	if (dbmap != null) {	    // if a dbmapping is provided, check what it tells us about	    // getting this specific child element	    Relation rel = dbmap.getExactPropertyRelation (name);	    if (rel != null)	        return (IPathElement) getNode (name, false);	    rel = dbmap.getSubnodeRelation ();	    if (rel != null && rel.groupby == null && rel.accessor != null)	        return (IPathElement) nmgr.getNode (this, name, rel);	    return (IPathElement) getSubnode (name);	} else {	    // no dbmapping - just try child collection first, then named property.	    IPathElement child = (IPathElement) getSubnode (name);	    if (child == null)	        child = (IPathElement) getNode (name, false);	    return child;	}    }