private void setRelationshipType(Element ele, DozerBuilder.FieldMappingBuilder definitionBuilder) {
        RelationshipType relationshipType = null;
        if (StringUtils.isNotEmpty(getAttribute(ele, RELATIONSHIP_TYPE))) {
            String relationshipTypeValue = getAttribute(ele, RELATIONSHIP_TYPE);
            relationshipType = RelationshipType.valueOf(relationshipTypeValue);
        }
        definitionBuilder.relationshipType(relationshipType);
    }
Builds object representation of mappings based on content of Xml document

@return mapping container
core/src/main/java/com/github/dozermapper/core/loader/xml/XMLParser.java