code: private Object unmarshallEntityByName(String entityName, Map<String, Object> map,
                                            Object currentNode) throws ODataException {
          LOG.debug("Entity '{}' created.", entityName);
          if (!isNullOrEmpty(entityName)) {
              Object entity = loadEntity(entityName);
              setEntityProperties(entity,
                      JsonParserUtils.getStructuredType(entityName, entityDataModel), map, currentNode);
              LOG.debug("Entity '{}' properties mapped successfully.", entityName);
              return entity;
          } else {
              throw new ODataUnmarshallingException("Unmarshalling Entity name should be null !!!!...");
          }
      }
docs: Unmarsall a named entity.
  
  @param entityName  the entity to unmarshall
  @param map         the map of field values
  @param currentNode the node to process
  @return the value object of the unmarshalled entity
  @throws ODataException If unable to unmarshall entity by name