warn(" Fixing matrix " + m.getId());
// Map matrixDataType -> matrixKind
{
Collection<MatrixKind> mks = matrixService.findSomethingByString(MatrixKind.class, "description", matrixDataType);
MatrixKind mk = null;
if (mks.isEmpty()) {
warn("Unknown MatrixKind '" + matrixDataType + "'; skipping it");
/* // Or you can manufacture a fresh one here, which is not normally allowed
* // Note that mk.setDescription is private, so you will have to make it public to use this code
* // 20090320 MJD