if (pmvm instanceof ManyToOneMapping) {
if (pmvm instanceof NamedManyToOneMapping) {
NamedManyToOneMapping nmtovm = (NamedManyToOneMapping)pmvm;
LinkType linkType = relationshipToLinkMapping.get(nmtovm.getType());
if (linkType != null) {
JCRNamedReferentPropertyMapper blah = new JCRNamedReferentPropertyMapper(
(SingleValuedPropertyInfo<BeanValueInfo>)pm.getInfo(),
nmtovm.getRelatedName(),
linkType
);
propertyMappers.add(blah);