JCRMemberMapping jcrMember = pmdm.getJCRMember();
//
if (jcrMember instanceof JCRPropertyMapping) {
JCRPropertyMapping jcrProperty = (JCRPropertyMapping)jcrMember;
JCRPropertyPropertyMapper bilto = new JCRPropertyPropertyMapper((SingleValuedPropertyInfo<SimpleValueInfo>)pm.getInfo(), jcrProperty.getName());
propertyMappers.add(bilto);
} else if (jcrMember instanceof JCRNodeAttributeMapping) {
JCRNodeAttributeMapping nam = (JCRNodeAttributeMapping)jcrMember;
propertyMappers.add(new JCRNodeAttributePropertyMapper((SingleValuedPropertyInfo<SimpleValueInfo>)pm.getInfo(), nam.getType()));
}