downloadSourceDO.setHerkunft(Integer.parseInt((String)userAttributes.get("source")));
    private void checkUserMap(DownloadSourceDO downloadSourceDO, Map userAttributes){        downloadSourceDO.setStatus(Integer.parseInt((String)userAttributes.get("status")));        downloadSourceDO.setDirectstate(Integer.parseInt((String)userAttributes.get("directstate")));        downloadSourceDO.setDownloadFrom(Integer.parseInt((String)userAttributes.get("downloadfrom")));        downloadSourceDO.setDownloadTo(Integer.parseInt((String)userAttributes.get("downloadto")));        downloadSourceDO.setActualDownloadPosition(Integer.parseInt((String)userAttributes.get("actualdownloadposition")));        downloadSourceDO.setSpeed(Integer.parseInt((String)userAttributes.get("speed")));        downloadSourceDO.setQueuePosition(Integer.parseInt((String)userAttributes.get("queueposition")));        downloadSourceDO.setPowerDownload(Integer.parseInt((String)userAttributes.get("powerdownload")));        downloadSourceDO.setFilename((String)userAttributes.get("filename"));        downloadSourceDO.setNickname((String)userAttributes.get("nickname"));        String versionNr = (String)userAttributes.get("version");        int os = Integer.parseInt((String)userAttributes.get("operatingsystem"));        if (!versionNr.equals("0.0.0.0") && os != -1) {            Version version = new Version(versionNr, os);            downloadSourceDO.setVersion(version);        }    }