logger.error(message);
throw new MolgenisModelException(message);
}
// create the matrix object and put it in the model
Matrix matrix = new Matrix(element.getAttribute("name"), model.getDatabase());
matrix.setCol(element.getAttribute("col"));
matrix.setRow(element.getAttribute("row"));
matrix.setContentEntity(element.getAttribute("content_entity"));
matrix.setContainer(element.getAttribute("container"));
matrix.setColEntityName(element.getAttribute("col_entity"));
matrix.setRowEntityName(element.getAttribute("row_entity"));
matrix.setContent(element.getAttribute("content"));
logger.debug("read: " + matrix.toString());
}