}
public void createChildren(DataModel parent, ArrayModel children) {
if (children.getSize() > 0) {
DataModel model = children.getDataModel(0);
DatabaseTableMapping mapping = JdbcConnectionHandler.instance().getDatabaseTableMapping(model.getClass().getName());
try {
mapping.createChildren(children);
} catch (Exception e) {
e.printStackTrace(); //TODO
}
}
}