if (propname == null) { if (propertiesRel != null) return propertiesRel.otherType; if (parentMapping != null) return parentMapping.getPropertyMapping (null); }  Relation rel = (Relation) prop2db.get (propname.toLowerCase());
Relation rel = getPropertyRelation (propname);
    public DbMapping getPropertyMapping (String propname) {	if (propname == null) {	    if (propertiesRel != null)	        return propertiesRel.otherType;	    if (parentMapping != null)	        return parentMapping.getPropertyMapping (null);	}	Relation rel = (Relation) prop2db.get (propname.toLowerCase());	if (rel != null) {	    // if this is a virtual node, it doesn't have a dbmapping	    if (rel.virtual && rel.prototype == null)	        return null;	    else	        return rel.otherType;	}	if (propertiesRel != null)	    return propertiesRel.otherType;	if (parentMapping != null)	    return parentMapping.getPropertyMapping (propname);	return null;    }