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 !!!!...");
  }
}

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 !!!!..." ) ; } }
unmarsall a named entity .
