powerDownload, filename, nickname, downloadId);
powerDownload, filename, nickname, downloadId, herkunft);
    private Object getDownloadSourceObject(NodeList nodes) {        int downloadFrom;        int downloadTo;        int actualDownloadPosition;        int speed;        int downloadId;        Version version = null;        String versionNr = null;        String nickname = null;        int queuePosition;        int os;        Element e = (Element) nodes.item(0);        int id = Integer.parseInt(e.getAttribute("id"));        String temp = e.getAttribute("status");        int status = Integer.parseInt(temp);        temp = e.getAttribute("directstate");        int directstate = Integer.parseInt(temp);        if (status == DownloadSourceDO.UEBERTRAGUNG) {            temp = e.getAttribute("downloadfrom");            downloadFrom = Integer.parseInt(temp);            temp = e.getAttribute("downloadto");            downloadTo = Integer.parseInt(temp);            temp = e.getAttribute("actualdownloadposition");            actualDownloadPosition = Integer.parseInt(temp);            temp = e.getAttribute("speed");            speed = Integer.parseInt(temp);        }        else {            downloadFrom = -1;            downloadTo = -1;            actualDownloadPosition = -1;            speed = 0;        }        versionNr = e.getAttribute("version");        if (versionNr.compareToIgnoreCase("0.0.0.0") == 0) {            version = null;        }        else {            temp = e.getAttribute("operatingsystem");            os = Integer.parseInt(temp);            version = new Version(versionNr, os);        }        temp = e.getAttribute("queueposition");        queuePosition = Integer.parseInt(temp);        temp = e.getAttribute("powerdownload");        int powerDownload = Integer.parseInt(temp);        String filename = e.getAttribute("filename");        nickname = e.getAttribute("nickname");        temp = e.getAttribute("downloadid");        downloadId = Integer.parseInt(temp);        DownloadSourceDO downloadSourceDO = new DownloadSourceDO(id, status,            directstate, downloadFrom, downloadTo,            actualDownloadPosition, speed, version, queuePosition,            powerDownload, filename, nickname, downloadId);        return downloadSourceDO;    }