ROStatusChange (RootEntry root, String path, boolean status) { Entry e = root.getEntry(path); ROStatusChange result = new ROStatusChange(nextId(), path, e.isReadOnly()); e.setReadOnly(status); return result; }