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);
      }
    }
  }
}

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 ) ; } } } }
populates the primitive property of the entity with the relevant field value .
