DidlDomain parent;
if (item.getParent() != null) {
parent = map.getDidl(item.getParent().getId());
// remove child
final FileDomain file = item.getFile();
changed = parent.removeChild(item);
didlDao.store(parent);
// item.setFile(null);
// item.setParent(null);
// item.setReference(null);
// for (DidlDomain ref : item.getReferences()) {