tree.setReadOnly(Boolean.parseBoolean(readonly));
}
// ENTITY
// TODO: whould have expected this in the constructor!
DBSchema entity = model.getDatabase().getChild(element.getAttribute("entity"));
if (entity == null)
{
throw new MolgenisModelException("Could not find the specified entity '"
+ element.getAttribute("entity") + "'");
}