code: public void fillPrimitiveProperty(Object entity, Set<String> keySet, StructuralProperty property, Field field,
                                        String node, Map<String, Object> map) throws ODataException {
          for (String target : keySet) {
              if (node.equalsIgnoreCase(target)) {
                  Object value = getFieldValueByType(property.getTypeName(), target, map, false);
                  if (value != null) {
                      setFieldValue(field, entity, value);
                      break;
                  } else {
                      LOG.warn("There is no element with name '{}'", node);
                  }
              }
          }
      }
docs: Populates the primitive property of the entity with the relevant field value.
  
  @param entity   the entity
  @param keySet   the set of entity properties
  @param property the primitive property
  @param field    the Java field
  @param node     the current node
  @param map      the map of field values
  @throws ODataException If unable to fill primitive properties