if (ncpmpm.isOwner()) {
JCRNamedChildParentPropertyMapper bilto = new JCRNamedChildParentPropertyMapper((SingleValuedPropertyInfo<BeanValueInfo>)pm.getInfo(), ncpmpm.getName());
relatedProperties.get(pmhm.getRelatedType()).add(bilto);
propertyMappers.add(bilto);
} else {
JCRChildNodePropertyMapper bilto = new JCRNamedChildPropertyMapper((SingleValuedPropertyInfo<BeanValueInfo>)pm.getInfo(), ncpmpm.getName());
relatedProperties.get(ncpmpm.getRelatedType()).add(bilto);
propertyMappers.add(bilto);
}
}
}