ManyToOne manyToOneAnn = propertyInfo.getAnnotation(ManyToOne.class);
RelationshipType type = manyToOneAnn.type();
//
if (type == RelationshipType.HIERARCHIC) {
RelationshipMapping hierarchyMapping = new ManyToOneMapping(bvi.getTypeInfo(), RelationshipType.HIERARCHIC);
PropertyMapping<RelationshipMapping> manyToOneMapping = new PropertyMapping<RelationshipMapping>(propertyInfo, hierarchyMapping);
propertyMappings.add(manyToOneMapping);
} else {
MappedBy mappedBy = propertyInfo.getAnnotation(MappedBy.class);
if (mappedBy == null) {